Skip to content

Commit 6f7e837

Browse files
committed
Merge branch 'ltx-95-latents-yiyi' of github.com:huggingface/diffusers into ltx-95-latents-yiyi
2 parents d8bd10e + a098d94 commit 6f7e837

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/pipelines/ltx/pipeline_ltx_condition.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ def _prepare_video_ids(latents: torch.Tensor, scale_factor: int = 32, scale_fact
475475
torch.arange(0, num_frames, patch_size_t, device=device),
476476
torch.arange(0, height, patch_size, device=device),
477477
torch.arange(0, width, patch_size, device=device),
478+
indexing="ij",
478479
)
479480
latent_sample_coords = torch.stack(latent_sample_coords, dim=0)
480481
latent_coords = latent_sample_coords.unsqueeze(0).repeat(batch_size, 1, 1, 1, 1)

0 commit comments

Comments
 (0)