Skip to content

Commit 420c444

Browse files
committed
debug
1 parent 1ce98d2 commit 420c444

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/maxdiffusion/models/ltx2/autoencoder_kl_ltx2.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -566,11 +566,6 @@ def __call__(
566566
for downsampler in self.downsamplers:
567567
hidden_states = downsampler(hidden_states, causal=causal)
568568

569-
# LTX-2 specific output expansion
570-
last_channel = hidden_states[..., -1:]
571-
repeats = 127 # 256 - 129
572-
last_channel_repeated = jnp.repeat(last_channel, repeats, axis=-1)
573-
hidden_states = jnp.concatenate([hidden_states, last_channel_repeated], axis=-1)
574569

575570
return hidden_states
576571

0 commit comments

Comments
 (0)