Skip to content

Commit 7b11d16

Browse files
committed
fix(ltx2): fix unexpected arguments in self.ff call
1 parent 7ff54d4 commit 7b11d16

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/maxdiffusion/models/ltx2/transformer_ltx2.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,7 @@ def __init__(
315315
activation_fn=activation_fn,
316316
dtype=dtype,
317317
weights_dtype=weights_dtype,
318-
net_0_kernel_sharding=self.sharding_specs.net_0_kernel,
319-
net_0_bias_sharding=self.sharding_specs.net_0_bias,
320-
net_2_kernel_sharding=self.sharding_specs.net_2_kernel,
321-
net_2_bias_sharding=self.sharding_specs.net_2_bias,
318+
sharding_specs=self.sharding_specs,
322319
)
323320

324321
self.audio_norm3 = nnx.RMSNorm(

0 commit comments

Comments
 (0)