modelscope / modelscope/DiffSynth-Studio
Flux Kontext How to load Lora weight?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
https://modelscope.cn/models/AI-ModelScope/Kontext-Style-Loras/summary
How to load Lora weights like this model, I was try this scirpt it is not worked for me
pipe.load_lora(pipe.dit, "models/lora/Kontext-Style-Loras/3D_Chibi_lora_weights.safetensors", alpha=1)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked ModelScope Kontext-Style-Loras model and reproduce the shown pipe.load_lora call using the referenced .safetensors file. Identify why the loading attempt fails from the resulting error, then verify that the LoRA weights load successfully with the Flux Kontext pipeline.
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
- Needs clarification
- Newbie friendliness
- 35/100