Skip to content

Commit 59f4531

Browse files
authored
Merge branch 'main' into enable-telemetry-quant-single-file
2 parents ff80e8a + 7054a34 commit 59f4531

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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)