Skip to content

Commit af53543

Browse files
committed
padding batch dim by having pos prompt as dummy
1 parent a914786 commit af53543

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/pipelines/ltx2/ltx2_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ def convert_to_vel(lat, x0):
15481548
noise_pred = convert_to_vel(latents_step, x0_combined)
15491549

15501550
# Audio guidance
1551-
noise_pred_audio_uncond, noise_pred_audio_text, noise_pred_audio_perturb = jnp.split(noise_pred_audio, 3, axis=0)
1551+
noise_pred_audio_uncond, noise_pred_audio_text, noise_pred_audio_perturb, _ = jnp.split(noise_pred_audio, 4, axis=0)
15521552

15531553
x0_audio_uncond = convert_to_x0(audio_latents_step, noise_pred_audio_uncond)
15541554
x0_audio_text = convert_to_x0(audio_latents_step, noise_pred_audio_text)

0 commit comments

Comments
 (0)