Skip to content

Commit 95c985b

Browse files
committed
Fix
1 parent 9abd7ce commit 95c985b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/maxdiffusion/models/lora_nnx.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@ def merge_lora(model: nnx.Module, state_dict: dict, scale: float, translate_fn=N
227227
if not isinstance(module, (nnx.Linear, nnx.Conv)): continue
228228

229229
nnx_path_str = ".".join(map(str, path))
230+
max_logging.log(f"NNX path: {nnx_path_str}")
230231
lora_key = translate_fn(nnx_path_str) if translate_fn else None
231232

232233
if lora_key and lora_key in lora_params:

0 commit comments

Comments
 (0)