Skip to content

Commit 20c2343

Browse files
committed
test
1 parent 4c43475 commit 20c2343

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/maxdiffusion/models/lora_nnx.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,15 @@ def merge_lora_for_scanned(
289289
continue
290290

291291
nnx_path_str = ".".join(map(str, path))
292+
nnx_path_str = nnx_path_str[len("blocks.") :]
292293
lora_key_template = translate_fn(nnx_path_str) if translate_fn else None
293294

295+
if 'adaln_scale_shift_table' in nnx_path_str:
296+
max_logging.log(f"adaln_scale_shift_table: {nnx_path_str}")
297+
max_logging.log(f"lora_key_template: {lora_key_template}")
298+
max_logging.log(f"Module: {module}")
299+
max_logging.log(f"Module Type: {type(module)}")
300+
294301
if not lora_key_template:
295302
continue
296303

0 commit comments

Comments
 (0)