modelscope / modelscope/DiffSynth-Studio

Flux Kontext How to load Lora weight?

Open
#788 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.