Skip to content
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

additional network cann't work in SDXL 1.0 LORA. #244

Open
littleyeson opened this issue Mar 16, 2024 · 2 comments
Open

additional network cann't work in SDXL 1.0 LORA. #244

littleyeson opened this issue Mar 16, 2024 · 2 comments

Comments

@littleyeson
Copy link

LoRA weight_unet: 0.5, weight_tenc: 0.5, model: LL_xl_v1.2(99135bb8a90f)
dimension: {64}, alpha: {8.0}, multiplier_unet: 0.5, multiplier_tenc: 0.5
*** Error running process_batch: C:\AI\sd-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py
Traceback (most recent call last):
File "C:\AI\sd-webui\modules\scripts.py", line 808, in process_batch
script.process_batch(p, *script_args, **kwargs)
File "C:\AI\sd-webui\extensions\sd-webui-additional-networks\scripts\additional_networks.py", line 244, in process_batch
network, info = lora_compvis.create_network_and_apply_compvis(
File "C:\AI\sd-webui\extensions\sd-webui-additional-networks\scripts\lora_compvis.py", line 153, in create_network_and_apply_compvis
network = LoRANetworkCompvis(text_encoder, unet, multiplier_tenc, multiplier_unet, modules_dim, modules_alpha)
File "C:\AI\sd-webui\extensions\sd-webui-additional-networks\scripts\lora_compvis.py", line 341, in init
comp_vis_lora_name = LoRANetworkCompvis.convert_diffusers_name_to_compvis(self.v2, du_lora_name)
File "C:\AI\sd-webui\extensions\sd-webui-additional-networks\scripts\lora_compvis.py", line 302, in convert_diffusers_name_to_compvis
assert cv_name is not None, f"conversion failed: {du_name}. the model may not be trained by sd-scripts."
AssertionError: conversion failed: lora_te1_text_model_encoder_layers_0_mlp_fc1. the model may not be trained by sd-scripts.

I use XL lora in additional network.there is error.How to fix it

@burialsjy
Copy link

Yes, I have the same problem, did you solve it

@psc0606
Copy link

psc0606 commented Dec 5, 2024

same issue, not work for sdxl lora, sd1.5 loras work well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants