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

Add DoRA support #373

Open
lendrick opened this issue Apr 15, 2024 · 1 comment
Open

Add DoRA support #373

lendrick opened this issue Apr 15, 2024 · 1 comment

Comments

@lendrick
Copy link

Merging DoRAs currently fails with a Key Error.

merging C:\AI\automatic1111\models\Lora\d\36c_dora-000007.safetensors: [0.0, 0, 0, 0, 0, 0.0, 0.0, 0, 0.0, 0.0, 0, 0, 0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0]
dim: [4], alpha: [2.0]
merging...
Traceback (most recent call last):
File "C:\AI\automatic1111\extensions\sd-webui-supermerger\scripts\mergers\pluslora.py", line 426, in lmerge
sd = merge_lora_models(ln, lr, settings, False, calc_precision)
File "C:\AI\automatic1111\extensions\sd-webui-supermerger\scripts\mergers\pluslora.py", line 480, in merge_lora_models
base_alpha = base_alphas[lora_module_name]
KeyError: 'lora_te1_text_model_encoder_layers_0_mlp_fc1.dora_scal'

@a-l-e-x-d-s-9
Copy link

@hako-mikan
Any updates regarding merging Doras?

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

2 participants