"docs/source/api/vscode:/vscode.git/clone" did not exist on "29aae007fffa965c3bcbae7692f1e3d4f301cff8"
Unverified Commit 3d2648d7 authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

[Post release] Push post release (#2546)

parent 1f4deb69
...@@ -47,7 +47,7 @@ from diffusers.utils.import_utils import is_xformers_available ...@@ -47,7 +47,7 @@ from diffusers.utils.import_utils import is_xformers_available
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = get_logger(__name__) logger = get_logger(__name__)
......
...@@ -36,7 +36,7 @@ from diffusers.utils import check_min_version ...@@ -36,7 +36,7 @@ from diffusers.utils import check_min_version
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
# Cache compiled models across invocations of this script. # Cache compiled models across invocations of this script.
cc.initialize_cache(os.path.expanduser("~/.cache/jax/compilation_cache")) cc.initialize_cache(os.path.expanduser("~/.cache/jax/compilation_cache"))
......
...@@ -54,7 +54,7 @@ from diffusers.utils.import_utils import is_xformers_available ...@@ -54,7 +54,7 @@ from diffusers.utils.import_utils import is_xformers_available
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = get_logger(__name__) logger = get_logger(__name__)
......
...@@ -47,7 +47,7 @@ from diffusers.utils.import_utils import is_xformers_available ...@@ -47,7 +47,7 @@ from diffusers.utils.import_utils import is_xformers_available
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = get_logger(__name__, log_level="INFO") logger = get_logger(__name__, log_level="INFO")
......
...@@ -34,7 +34,7 @@ from diffusers.utils import check_min_version ...@@ -34,7 +34,7 @@ from diffusers.utils import check_min_version
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
......
...@@ -48,7 +48,7 @@ from diffusers.utils.import_utils import is_xformers_available ...@@ -48,7 +48,7 @@ from diffusers.utils.import_utils import is_xformers_available
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = get_logger(__name__, log_level="INFO") logger = get_logger(__name__, log_level="INFO")
......
...@@ -78,7 +78,7 @@ else: ...@@ -78,7 +78,7 @@ else:
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = get_logger(__name__) logger = get_logger(__name__)
......
...@@ -57,7 +57,7 @@ else: ...@@ -57,7 +57,7 @@ else:
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
......
...@@ -27,7 +27,7 @@ from diffusers.utils import check_min_version, is_accelerate_version, is_tensorb ...@@ -27,7 +27,7 @@ from diffusers.utils import check_min_version, is_accelerate_version, is_tensorb
# Will error if the minimal version of diffusers is not installed. Remove at your own risks. # Will error if the minimal version of diffusers is not installed. Remove at your own risks.
check_min_version("0.14.0") check_min_version("0.15.0.dev0")
logger = get_logger(__name__, log_level="INFO") logger = get_logger(__name__, log_level="INFO")
......
...@@ -219,7 +219,7 @@ install_requires = [ ...@@ -219,7 +219,7 @@ install_requires = [
setup( setup(
name="diffusers", name="diffusers",
version="0.14.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.15.0.dev0", # 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", description="Diffusers",
long_description=open("README.md", "r", encoding="utf-8").read(), long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
......
__version__ = "0.14.0" __version__ = "0.15.0.dev0"
from .configuration_utils import ConfigMixin from .configuration_utils import ConfigMixin
from .utils import ( from .utils import (
......
...@@ -21,7 +21,7 @@ import torch ...@@ -21,7 +21,7 @@ import torch
from ...models import UNet2DModel from ...models import UNet2DModel
from ...schedulers import RePaintScheduler from ...schedulers import RePaintScheduler
from ...utils import PIL_INTERPOLATION, deprecate, logging, randn_tensor from ...utils import PIL_INTERPOLATION, logging, randn_tensor
from ..pipeline_utils import DiffusionPipeline, ImagePipelineOutput from ..pipeline_utils import DiffusionPipeline, ImagePipelineOutput
...@@ -90,7 +90,6 @@ class RePaintPipeline(DiffusionPipeline): ...@@ -90,7 +90,6 @@ class RePaintPipeline(DiffusionPipeline):
generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None, generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None,
output_type: Optional[str] = "pil", output_type: Optional[str] = "pil",
return_dict: bool = True, return_dict: bool = True,
**kwargs,
) -> Union[ImagePipelineOutput, Tuple]: ) -> Union[ImagePipelineOutput, Tuple]:
r""" r"""
Args: Args:
...@@ -124,9 +123,7 @@ class RePaintPipeline(DiffusionPipeline): ...@@ -124,9 +123,7 @@ class RePaintPipeline(DiffusionPipeline):
True, otherwise a `tuple. When returning a tuple, the first element is a list with the generated images. True, otherwise a `tuple. When returning a tuple, the first element is a list with the generated images.
""" """
message = "Please use `image` instead of `original_image`." original_image = image
original_image = deprecate("original_image", "0.15.0", message, take_from=kwargs)
original_image = original_image or image
original_image = _preprocess_image(original_image) original_image = _preprocess_image(original_image)
original_image = original_image.to(device=self.device, dtype=self.unet.dtype) original_image = original_image.to(device=self.device, dtype=self.unet.dtype)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment