We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04e1b4 commit 2d040e5Copy full SHA for 2d040e5
1 file changed
src/maxdiffusion/models/lora_nnx.py
@@ -91,8 +91,9 @@ def parse_lora_dict(state_dict, dtype):
91
"""
92
Helper to parse state_dict into structured params including diffs.
93
Supports keys in original WAN LoRA format, like:
94
- '...lora.down.weight', '...lora_up.weight', '...alpha',
+ '...lora_A.weight', '...lora_up.weight', '...alpha',
95
as well as '.diff' and '.diff_b' for weight and bias fine-tuning.
96
+ Supports ComfyUI and AI toolkit lora formats.
97
98
lora_params = {}
99
for k, v in state_dict.items():
0 commit comments