Skip to content

Commit 17507c4

Browse files
committed
Styling changes through ruff
1 parent 963b399 commit 17507c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/maxdiffusion/loaders/lora_conversion_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,8 @@ def translate_wan_nnx_path_to_diffusers_lora(nnx_path_str, scan_layers=False):
639639
return 'diffusion_model.head.head'
640640
if nnx_path_str == 'condition_embedder.time_proj':
641641
return 'diffusion_model.time_projection.1'
642-
643-
642+
643+
644644

645645

646646
# --- 2. Map NNX Suffixes to LoRA Suffixes ---
@@ -664,7 +664,7 @@ def translate_wan_nnx_path_to_diffusers_lora(nnx_path_str, scan_layers=False):
664664
# Cross Attention Norms (QK Norm)
665665
"attn2.norm_q": "cross_attn.norm_q",
666666
"attn2.norm_k": "cross_attn.norm_k",
667-
667+
668668
# Cross Attention img
669669
"attn2.add_k_proj": "cross_attn.k_img",
670670
"attn2.add_v_proj": "cross_attn.v_img",

0 commit comments

Comments
 (0)