[Post release] Push post release (#2546)
This commit is contained in:
parent
1f4deb697f
commit
3d2648d743
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
|
|
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
# Cache compiled models across invocations of this script.
|
||||
cc.initialize_cache(os.path.expanduser("~/.cache/jax/compilation_cache"))
|
||||
|
|
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
logger = get_logger(__name__)
|
||||
|
||||
|
|
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
logger = get_logger(__name__, log_level="INFO")
|
||||
|
||||
|
|
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
logger = get_logger(__name__, log_level="INFO")
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ else:
|
|||
|
||||
|
||||
# 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__)
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ else:
|
|||
# ------------------------------------------------------------------------------
|
||||
|
||||
# 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__)
|
||||
|
||||
|
|
|
@ -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.
|
||||
check_min_version("0.14.0")
|
||||
check_min_version("0.15.0.dev0")
|
||||
|
||||
logger = get_logger(__name__, log_level="INFO")
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -219,7 +219,7 @@ install_requires = [
|
|||
|
||||
setup(
|
||||
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",
|
||||
long_description=open("README.md", "r", encoding="utf-8").read(),
|
||||
long_description_content_type="text/markdown",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
__version__ = "0.14.0"
|
||||
__version__ = "0.15.0.dev0"
|
||||
|
||||
from .configuration_utils import ConfigMixin
|
||||
from .utils import (
|
||||
|
|
|
@ -21,7 +21,7 @@ import torch
|
|||
|
||||
from ...models import UNet2DModel
|
||||
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
|
||||
|
||||
|
||||
|
@ -90,7 +90,6 @@ class RePaintPipeline(DiffusionPipeline):
|
|||
generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None,
|
||||
output_type: Optional[str] = "pil",
|
||||
return_dict: bool = True,
|
||||
**kwargs,
|
||||
) -> Union[ImagePipelineOutput, Tuple]:
|
||||
r"""
|
||||
Args:
|
||||
|
@ -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.
|
||||
"""
|
||||
|
||||
message = "Please use `image` instead of `original_image`."
|
||||
original_image = deprecate("original_image", "0.15.0", message, take_from=kwargs)
|
||||
original_image = original_image or image
|
||||
original_image = image
|
||||
|
||||
original_image = _preprocess_image(original_image)
|
||||
original_image = original_image.to(device=self.device, dtype=self.unet.dtype)
|
||||
|
|
Loading…
Reference in New Issue