Compare commits

...

2 Commits

Author SHA1 Message Date
Patrick von Platen
374ec16170 Release: v0.12.1 2023-01-27 09:44:40 +02:00
Patrick von Platen
fdc0e38613 Don't call the Hub if local_files_only is specifiied (#2119)
Don't call the Hub if
2023-01-27 09:44:12 +02:00
4 changed files with 7 additions and 3 deletions

View File

@@ -219,7 +219,7 @@ install_requires = [
setup(
name="diffusers",
version="0.12.0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
version="0.12.1", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
description="Diffusers",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",

View File

@@ -1,4 +1,4 @@
__version__ = "0.12.0"
__version__ = "0.12.1"
from .configuration_utils import ConfigMixin
from .utils import (

View File

@@ -505,7 +505,7 @@ class DiffusionPipeline(ConfigMixin):
user_agent = http_user_agent(user_agent)
if is_safetensors_available():
if is_safetensors_available() and not local_files_only:
info = model_info(
pretrained_model_name_or_path,
use_auth_token=use_auth_token,

View File

@@ -122,6 +122,8 @@ def pre_release_work(patch=False):
print(f"Updating version to {version}.")
global_version_update(version, patch=patch)
# if not patch:
# print("Cleaning main README, don't forget to run `make fix-copies`.")
# clean_main_ref_in_model_list()
@@ -141,6 +143,8 @@ def post_release_work():
print(f"Updating version to {version}.")
global_version_update(version)
# print("Cleaning main README, don't forget to run `make fix-copies`.")
# clean_main_ref_in_model_list()