diffusers 0.25.0__py3-none-any.whl → 0.25.1__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- diffusers/__init__.py +1 -1
- diffusers/dependency_versions_table.py +1 -1
- diffusers/pipelines/pipeline_utils.py +3 -3
- {diffusers-0.25.0.dist-info → diffusers-0.25.1.dist-info}/METADATA +3 -2
- {diffusers-0.25.0.dist-info → diffusers-0.25.1.dist-info}/RECORD +9 -9
- {diffusers-0.25.0.dist-info → diffusers-0.25.1.dist-info}/WHEEL +1 -1
- {diffusers-0.25.0.dist-info → diffusers-0.25.1.dist-info}/LICENSE +0 -0
- {diffusers-0.25.0.dist-info → diffusers-0.25.1.dist-info}/entry_points.txt +0 -0
- {diffusers-0.25.0.dist-info → diffusers-0.25.1.dist-info}/top_level.txt +0 -0
diffusers/__init__.py
CHANGED
@@ -9,7 +9,7 @@ deps = {
|
|
9
9
|
"filelock": "filelock",
|
10
10
|
"flax": "flax>=0.4.1",
|
11
11
|
"hf-doc-builder": "hf-doc-builder>=0.3.0",
|
12
|
-
"huggingface-hub": "huggingface-hub>=0.
|
12
|
+
"huggingface-hub": "huggingface-hub>=0.20.2",
|
13
13
|
"requests-mock": "requests-mock==1.10.0",
|
14
14
|
"importlib_metadata": "importlib_metadata",
|
15
15
|
"invisible-watermark": "invisible-watermark>=0.2.0",
|
@@ -13,7 +13,6 @@
|
|
13
13
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
14
|
# See the License for the specific language governing permissions and
|
15
15
|
# limitations under the License.
|
16
|
-
|
17
16
|
import fnmatch
|
18
17
|
import importlib
|
19
18
|
import inspect
|
@@ -27,6 +26,7 @@ from typing import Any, Callable, Dict, List, Optional, Union
|
|
27
26
|
|
28
27
|
import numpy as np
|
29
28
|
import PIL.Image
|
29
|
+
import requests
|
30
30
|
import torch
|
31
31
|
from huggingface_hub import (
|
32
32
|
ModelCard,
|
@@ -35,7 +35,7 @@ from huggingface_hub import (
|
|
35
35
|
model_info,
|
36
36
|
snapshot_download,
|
37
37
|
)
|
38
|
-
from huggingface_hub.utils import validate_hf_hub_args
|
38
|
+
from huggingface_hub.utils import OfflineModeIsEnabled, validate_hf_hub_args
|
39
39
|
from packaging import version
|
40
40
|
from requests.exceptions import HTTPError
|
41
41
|
from tqdm.auto import tqdm
|
@@ -1654,7 +1654,7 @@ class DiffusionPipeline(ConfigMixin, PushToHubMixin):
|
|
1654
1654
|
if not local_files_only:
|
1655
1655
|
try:
|
1656
1656
|
info = model_info(pretrained_model_name, token=token, revision=revision)
|
1657
|
-
except HTTPError as e:
|
1657
|
+
except (HTTPError, OfflineModeIsEnabled, requests.ConnectionError) as e:
|
1658
1658
|
logger.warn(f"Couldn't connect to the Hub: {e}.\nWill try to load from local cache.")
|
1659
1659
|
local_files_only = True
|
1660
1660
|
model_info_call_error = e # save error to reraise it if model is not cached locally
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: diffusers
|
3
|
-
Version: 0.25.
|
3
|
+
Version: 0.25.1
|
4
4
|
Summary: State-of-the-art diffusion in PyTorch and JAX.
|
5
5
|
Home-page: https://github.com/huggingface/diffusers
|
6
6
|
Author: The Hugging Face team (past and future) with the help of all our contributors (https://github.com/huggingface/diffusers/graphs/contributors)
|
@@ -18,12 +18,13 @@ Classifier: Programming Language :: Python :: 3
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.8
|
19
19
|
Classifier: Programming Language :: Python :: 3.9
|
20
20
|
Classifier: Programming Language :: Python :: 3.10
|
21
|
+
Classifier: Programming Language :: Python :: 3.11
|
21
22
|
Requires-Python: >=3.8.0
|
22
23
|
Description-Content-Type: text/markdown
|
23
24
|
License-File: LICENSE
|
24
25
|
Requires-Dist: importlib-metadata
|
25
26
|
Requires-Dist: filelock
|
26
|
-
Requires-Dist: huggingface-hub >=0.
|
27
|
+
Requires-Dist: huggingface-hub >=0.20.2
|
27
28
|
Requires-Dist: numpy
|
28
29
|
Requires-Dist: regex !=2019.12.17
|
29
30
|
Requires-Dist: requests
|
@@ -1,7 +1,7 @@
|
|
1
|
-
diffusers/__init__.py,sha256=
|
1
|
+
diffusers/__init__.py,sha256=EyMIRUenXH105qccxEXpQS3mmfQ9ZKf7ZML7Ko0Iens,27505
|
2
2
|
diffusers/configuration_utils.py,sha256=DSTUXVZRxtIzn_5FHavHAvUIDI9PFg2oun68BYCI2O0,31801
|
3
3
|
diffusers/dependency_versions_check.py,sha256=kcB42KI2vgKHLxYgNJ1PtRNGMklz_zy2yUqR8idHC-4,1271
|
4
|
-
diffusers/dependency_versions_table.py,sha256=
|
4
|
+
diffusers/dependency_versions_table.py,sha256=FG-dIdSnpJ2i2Re1ZVSWWMrtEJPqEQ7K-8C_rTl8a50,1515
|
5
5
|
diffusers/image_processor.py,sha256=1dLcjTUVmqRKnyNpUWFkt4D2cyN1wXEeAUZR-eyNmFQ,36367
|
6
6
|
diffusers/optimization.py,sha256=hEiD1hqAUdvOrffQFhApCqtVRufoDsrzcVtFuq6H4ow,14743
|
7
7
|
diffusers/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -73,7 +73,7 @@ diffusers/pipelines/__init__.py,sha256=zxzhXy41iKv2BXWgabMnCN4s1APTmuF3eBRm_YQC7
|
|
73
73
|
diffusers/pipelines/auto_pipeline.py,sha256=Ffs8MZ6QBI2eGoQOQXWnk1btXJad1RDflWcy4ISM_qs,50499
|
74
74
|
diffusers/pipelines/onnx_utils.py,sha256=T7S-DqJPdYqURfqEiHwJJdJdMdmbYaEPIDeq4TIU6Nk,8326
|
75
75
|
diffusers/pipelines/pipeline_flax_utils.py,sha256=KQgE0waWQjmrSXGl_fZNDV-muO1CYk2428R_i6accFQ,27479
|
76
|
-
diffusers/pipelines/pipeline_utils.py,sha256=
|
76
|
+
diffusers/pipelines/pipeline_utils.py,sha256=WtCmHRcjNgEI3aacO9WxTVUzmrV5oQGPcDUM2HzKDvk,102503
|
77
77
|
diffusers/pipelines/amused/__init__.py,sha256=pzqLeLosNQ29prMLhTxvPpmoIDPB3OFMQMlErOIRkmI,1793
|
78
78
|
diffusers/pipelines/amused/pipeline_amused.py,sha256=NYnMjBgK_b_-QZPU23NX2K8I7Fo_GnNAXzHiFg96w08,15652
|
79
79
|
diffusers/pipelines/amused/pipeline_amused_img2img.py,sha256=nX2WZFTNk1GB4TjZPzVkZTA1AzMqZNoRkRAnTQd5P1o,17109
|
@@ -352,9 +352,9 @@ diffusers/utils/state_dict_utils.py,sha256=ZZBbOQij7f3U0GRH52oxCDYynZ_-O3SvQJQ9q
|
|
352
352
|
diffusers/utils/testing_utils.py,sha256=HkBnGK4STbs49WZDfVwEJ4qBZVaBT1_SZH5Y4piyb_Y,34726
|
353
353
|
diffusers/utils/torch_utils.py,sha256=KVeJcwzxbQHm7870OtibrxwkSCFddeCslLy9BtbZQHA,6233
|
354
354
|
diffusers/utils/versions.py,sha256=-e7XW1TzZ-tsRo9PMQHp-hNGYHuVDFzLtwg3uAJzqdI,4333
|
355
|
-
diffusers-0.25.
|
356
|
-
diffusers-0.25.
|
357
|
-
diffusers-0.25.
|
358
|
-
diffusers-0.25.
|
359
|
-
diffusers-0.25.
|
360
|
-
diffusers-0.25.
|
355
|
+
diffusers-0.25.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
356
|
+
diffusers-0.25.1.dist-info/METADATA,sha256=UVB75C6_xPNtvXCyGz_XBC8nDAt_H7CwvF1V-Fd2hDI,19088
|
357
|
+
diffusers-0.25.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
358
|
+
diffusers-0.25.1.dist-info/entry_points.txt,sha256=_1bvshKV_6_b63_FAkcUs9W6tUKGeIoQ3SHEZsovEWs,72
|
359
|
+
diffusers-0.25.1.dist-info/top_level.txt,sha256=axJl2884vMSvhzrFrSoht36QXA_6gZN9cKtg4xOO72o,10
|
360
|
+
diffusers-0.25.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|