kohya-ss / kohya-ss/sd-scripts

Can not load in ComfyUI and --network_args "split_qkv=True" does not work

Open
#1,582 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.2k
Forks
1.2k
Avg merge
11m
Merged PRs (30d)
2

Description

lora trained by sd-scipts can not be loaded in ComfyUI loadload node, so i try to "split_qkv" use order --network_args "split_qkv=True"
![image](https://github.com/user-attachments/assets/37f967b2-7c83-4a6d-9d67-9a0d0b057b5f)
but seems to does not work.
![image](https://github.com/user-attachments/assets/a9f98cbd-4fbf-4836-831a-6d6a583d2a2f)
Log in ComfyUI is "lora key not loaded".
![image](https://github.com/user-attachments/assets/b68eab38-0b63-4c1c-8b7c-16779aaa46ab)
Can someone tell me how to load lora on ComfyUI? thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are identified. Start by reproducing the ComfyUI load-node failure with a LoRA trained by sd-scripts and the `--network_args "split_qkv=True"` option, then inspect the reported `lora key not loaded` log. Done means documenting the supported loading procedure or identifying the compatibility change required.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.