Skip to content

Commit 5f07ad0

Browse files
committed
test
1 parent 068d657 commit 5f07ad0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/maxdiffusion/loaders/lora_conversion_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,8 @@ def translate_wan_nnx_path_to_diffusers_lora(nnx_path_str, scan_layers=False):
651651
return "diffusion_model.patch_embedding"
652652
if nnx_path_str == "proj_out":
653653
return "diffusion_model.head.head"
654+
if nnx_path_str == "adaln_scale_shift_table":
655+
return "diffusion_model.head.modulation"
654656
if nnx_path_str == "condition_embedder.time_proj":
655657
return "diffusion_model.time_projection.1"
656658

src/maxdiffusion/models/lora_nnx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ def merge_lora_for_scanned(
300300
max_logging.log(f"lora_key_template: {lora_key_template}")
301301
max_logging.log(f"Module ndim: {module.ndim}")
302302
max_logging.log(f"Module Type: {type(module)}")
303-
continue
304303

305304
if not lora_key_template:
306305
continue

0 commit comments

Comments
 (0)