File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,14 @@ def flux_to_diffusers(mmdit_config, output_prefix=""):
611611 "ff_context.net.0.proj.bias" : "txt_mlp.0.bias" ,
612612 "ff_context.net.2.weight" : "txt_mlp.2.weight" ,
613613 "ff_context.net.2.bias" : "txt_mlp.2.bias" ,
614+ "ff.linear_in.weight" : "img_mlp.0.weight" , # LyCoris LoKr
615+ "ff.linear_in.bias" : "img_mlp.0.bias" ,
616+ "ff.linear_out.weight" : "img_mlp.2.weight" ,
617+ "ff.linear_out.bias" : "img_mlp.2.bias" ,
618+ "ff_context.linear_in.weight" : "txt_mlp.0.weight" ,
619+ "ff_context.linear_in.bias" : "txt_mlp.0.bias" ,
620+ "ff_context.linear_out.weight" : "txt_mlp.2.weight" ,
621+ "ff_context.linear_out.bias" : "txt_mlp.2.bias" ,
614622 "attn.norm_q.weight" : "img_attn.norm.query_norm.scale" ,
615623 "attn.norm_k.weight" : "img_attn.norm.key_norm.scale" ,
616624 "attn.norm_added_q.weight" : "txt_attn.norm.query_norm.scale" ,
You can’t perform that action at this time.
0 commit comments