New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Drop down menu of ´Add Lora to prompt´ does nont have a ´none´ selection and always charge the last Lora selected #9041
Comments
dont use it, it is broken, use extra-network as your only solution, if you use that dropdown menu lora, somehow you forget it, and you get unexpected result, that will drive you mad for hours...then you figure out it is that silly thing :) just use extra network that red little button to choose and add as tag |
@bryanray yeah well the fking UI remembers the LORA you selected from last session or something and now it's impossible to make it blank again even after compeltely restarting PC or stable diffusion |
The non official solution for me so far was deleting the config.json and cache.json files it works well but keep and error on the load of imagine generation that I dont now what is doing or afecting because the images are still generating in stable difussion. so it willl be better start over again. |
The way I solve it was by adding It should be like: You can also manualy add |
great solution |
Ive tried all of the above tips and it still doesnt work. There is always one lora selected I dont even know how to solve this anymore... |
modify "sd_lora": "None", in the config.json works |
I tried to modify config.json and lora_script.py but it didn’t work, lora is still there. |
For people that are still with difficulties, see if you have any Extensions that would keep the configuration, such as Unfortunantely you might have to do these steps:
built-in extensions are considered safe and are not needed to be in this test. |
I was thinking about how to solve this problem, and luckily I solved it. Here's a workaround.
|
What's the point of points 5, 6 and 7? It will work with steps 1, 2, 3, and 4. |
Is there an existing issue for this?
What happened?
The Drop down menu of ´Add Lora to prompt´ does nont have a ´none´ selection and always charge the last Lora selected I created a ´blank´ Lora, and works but show a error in the process,
activating extra network lora: SafetensorError
Traceback (most recent call last):
File "M:\00000 001 PORTAFOLIO\00001 STABLE DIFFUSION\stable2xformerson\stable-diffusion-webui\modules\extra_networks.py", line 85, in activate
extra_network.activate(p, [])
File "M:\00000 001 PORTAFOLIO\00001 STABLE DIFFUSION\stable2xformerson\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "M:\00000 001 PORTAFOLIO\00001 STABLE DIFFUSION\stable2xformerson\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 214, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "M:\00000 001 PORTAFOLIO\00001 STABLE DIFFUSION\stable2xformerson\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 133, in load_lora
sd = sd_models.read_state_dict(filename)
File "M:\00000 001 PORTAFOLIO\00001 STABLE DIFFUSION\stable2xformerson\stable-diffusion-webui\modules\sd_models.py", line 241, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "M:\00000 001 PORTAFOLIO\00001 STABLE DIFFUSION\stable2xformerson\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 99, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooSmall
Steps to reproduce the problem
lora
What should have happened?
Maybe the dropmanu can have a none seltion to leave it blank
Commit where the problem happens
955df77
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
List of extensions
Stable-Diffusion-Webui-Civitai-Helper | https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper | 2870a489 (Thu Mar 23 13:46:45 2023) | unknown
a1111-sd-webui-tagcomplete | https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git | 296b945 (Sun Mar 26 23:19:24 2023) | unknown
openpose-editor | https://github.com/fkunn1326/openpose-editor | 79155e82 (Sun Mar 26 23:45:55 2023) | unknown
sd-webui-3d-open-pose-editor | https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git | 231c4512 (Sat Mar 25 14:15:19 2023) | unknown
sd-webui-ar | https://github.com/alemelis/sd-webui-ar.git | ce0a645c (Thu Feb 23 13:59:23 2023) | unknown
sd-webui-controlnet | https://github.com/Mikubill/sd-webui-controlnet | 241c05f (Thu Mar 23 15:18:35 2023) | unknown
sd-webui-cutoff | https://github.com/hnmr293/sd-webui-cutoff | 89b90487 (Wed Mar 22 15:47:20 2023) | unknown
stable-diffusion-webui-composable-lora | https://github.com/opparco/stable-diffusion-webui-composable-lora.git | d4963e48 (Mon Feb 27 17:40:08 2023) | unknown
stable-diffusion-webui-rembg | https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git | 64821f04 (Sun Mar 12 15:32:00 2023) | unknown
stable-diffusion-webui-two-shot | https://github.com/ashen-sensored/stable-diffusion-webui-two-shot.git | a761ead4 (Wed Mar 15 15:23:33 2023) | unknown
LDSR | built-in | |
Lora | built-in | |
ScuNET | built-in | |
SwinIR | built-in | |
prompt-bracket-checker | built-in
Extension URL Version Update Stable-Diffusion-Webui-Civitai-Helper https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper 2870a489 (Thu Mar 23 13:46:45 2023) unknown a1111-sd-webui-tagcomplete https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git 296b945 (Sun Mar 26 23:19:24 2023) unknown openpose-editor https://github.com/fkunn1326/openpose-editor 79155e82 (Sun Mar 26 23:45:55 2023) unknown sd-webui-3d-open-pose-editor https://github.com/nonnonstop/sd-webui-3d-open-pose-editor.git 231c4512 (Sat Mar 25 14:15:19 2023) unknown sd-webui-ar https://github.com/alemelis/sd-webui-ar.git ce0a645c (Thu Feb 23 13:59:23 2023) unknown sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet 241c05f (Thu Mar 23 15:18:35 2023) unknown sd-webui-cutoff https://github.com/hnmr293/sd-webui-cutoff 89b90487 (Wed Mar 22 15:47:20 2023) unknown stable-diffusion-webui-composable-lora https://github.com/opparco/stable-diffusion-webui-composable-lora.git d4963e48 (Mon Feb 27 17:40:08 2023) unknown stable-diffusion-webui-rembg https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git 64821f04 (Sun Mar 12 15:32:00 2023) unknown stable-diffusion-webui-two-shot https://github.com/ashen-sensored/stable-diffusion-webui-two-shot.git a761ead4 (Wed Mar 15 15:23:33 2023) unknown LDSR [built-in](http://127.0.0.1:7860/) Lora [built-in](http://127.0.0.1:7860/) ScuNET [built-in](http://127.0.0.1:7860/) SwinIR [built-in](http://127.0.0.1:7860/) prompt-bracket-checker [built-in](http://127.0.0.1:7860/)Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: