Skip to content

Commit d0bdf4b

Browse files
committed
update
1 parent f35b807 commit d0bdf4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/diffusers/pipelines/ltx/pipeline_ltx_condition.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,6 @@ def prepare_latents(
601601
condition_latent_frames_mask[:, :num_cond_frames] = condition.strength
602602
else:
603603
if num_data_frames > 1:
604-
# TODO
605604
(
606605
latents,
607606
condition_latents,
@@ -626,6 +625,8 @@ def prepare_latents(
626625
)
627626

628627
rope_interpolation_scale = [
628+
# TODO!!! This is incorrect: the frame index needs to added AFTER multiplying the interpolation
629+
# scale with the grid.
629630
(self.vae_temporal_compression_ratio + condition.frame_index) / frame_rate,
630631
self.vae_spatial_compression_ratio,
631632
self.vae_spatial_compression_ratio,

0 commit comments

Comments
 (0)