Skip to content

Commit a098d94

Browse files
yiyixuxuhlky
andauthored
Update src/diffusers/pipelines/ltx/pipeline_ltx_condition.py
Co-authored-by: hlky <[email protected]>
1 parent 16c1467 commit a098d94

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
@@ -452,6 +452,7 @@ def _pack_latents(latents: torch.Tensor, patch_size: int = 1, patch_size_t: int
452452
torch.arange(0, num_frames, patch_size_t, device=device),
453453
torch.arange(0, height, patch_size, device=device),
454454
torch.arange(0, width, patch_size, device=device),
455+
indexing="ij",
455456
)
456457
latent_sample_coords = torch.stack(latent_sample_coords, dim=0)
457458
latent_coords = latent_sample_coords.unsqueeze(0).repeat(batch_size, 1, 1, 1, 1)

0 commit comments

Comments
 (0)