Skip to content

Commit 6494be4

Browse files
committed
Fix
1 parent 6042d24 commit 6494be4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/maxdiffusion/models/lora_nnx.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,10 @@ def merge_lora(model: nnx.Module, state_dict: dict, scale: float):
302302
else:
303303
raise NotImplementedError(f"Conv merge only for 1x1 kernels, got {module.kernel_size}")
304304
else:
305-
max_logging.warning(f"LoRA weights for {lora_key} incomplete: missing down or up weights.")
305+
max_logging.log(f"LoRA weights for {lora_key} incomplete: missing down or up weights.")
306306
elif lora_key:
307-
max_logging.warning(f"NNX layer '{nnx_path_str}' translated to '{lora_key}' but key not in lora_params.")
307+
max_logging.log(f"NNX layer '{nnx_path_str}' translated to '{lora_key}' but key not in lora_params.")
308308
else:
309-
max_logging.debug(f"NNX layer '{nnx_path_str}' could not be translated to a LoRA key.")
309+
max_logging.log(f"NNX layer '{nnx_path_str}' could not be translated to a LoRA key.")
310310

311311
max_logging.log(f"Merged weights into {assigned_count} layers in {type(model).__name__}.")

0 commit comments

Comments
 (0)