mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-18 22:08:13 +00:00
Support MERJIC's new model (#298)
* Update flux_dit.py * Update model_config.py
This commit is contained in:
@@ -648,6 +648,8 @@ class FluxDiTStateDictConverter:
|
||||
}
|
||||
state_dict_ = {}
|
||||
for name, param in state_dict.items():
|
||||
if name.startswith("model.diffusion_model."):
|
||||
name = name[len("model.diffusion_model."):]
|
||||
names = name.split(".")
|
||||
if name in rename_dict:
|
||||
rename = rename_dict[name]
|
||||
|
||||
Reference in New Issue
Block a user