kohya-ss / kohya-ss/sd-scripts
how to use flux loras with text encoder keys with diffusers?
Open
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
resulting lora weights from setting train text encoder to true is incompatible with diffusers load_lora_weights. the script networks/convert_flux_lora.py does not convert the text encoder keys either.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with networks/convert_flux_lora.py and trace how it handles LoRA keys when the text encoder is trained. Compare the resulting keys with the format expected by diffusers load_lora_weights. Done means converted weights that include compatible text encoder keys and can be loaded successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100