Skip to content

Commit 122ef73

Browse files
committed
fix
1 parent 12ec691 commit 122ef73

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/maxdiffusion/models/ltx_2/transformer_ltx2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def __init__(
597597
)
598598

599599
# 5. Transformer Blocks
600-
self.transformer_blocks = [
600+
self.transformer_blocks = nnx.List([
601601
LTX2VideoTransformerBlock(
602602
rngs=rngs,
603603
dim=inner_dim,
@@ -619,7 +619,7 @@ def __init__(
619619
weights_dtype=self.weights_dtype
620620
)
621621
for _ in range(self.num_layers)
622-
]
622+
])
623623

624624
# 6. Output layers
625625
self.norm_out = nnx.LayerNorm(inner_dim, epsilon=1e-6, use_scale=False, rngs=rngs, dtype=self.dtype, param_dtype=self.weights_dtype)

0 commit comments

Comments
 (0)