[Bug]: Prompt S/R in X/Y/Z plotter script does not work with LoRAs
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
When you attempt to check the difference between different LoRAs using the Prompt S/R in X/Y/Z plotter script, it shows the same image for all of the comparison images.
Steps to reproduce the problem
- Add one LoRA in your prompt
- Use the X/Y/Z script and set X to Prompt S/R
- Add the initial LoRA to the right, and add each additiona LoRA you would like to compare it to seperated by commas and a space.
What should have happened?
It should have rendered a different image for each LoRA.
Commit where the problem happens
3715ece0adce7bf7c5e9c5ab3710b2fdc3848f39
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
No
List of extensions
No
Console logs
X/Y/Z plot will create 1 images on 1 1x1 grid. (Total steps to process: 20)
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002575016D5A0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575016D390>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575016F220>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575016C910>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575016D5D0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575016F010>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575016F2E0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:03<00:00, 5.53it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [01:57<00:00, 5.89s/it]
X/Y/Z plot will create 7 images on 1 7x1 grid. (Total steps to process: 140)
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3F850>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3D8D0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3F4F0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3E920>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3CA30>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3F220>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025756B3FAF0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.82it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002575018F760>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575018C5E0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575018FB80>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575018F220>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575018D960>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575018E230>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575018F2B0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.31it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002574AB70E80>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB73040>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB72560>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB72950>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB70430>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB70CD0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB71A80>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.32it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002575833BBE0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575833A3B0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758338FD0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758339030>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758339AE0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758338DF0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758339630>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.32it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002574AB73FD0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB70160>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB71480>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB72F50>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB70E50>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB718A0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002574AB72350>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.30it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x0000025758351F60>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758351C60>, <modules.extra_networks.ExtraNetworkParams object at 0x00000257583526E0>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758353460>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758353550>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758350E50>, <modules.extra_networks.ExtraNetworkParams object at 0x0000025758353E50>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.10it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002575839FE50>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575839C2E0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575839E800>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575839D0C0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575839D4B0>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575839F460>, <modules.extra_networks.ExtraNetworkParams object at 0x000002575839EA40>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.19it/s]
Total progress: 100%|████████████████████████████████████████████████████████████████| 140/140 [00:19<00:00, 7.03it/s]
X/Y/Z plot will create 7 images on 1 7x1 grid. (Total steps to process: 140)
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002576F9BBCD0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.68it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002576F9B8E20>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.97it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x0000025756C8BD60>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.22it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002576F9BB760>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.08it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x000002576F9E1870>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.14it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x0000025758351960>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.09it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2C73AC0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.10it/s]
Total progress: 100%|████████████████████████████████████████████████████████████████| 140/140 [00:20<00:00, 6.91it/s]
X/Y/Z plot will create 7 images on 1 7x1 grid. (Total steps to process: 140)
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2C71F30>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.97it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2D20160>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
40%|█████████████████████████████████▏ | 8/20 [00:00<00:01, 8.21it/s]
Total progress: 20%|█████████████ | 28/140 [00:04<00:18, 6.21it/s]
X/Y/Z plot will create 7 images on 1 7x1 grid. (Total steps to process: 140)
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2D5BDF0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.87it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2C81DB0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.40it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257A66C6D10>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.24it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2CB2800>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.31it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257A66FBAC0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.25it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2D209A0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.37it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E745CD00>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.26it/s]
Total progress: 100%|████████████████████████████████████████████████████████████████| 140/140 [00:19<00:00, 7.10it/s]
X/Y/Z plot will create 7 images on 1 7x1 grid. (Total steps to process: 140)
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E7480220>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 7.87it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2D22CE0>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.30it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E751A410>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.41it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E7483A60>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.34it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2D23D30>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.40it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257E2D5A080>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.29it/s]
activating extra network lora with arguments [<modules.extra_networks.ExtraNetworkParams object at 0x00000257EC0CBF70>]: Exception
Traceback (most recent call last):
File "D:\stable-diffusion-webui\modules\extra_networks.py", line 75, in activate
extra_network.activate(p, extra_network_args)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\extra_networks_lora.py", line 23, in activate
lora.load_loras(names, multipliers)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 151, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "D:\stable-diffusion-webui\extensions-builtin\Lora\lora.py", line 83, in load_lora
sd = sd_models.read_state_dict(filename)
File "D:\stable-diffusion-webui\modules\sd_models.py", line 211, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "D:\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 98, in load_file
with safe_open(filename, framework="pt", device=device) as f:
Exception: Error while deserializing header: HeaderTooLarge
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:02<00:00, 8.22it/s]
Total progress: 100%|████████████████████████████████████████████████████████████████| 140/140 [00:19<00:00, 7.13it/s]
Additional information
No response
It works for me, Sometimes...
I add to this bug report that the Prompt S/R replaces text inside of the lora tag "wrong" lora:FinePaintingsOilAndInk:1 - as replace I use the both trigger words INK, OIL the first image is ok the second is not bacause the trigger word is part of the lora name:
... lora:FinePaintingsOilAndInk:1, INK ... ... lora:FinePaintingsOilAndOIL:1, OIL ....
Can we have a "Prompt S/R (Lora safe) that will not replace the inside of tags "<>" and one that replaces the inside text?