Skip to content

Commit a39eb18

Browse files
committed
force 4way
1 parent b61e8a4 commit a39eb18

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,15 +1590,15 @@ def convert_to_vel(lat, x0, sig):
15901590

15911591
# 8. Decode Latents
15921592
decode_start = time.time()
1593-
if do_cfg and do_stg:
1593+
if use_4way:
15941594
latents_jax = latents_jax[batch_size : 2 * batch_size]
15951595
audio_latents_jax = audio_latents_jax[batch_size : 2 * batch_size]
15961596
elif do_cfg:
15971597
latents_jax = latents_jax[batch_size:]
15981598
audio_latents_jax = audio_latents_jax[batch_size:]
1599-
elif do_stg:
1600-
latents_jax = latents_jax[:batch_size]
1601-
audio_latents_jax = audio_latents_jax[:batch_size]
1599+
else:
1600+
latents_jax = latents_jax
1601+
audio_latents_jax = audio_latents_jax
16021602

16031603
# Unpack and Denormalize Video
16041604
latents = self._unpack_latents(

0 commit comments

Comments
 (0)