auto-diffusers 2.0.16__tar.gz → 2.0.17__tar.gz
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.
- {auto_diffusers-2.0.16/src/auto_diffusers.egg-info → auto_diffusers-2.0.17}/PKG-INFO +1 -1
- auto_diffusers-2.0.17/Version.txt +1 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers/pipeline_easy.py +10 -6
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17/src/auto_diffusers.egg-info}/PKG-INFO +1 -1
- auto_diffusers-2.0.16/Version.txt +0 -1
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/LICENSE +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/MANIFEST.in +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/README.md +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/setup.cfg +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/setup.py +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers/__init__.py +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers/py.typed +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers.egg-info/SOURCES.txt +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers.egg-info/dependency_links.txt +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers.egg-info/requires.txt +0 -0
- {auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.17
|
|
@@ -1274,13 +1274,14 @@ class EasyPipelineForText2Image(AutoPipelineForText2Image, AutoConfig):
|
|
|
1274
1274
|
# Check the format of the model checkpoint
|
|
1275
1275
|
if hf_checkpoint_status.loading_method == "from_single_file":
|
|
1276
1276
|
# Load the pipeline from a single file checkpoint
|
|
1277
|
-
|
|
1277
|
+
pipeline = load_pipeline_from_single_file(
|
|
1278
1278
|
pretrained_model_or_path=checkpoint_path,
|
|
1279
1279
|
pipeline_mapping=SINGLE_FILE_CHECKPOINT_TEXT2IMAGE_PIPELINE_MAPPING,
|
|
1280
1280
|
**kwargs,
|
|
1281
1281
|
)
|
|
1282
1282
|
else:
|
|
1283
|
-
|
|
1283
|
+
pipeline = cls.from_pretrained(checkpoint_path, **kwargs)
|
|
1284
|
+
return add_methods(pipeline)
|
|
1284
1285
|
|
|
1285
1286
|
@classmethod
|
|
1286
1287
|
def from_civitai(cls, pretrained_model_link_or_path, **kwargs):
|
|
@@ -1639,11 +1640,12 @@ class EasyPipelineForImage2Image(AutoPipelineForImage2Image):
|
|
|
1639
1640
|
checkpoint_path = checkpoint_status.model_path
|
|
1640
1641
|
|
|
1641
1642
|
# Load the pipeline from a single file checkpoint
|
|
1642
|
-
|
|
1643
|
+
pipeline = load_pipeline_from_single_file(
|
|
1643
1644
|
pretrained_model_or_path=checkpoint_path,
|
|
1644
1645
|
pipeline_mapping=SINGLE_FILE_CHECKPOINT_IMAGE2IMAGE_PIPELINE_MAPPING,
|
|
1645
1646
|
**kwargs,
|
|
1646
1647
|
)
|
|
1648
|
+
return add_methods(pipeline)
|
|
1647
1649
|
|
|
1648
1650
|
|
|
1649
1651
|
class EasyPipelineForInpainting(AutoPipelineForInpainting):
|
|
@@ -1789,13 +1791,14 @@ class EasyPipelineForInpainting(AutoPipelineForInpainting):
|
|
|
1789
1791
|
# Check the format of the model checkpoint
|
|
1790
1792
|
if hf_checkpoint_status.loading_method == "from_single_file":
|
|
1791
1793
|
# Load the pipeline from a single file checkpoint
|
|
1792
|
-
|
|
1794
|
+
pipeline = load_pipeline_from_single_file(
|
|
1793
1795
|
pretrained_model_or_path=checkpoint_path,
|
|
1794
1796
|
pipeline_mapping=SINGLE_FILE_CHECKPOINT_INPAINT_PIPELINE_MAPPING,
|
|
1795
1797
|
**kwargs,
|
|
1796
1798
|
)
|
|
1797
1799
|
else:
|
|
1798
|
-
|
|
1800
|
+
pipeline = cls.from_pretrained(checkpoint_path, **kwargs)
|
|
1801
|
+
return add_methods(pipeline)
|
|
1799
1802
|
|
|
1800
1803
|
@classmethod
|
|
1801
1804
|
def from_civitai(cls, pretrained_model_link_or_path, **kwargs):
|
|
@@ -1895,8 +1898,9 @@ class EasyPipelineForInpainting(AutoPipelineForInpainting):
|
|
|
1895
1898
|
checkpoint_path = checkpoint_status.model_path
|
|
1896
1899
|
|
|
1897
1900
|
# Load the pipeline from a single file checkpoint
|
|
1898
|
-
|
|
1901
|
+
pipeline = load_pipeline_from_single_file(
|
|
1899
1902
|
pretrained_model_or_path=checkpoint_path,
|
|
1900
1903
|
pipeline_mapping=SINGLE_FILE_CHECKPOINT_INPAINT_PIPELINE_MAPPING,
|
|
1901
1904
|
**kwargs,
|
|
1902
1905
|
)
|
|
1906
|
+
return add_methods(pipeline)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.16
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{auto_diffusers-2.0.16 → auto_diffusers-2.0.17}/src/auto_diffusers.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|