Skip to content

Commit d82861c

Browse files
authored
fix svd init memory (#208)
1 parent 93c34f3 commit d82861c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffsynth_engine/models/qwen_image/qwen_image_dit_nunchaku.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def __init__(
240240
use_nunchaku_attn: bool = True,
241241
nunchaku_rank: int = 32,
242242
):
243-
super().__init__()
243+
super().__init__(num_layers, device=device, dtype=dtype)
244244

245245
self.pos_embed = QwenEmbedRope(theta=10000, axes_dim=[16, 56, 56], scale_rope=True, device=device)
246246

0 commit comments

Comments
 (0)