AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
135.3k stars 25.83k forks source link

[Bug]: Lora Tab doesn't display all Lora in Folder #13380

Open cyril-duss opened 9 months ago

cyril-duss commented 9 months ago

Is there an existing issue for this?

What happened?

Not all Lora/Lycoris from the folder are avaliable for selection in the Lora Tab, presumable due to the amount of Lora present in the Folder, the Lora do work normally though even if not avaliable in the search

Steps to reproduce the problem

  1. Have more than ~670 Lora (that's where the cutoff seems to be)
  2. Scroll to bottom
  3. arrive at end of list way before all loras were listed, loras that are below that point are also not searchable image

What should have happened?

The list should continue until all Lora are displayed

Sysinfo

OS Name Microsoft Windows 10 Pro Version 10.0.19045 Build 19045 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Name 2014-PCKAI System Manufacturer ASUS System Model All Series System Type x64-based PC System SKU All Processor Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz, 3501 Mhz, 6 Core(s), 12 Logical Processor(s) BIOS Version/Date American Megatrends Inc. 1901, 10/08/2015 SMBIOS Version 2.8 Embedded Controller Version 255.255 BIOS Mode UEFI BaseBoard Manufacturer ASUSTeK COMPUTER INC. BaseBoard Product X99-DELUXE BaseBoard Version Rev 1.xx Platform Role Desktop Secure Boot State On PCR7 Configuration Binding Not Possible Windows Directory C:\WINDOWS System Directory C:\WINDOWS\system32 Boot Device \Device\HarddiskVolume3 Locale United Kingdom Hardware Abstraction Layer Version = "10.0.19041.2728" Username 2014-PCKAI\Cyril Time Zone W. Europe Summer Time Installed Physical Memory (RAM) 24.0 GB Total Physical Memory 23.9 GB Available Physical Memory 5.76 GB Total Virtual Memory 46.9 GB Available Virtual Memory 8.78 GB Page File Space 23.0 GB Page File C:\pagefile.sys Kernel DMA Protection Off Virtualisation-based security Running Virtualisation-based security required security properties
Virtualisation-based security available security properties Base Virtualisation Support, Secure Boot, DMA Protection Virtualisation-based security services configured
Virtualisation-based security services running
Device Encryption Support Reasons for failed automatic device encryption: TPM is not usable, PCR7 binding is not supported, Hardware Security Test Interface failed and the device is not Modern Standby, Un-allowed DMA-capable bus/device(s) detected, TPM is not usable A hypervisor has been detected. Features required for Hyper-V will not be displayed.

What browsers do you use to access the UI ?

Mozilla Firefox, Google Chrome, Microsoft Edge, Other

Console logs

Already up to date.
venv "E:\Safe\niche\AI test\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Launching Web UI with arguments: --xformers
Civitai Helper: Get Custom Model Folder
[-] ADetailer initialized. version: 23.8.0, num models: 9
2023-09-24 22:23:47,267 - ControlNet - INFO - ControlNet v1.1.410
ControlNet preprocessor location: E:\Safe\niche\AI test\stable-diffusion-webui\extensions\sd-webui-controlnet\annotator\downloads
2023-09-24 22:23:50,311 - ControlNet - INFO - ControlNet v1.1.410
Loading weights [9c94d47603] from E:\Safe\niche\AI test\stable-diffusion-webui\models\Stable-diffusion\Meinabondage Control.safetensors
Creating model from config: E:\Safe\niche\AI test\stable-diffusion-webui\configs\v1-inference.yaml
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\sd-webui-regional-prompter\scripts\rp.py:75: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  areasimg = gr.Image(type="pil", show_label  = False).style(height=256,width=256)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:397: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  canvas_image = gr.Image(source='upload', mirror_webcam=False, type='numpy', tool='color-sketch',
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:471: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\stable-diffusion-webui-two-shot\scripts\two_shot.py:471: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'columns' in the constructor instead.
  visual_regions = gr.Gallery(label="Regions").style(grid=(4, 4, 4, 8), height="auto")
[VRAMEstimator] Loaded benchmark data.
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:243: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  bench_run_btn = gr.Button("Run benchmark", variant="primary").style(full_width=False)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:243: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  bench_run_btn = gr.Button("Run benchmark", variant="primary").style(full_width=False)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:244: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  load_results_button = gr.Button("Load results").style(full_width=False)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\a1111-stable-diffusion-webui-vram-estimator\scripts\vram_estimator.py:244: GradioDeprecationWarning: Use `scale` in place of full_width in the constructor. scale=1 will make the button expand, whereas 0 will not.
  load_results_button = gr.Button("Load results").style(full_width=False)
Loading VAE weights specified in settings: E:\Safe\niche\AI test\stable-diffusion-webui\models\VAE\color101VAE_v1.pt
Civitai Shortcut: v1.6.6
Civitai Shortcut: shortcut update start
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\model_preset_manager\scripts\main.py:446: GradioDeprecationWarning: 'scale' value should be an integer. Using 0.1 will cause issues.
  with gr.Column(min_width=100, scale = 0.1):
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\model_preset_manager\scripts\main.py:463: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  model_generation_data = gr.Textbox(label = model_generation_data_label_text(), value = "", lines = 3, elem_id = "def_model_gen_data_textbox").style(show_copy_button=True)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\model_preset_manager\scripts\main.py:466: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  triggerWords = gr.CheckboxGroup([], multiselect=True, label="Trigger Words", interactive = True).style(container=True, item_container=True)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\model_preset_manager\scripts\main.py:466: GradioDeprecationWarning: The `item_container` parameter is deprecated.
  triggerWords = gr.CheckboxGroup([], multiselect=True, label="Trigger Words", interactive = True).style(container=True, item_container=True)
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\model_preset_manager\scripts\main.py:493: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  output_textbox = gr.Textbox(interactive=False, label="Output").style(show_copy_button=True)
E:\Safe\niche\AI test\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioDeprecationWarning: `height` is deprecated in `Interface()`, please use it within `launch()` instead.
  res = original_IOComponent_init(self, *args, **kwargs)
Civitai Shortcut: shortcut update end
Applying attention optimization: xformers... done.
E:\Safe\niche\AI test\stable-diffusion-webui\extensions\stable-diffusion-webui-Prompt_Generator\scripts\prompt_generator.py:229: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  row.style(equal_height=True)
Model loaded in 107.5s (load weights from disk: 2.6s, create model: 0.8s, apply weights to model: 93.7s, apply half(): 2.3s, load VAE: 5.4s, move model to device: 0.2s, calculate empty prompt: 2.4s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 182.4s (prepare environment: 15.7s, import torch: 17.8s, import gradio: 6.3s, setup paths: 5.5s, initialize shared: 1.2s, other imports: 5.8s, setup codeformer: 0.7s, setup gfpgan: 0.2s, list SD models: 0.9s, load scripts: 20.2s, initialize extra networks: 0.4s, create ui: 106.7s, gradio launch: 1.1s).

Additional information

No response

Link5501 commented 9 months ago

Try turning off the "Show description on card" option in Additional Network

cyril-duss commented 9 months ago

Try turning off the "Show description on card" option in Additional Network

That actually fixed it thank you, Though ofc it's probably still a bug overall

Loui2 commented 9 months ago

Try turning off the "Show description on card" option in Additional Network

THANK YOU! This also fixed my issue of Lora list not populating entirely.

Impre-visible commented 8 months ago

I tried that, but it didn't solved the problem. I'm on ubuntu 22.04

maxmazeart commented 8 months ago

The problem is most likely that in the new version models like lora should be in the path folder D:\stable-diffusion-portable-main\models\Lora in my situation they were along the way D:\stable-diffusion-portable-main\models\Stable-diffusion and were not displayed in the lore section

Impre-visible commented 8 months ago

All my models are in the Lora path folder. So not sure

jdmoser1 commented 6 months ago

Not sure if this bug is still being watched. I found that LoRAs are hidden if they are incompatible with the SD version of the current model. So, I am using SDXL, and only the XL LoRAs are showing up for me. (The ones that were hidden were for SD 1.x) You can confirm this by going into Settings / Extra Networks / ^ Always show all networks on the Lora page (otherwise, those detected as for incompatible version of Stable Diffusion will be hidden)

JerryNew99 commented 3 months ago

I was having the same issue and tried disabling "Show description on card" option in Additional Network and that didn't it. What did fix it was copying a lora path as it shoe in the empty lora tab and pasted the on a new internet tab and now everything shows in the lora tab as it should be