Skip to content

Commit 72c9667

Browse files
authored
Merge branch 'main' into hidream
2 parents 2d65aa2 + bc26105 commit 72c9667

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
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)

tests/pipelines/unclip/test_unclip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def test_inference_batch_single_identical(self):
381381
]
382382

383383
self._test_inference_batch_single_identical(
384-
additional_params_copy_to_batched_inputs=additional_params_copy_to_batched_inputs, expected_max_diff=5e-3
384+
additional_params_copy_to_batched_inputs=additional_params_copy_to_batched_inputs, expected_max_diff=9.8e-3
385385
)
386386

387387
def test_inference_batch_consistent(self):

utils/notify_slack_about_release.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
import requests
1919

20-
from ..src.diffusers.utils.constants import DIFFUSERS_REQUEST_TIMEOUT
21-
2220

2321
# Configuration
2422
LIBRARY_NAME = "diffusers"
@@ -28,7 +26,7 @@
2826

2927
def check_pypi_for_latest_release(library_name):
3028
"""Check PyPI for the latest release of the library."""
31-
response = requests.get(f"https://pypi.org/pypi/{library_name}/json", timeout=DIFFUSERS_REQUEST_TIMEOUT)
29+
response = requests.get(f"https://pypi.org/pypi/{library_name}/json", timeout=60)
3230
if response.status_code == 200:
3331
data = response.json()
3432
return data["info"]["version"]
@@ -40,7 +38,7 @@ def check_pypi_for_latest_release(library_name):
4038
def get_github_release_info(github_repo):
4139
"""Fetch the latest release info from GitHub."""
4240
url = f"https://api.github.com/repos/{github_repo}/releases/latest"
43-
response = requests.get(url, timeout=DIFFUSERS_REQUEST_TIMEOUT)
41+
response = requests.get(url, timeout=60)
4442

4543
if response.status_code == 200:
4644
data = response.json()

0 commit comments

Comments
 (0)