Skip to content

Commit aa526b1

Browse files
committed
fix(ltx2): fix unexpected argument in VAE embeddings call
1 parent 3e57c2e commit aa526b1

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
@@ -54,10 +54,7 @@ def __init__(
5454
use_additional_conditions=use_additional_conditions,
5555
dtype=dtype,
5656
weights_dtype=weights_dtype,
57-
linear_1_kernel_sharding=sharding_specs.net_0_kernel,
58-
linear_1_bias_sharding=sharding_specs.net_0_bias,
59-
linear_2_kernel_sharding=sharding_specs.net_2_kernel,
60-
linear_2_bias_sharding=sharding_specs.net_2_bias,
57+
sharding_specs=sharding_specs,
6158
)
6259
self.silu = nnx.silu
6360
self.linear = nnx.Linear(

0 commit comments

Comments
 (0)