Skip to content

Commit 2d040e5

Browse files
committed
Add comment
1 parent a04e1b4 commit 2d040e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/maxdiffusion/models/lora_nnx.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ def parse_lora_dict(state_dict, dtype):
9191
"""
9292
Helper to parse state_dict into structured params including diffs.
9393
Supports keys in original WAN LoRA format, like:
94-
'...lora.down.weight', '...lora_up.weight', '...alpha',
94+
'...lora_A.weight', '...lora_up.weight', '...alpha',
9595
as well as '.diff' and '.diff_b' for weight and bias fine-tuning.
96+
Supports ComfyUI and AI toolkit lora formats.
9697
"""
9798
lora_params = {}
9899
for k, v in state_dict.items():

0 commit comments

Comments
 (0)