Skip to content

Commit 02c3a19

Browse files
committed
udpate
1 parent 279d3ec commit 02c3a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/autoencoders/autoencoder_kl_hunyuan_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ def tiled_encode(self, x: torch.Tensor) -> AutoencoderKLOutput:
10031003
for i in range(0, height, self.tile_sample_stride_height):
10041004
row = []
10051005
for j in range(0, width, self.tile_sample_stride_width):
1006-
tile = x[:, :, :, i : i + self.tile_sample_min_height, j : j + self.tile_sample_min_height]
1006+
tile = x[:, :, :, i : i + self.tile_sample_min_height, j : j + self.tile_sample_min_width]
10071007
tile = self.encoder(tile)
10081008
tile = self.quant_conv(tile)
10091009
row.append(tile)

0 commit comments

Comments
 (0)