Skip to content

Commit 33c831e

Browse files
committed
Fix
1 parent 85e3015 commit 33c831e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/maxdiffusion/models/lora_nnx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def merge_lora(model: nnx.Module, state_dict: dict, scale: float):
222222
if m:
223223
module_path_str, weight_type = m.group(1), m.group(2).replace("lora_", "")
224224
else:
225-
max_logging.debug(f"Could not parse LoRA key: {k}")
225+
max_logging.log(f"Could not parse LoRA key: {k}")
226226
continue
227227

228228
if module_path_str not in lora_params:
@@ -267,5 +267,5 @@ def merge_lora(model: nnx.Module, state_dict: dict, scale: float):
267267
f"with kernel_size {module.kernel_size} > 1 is not supported."
268268
)
269269
else:
270-
max_logging.warning(f"LoRA weights for {matched_key} incomplete.")
270+
max_logging.log(f"LoRA weights for {matched_key} incomplete.")
271271
max_logging.log(f"Merged weights into {assigned_count} layers in {type(model).__name__}.")

0 commit comments

Comments
 (0)