Skip to content

Commit fd694b0

Browse files
authored
Merge branch 'main' into improve-dtype-mismatch-bnb-lora
2 parents 44e4ded + bc26105 commit fd694b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/autoencoders/autoencoder_kl_mochi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def encode(
909909
def _decode(self, z: torch.Tensor, return_dict: bool = True) -> Union[DecoderOutput, torch.Tensor]:
910910
batch_size, num_channels, num_frames, height, width = z.shape
911911
tile_latent_min_height = self.tile_sample_min_height // self.spatial_compression_ratio
912-
tile_latent_min_width = self.tile_sample_stride_width // self.spatial_compression_ratio
912+
tile_latent_min_width = self.tile_sample_min_width // self.spatial_compression_ratio
913913

914914
if self.use_tiling and (width > tile_latent_min_width or height > tile_latent_min_height):
915915
return self.tiled_decode(z, return_dict=return_dict)

0 commit comments

Comments
 (0)