Skip to content

Commit bdbd141

Browse files
committed
Add _repeated_blocks to Wan Animate transformer for regional compilation
1 parent 0145135 commit bdbd141

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/models/transformers/transformer_wan_animate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ class WanAnimateTransformer3DModel(
572572
"motion_synthesis_weight",
573573
]
574574
_keys_to_ignore_on_load_unexpected = ["norm_added_q"]
575+
_repeated_blocks = ["WanTransformerBlock"]
575576

576577
@register_to_config
577578
def __init__(

0 commit comments

Comments
 (0)