mirror of
https://github.com/modelscope/DiffSynth-Studio.git
synced 2026-03-23 17:38:10 +00:00
flex full support
This commit is contained in:
@@ -740,7 +740,7 @@ class FluxDiTStateDictConverter:
|
|||||||
pass
|
pass
|
||||||
if "guidance_embedder.timestep_embedder.0.weight" not in state_dict_:
|
if "guidance_embedder.timestep_embedder.0.weight" not in state_dict_:
|
||||||
return state_dict_, {"disable_guidance_embedder": True}
|
return state_dict_, {"disable_guidance_embedder": True}
|
||||||
elif "double_blocks.8.img_attn.norm.key_norm.scale" not in state_dict_:
|
elif "blocks.8.attn.norm_k_a.weight" not in state_dict_:
|
||||||
return state_dict_, {"input_dim": 196, "num_blocks": 8}
|
return state_dict_, {"input_dim": 196, "num_blocks": 8}
|
||||||
else:
|
else:
|
||||||
return state_dict_
|
return state_dict_
|
||||||
|
|||||||
Reference in New Issue
Block a user