diffusers 0.30.1__py3-none-any.whl → 0.30.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diffusers/__init__.py +1 -1
- diffusers/loaders/ip_adapter.py +2 -0
- diffusers/loaders/single_file_utils.py +2 -2
- diffusers/pipelines/flux/pipeline_flux.py +1 -1
- {diffusers-0.30.1.dist-info → diffusers-0.30.2.dist-info}/METADATA +1 -1
- {diffusers-0.30.1.dist-info → diffusers-0.30.2.dist-info}/RECORD +10 -10
- {diffusers-0.30.1.dist-info → diffusers-0.30.2.dist-info}/WHEEL +1 -1
- {diffusers-0.30.1.dist-info → diffusers-0.30.2.dist-info}/LICENSE +0 -0
- {diffusers-0.30.1.dist-info → diffusers-0.30.2.dist-info}/entry_points.txt +0 -0
- {diffusers-0.30.1.dist-info → diffusers-0.30.2.dist-info}/top_level.txt +0 -0
diffusers/__init__.py
CHANGED
diffusers/loaders/ip_adapter.py
CHANGED
@@ -208,6 +208,8 @@ class IPAdapterMixin:
|
|
208
208
|
pretrained_model_name_or_path_or_dict,
|
209
209
|
subfolder=image_encoder_subfolder,
|
210
210
|
low_cpu_mem_usage=low_cpu_mem_usage,
|
211
|
+
cache_dir=cache_dir,
|
212
|
+
local_files_only=local_files_only,
|
211
213
|
).to(self.device, dtype=self.dtype)
|
212
214
|
self.register_modules(image_encoder=image_encoder)
|
213
215
|
else:
|
@@ -91,11 +91,11 @@ DIFFUSERS_DEFAULT_PIPELINE_PATHS = {
|
|
91
91
|
"xl_inpaint": {"pretrained_model_name_or_path": "diffusers/stable-diffusion-xl-1.0-inpainting-0.1"},
|
92
92
|
"playground-v2-5": {"pretrained_model_name_or_path": "playgroundai/playground-v2.5-1024px-aesthetic"},
|
93
93
|
"upscale": {"pretrained_model_name_or_path": "stabilityai/stable-diffusion-x4-upscaler"},
|
94
|
-
"inpainting": {"pretrained_model_name_or_path": "
|
94
|
+
"inpainting": {"pretrained_model_name_or_path": "Lykon/dreamshaper-8-inpainting"},
|
95
95
|
"inpainting_v2": {"pretrained_model_name_or_path": "stabilityai/stable-diffusion-2-inpainting"},
|
96
96
|
"controlnet": {"pretrained_model_name_or_path": "lllyasviel/control_v11p_sd15_canny"},
|
97
97
|
"v2": {"pretrained_model_name_or_path": "stabilityai/stable-diffusion-2-1"},
|
98
|
-
"v1": {"pretrained_model_name_or_path": "
|
98
|
+
"v1": {"pretrained_model_name_or_path": "Lykon/dreamshaper-8"},
|
99
99
|
"stable_cascade_stage_b": {"pretrained_model_name_or_path": "stabilityai/stable-cascade", "subfolder": "decoder"},
|
100
100
|
"stable_cascade_stage_b_lite": {
|
101
101
|
"pretrained_model_name_or_path": "stabilityai/stable-cascade",
|
@@ -280,7 +280,7 @@ class FluxPipeline(DiffusionPipeline, FluxLoraLoaderMixin):
|
|
280
280
|
prompt_embeds = prompt_embeds.to(dtype=self.text_encoder.dtype, device=device)
|
281
281
|
|
282
282
|
# duplicate text embeddings for each generation per prompt, using mps friendly method
|
283
|
-
prompt_embeds = prompt_embeds.repeat(1, num_images_per_prompt
|
283
|
+
prompt_embeds = prompt_embeds.repeat(1, num_images_per_prompt)
|
284
284
|
prompt_embeds = prompt_embeds.view(batch_size * num_images_per_prompt, -1)
|
285
285
|
|
286
286
|
return prompt_embeds
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: diffusers
|
3
|
-
Version: 0.30.
|
3
|
+
Version: 0.30.2
|
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)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
diffusers/__init__.py,sha256=
|
1
|
+
diffusers/__init__.py,sha256=41QUjRiVqQrTK2FPRwBSz59s8TYEbRSNB54bmuQSUO0,34105
|
2
2
|
diffusers/callbacks.py,sha256=m8ariuJC-WaPHMZn1zUyXG8hlAvaOvEW_6YWdKo--eo,6717
|
3
3
|
diffusers/configuration_utils.py,sha256=yJiYuhgyHRK3AgjL15mevGzBJg7GsXZOYVjWVgy4AIs,32484
|
4
4
|
diffusers/dependency_versions_check.py,sha256=J_ZAEhVN6uLWAOUZCJrcGJ7PYxUek4f_nwGTFM7LTk8,1271
|
@@ -16,14 +16,14 @@ diffusers/experimental/__init__.py,sha256=0C9ExG0XYiGZuzFJkZuJ53K6Ix5ylF2kWe4PGA
|
|
16
16
|
diffusers/experimental/rl/__init__.py,sha256=Gcoznw9rYjfMvswH0seXekKYDAAN1YXXxZ-RWMdzvrE,57
|
17
17
|
diffusers/experimental/rl/value_guided_sampling.py,sha256=gnUDVNx5nIVJDWxhHBlga4j7VQTxSTkUI1QaCnpiWAM,6033
|
18
18
|
diffusers/loaders/__init__.py,sha256=J3fmn2UoRVDh_QaeNMH-Zwn7ejwVBmTWofla6Tp6Rek,4005
|
19
|
-
diffusers/loaders/ip_adapter.py,sha256=
|
19
|
+
diffusers/loaders/ip_adapter.py,sha256=cdQGSWcJECas_Pz1nNMhoSBceA9zOXFEvkAvVdq251o,17078
|
20
20
|
diffusers/loaders/lora_base.py,sha256=ni68uQ1apLAjiwNodXv-teSgVlQFmKIiMhU3nAHoYyo,31716
|
21
21
|
diffusers/loaders/lora_conversion_utils.py,sha256=tbiyxd9ByjGDBv2fSBOo8uPUh0uProjZBbXFH3zoG7A,14322
|
22
22
|
diffusers/loaders/lora_pipeline.py,sha256=3ZREkA-aVGLZyVaDoP_HzlRVYYU4C-7-uNgG5EFtfcM,106023
|
23
23
|
diffusers/loaders/peft.py,sha256=EtOFz7ezjBVwQrwIZ0z-bwWGIWKAroWh0oCpa_mu2pw,16127
|
24
24
|
diffusers/loaders/single_file.py,sha256=HD5p15rgNx6Ao3G8ply3Uq7sS7SaKl0j8wKj2vHIJPA,24222
|
25
25
|
diffusers/loaders/single_file_model.py,sha256=CiAXlpS3S9EzN6X8tDE4hzjN5fxu53wS_e-BLSmZ6U8,14330
|
26
|
-
diffusers/loaders/single_file_utils.py,sha256=
|
26
|
+
diffusers/loaders/single_file_utils.py,sha256=F4WO_d9RKY6Dcqn6LqNGvziahZr4A6RJzGeM_2tEAkU,89987
|
27
27
|
diffusers/loaders/textual_inversion.py,sha256=QjRUJZfyUJFY-sYAIVLUZgNuuk65xlbiIwJ3CD_0rAo,26655
|
28
28
|
diffusers/loaders/unet.py,sha256=thoMcf4Q2F5yn1UJVFEAf64F5TgZTULrmrcFHkZeJ4I,43709
|
29
29
|
diffusers/loaders/unet_loader_utils.py,sha256=9IHd_RlKqMstSO8G7btUdL1-Y3-fGX7Kbc4frEbRVVM,6220
|
@@ -209,7 +209,7 @@ diffusers/pipelines/deprecated/vq_diffusion/pipeline_vq_diffusion.py,sha256=YSYu
|
|
209
209
|
diffusers/pipelines/dit/__init__.py,sha256=w6yUFMbGzaUGPKpLfEfvHlYmrKD0UErczwsHDaDtLuQ,408
|
210
210
|
diffusers/pipelines/dit/pipeline_dit.py,sha256=hrLURHV8-ujtNF6t-nrYXVfARyVKh-_OfO9jAtaWUS0,9949
|
211
211
|
diffusers/pipelines/flux/__init__.py,sha256=hiwnaba-laO3e2Wgh9dyzMWowHDGhghuQc5ZJKjCg3U,1457
|
212
|
-
diffusers/pipelines/flux/pipeline_flux.py,sha256=
|
212
|
+
diffusers/pipelines/flux/pipeline_flux.py,sha256=rvUztMJh55AQYzrIDPOdbic6asc9da3HJ_iZBYoI-Mg,34417
|
213
213
|
diffusers/pipelines/flux/pipeline_output.py,sha256=zKVpr6EHsvT7ADxNkvdZLv9519JPMThZEwxj9bvx-8g,598
|
214
214
|
diffusers/pipelines/hunyuandit/__init__.py,sha256=Zby0yEsLNAoa4cf6W92QXIzyGoijI54xXRVhmrHGHsc,1302
|
215
215
|
diffusers/pipelines/hunyuandit/pipeline_hunyuandit.py,sha256=eq5LVU3J22-f4ahz3Erij63DZf7bSjh6uhIlCXtzx5Y,42835
|
@@ -464,9 +464,9 @@ diffusers/utils/state_dict_utils.py,sha256=NsWzyX4eqKCfjLjgChQnFSf7nSQz1XFHgINYB
|
|
464
464
|
diffusers/utils/testing_utils.py,sha256=16BNdTHQp9bJRkDi2iJa61i4ANC4875fjloTVmDIZ1w,36954
|
465
465
|
diffusers/utils/torch_utils.py,sha256=6e6cJmPMbkEqXXJLlcKuVz0zZF8fIc7dF-azq-_6-Xw,6234
|
466
466
|
diffusers/utils/versions.py,sha256=-e7XW1TzZ-tsRo9PMQHp-hNGYHuVDFzLtwg3uAJzqdI,4333
|
467
|
-
diffusers-0.30.
|
468
|
-
diffusers-0.30.
|
469
|
-
diffusers-0.30.
|
470
|
-
diffusers-0.30.
|
471
|
-
diffusers-0.30.
|
472
|
-
diffusers-0.30.
|
467
|
+
diffusers-0.30.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
468
|
+
diffusers-0.30.2.dist-info/METADATA,sha256=5w7r16D1QCCi_8ZB1omljebUoUFZe7rLCC22aqXsItA,18858
|
469
|
+
diffusers-0.30.2.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
|
470
|
+
diffusers-0.30.2.dist-info/entry_points.txt,sha256=_1bvshKV_6_b63_FAkcUs9W6tUKGeIoQ3SHEZsovEWs,72
|
471
|
+
diffusers-0.30.2.dist-info/top_level.txt,sha256=axJl2884vMSvhzrFrSoht36QXA_6gZN9cKtg4xOO72o,10
|
472
|
+
diffusers-0.30.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|