Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
6ba0efb9
Commit
6ba0efb9
authored
Apr 26, 2023
by
Patrick von Platen
Browse files
Release: v0.16.0
parent
46ceba5b
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
15 deletions
+15
-15
examples/controlnet/train_controlnet.py
examples/controlnet/train_controlnet.py
+1
-1
examples/controlnet/train_controlnet_flax.py
examples/controlnet/train_controlnet_flax.py
+1
-1
examples/custom_diffusion/train_custom_diffusion.py
examples/custom_diffusion/train_custom_diffusion.py
+1
-1
examples/dreambooth/train_dreambooth.py
examples/dreambooth/train_dreambooth.py
+1
-1
examples/dreambooth/train_dreambooth_flax.py
examples/dreambooth/train_dreambooth_flax.py
+1
-1
examples/dreambooth/train_dreambooth_lora.py
examples/dreambooth/train_dreambooth_lora.py
+1
-1
examples/instruct_pix2pix/train_instruct_pix2pix.py
examples/instruct_pix2pix/train_instruct_pix2pix.py
+1
-1
examples/text_to_image/train_text_to_image.py
examples/text_to_image/train_text_to_image.py
+1
-1
examples/text_to_image/train_text_to_image_flax.py
examples/text_to_image/train_text_to_image_flax.py
+1
-1
examples/text_to_image/train_text_to_image_lora.py
examples/text_to_image/train_text_to_image_lora.py
+1
-1
examples/textual_inversion/textual_inversion.py
examples/textual_inversion/textual_inversion.py
+1
-1
examples/textual_inversion/textual_inversion_flax.py
examples/textual_inversion/textual_inversion_flax.py
+1
-1
examples/unconditional_image_generation/train_unconditional.py
...les/unconditional_image_generation/train_unconditional.py
+1
-1
setup.py
setup.py
+1
-1
src/diffusers/__init__.py
src/diffusers/__init__.py
+1
-1
No files found.
examples/controlnet/train_controlnet.py
View file @
6ba0efb9
...
@@ -55,7 +55,7 @@ if is_wandb_available():
...
@@ -55,7 +55,7 @@ if is_wandb_available():
import
wandb
import
wandb
# 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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
)
logger
=
get_logger
(
__name__
)
...
...
examples/controlnet/train_controlnet_flax.py
View file @
6ba0efb9
...
@@ -59,7 +59,7 @@ if is_wandb_available():
...
@@ -59,7 +59,7 @@ if is_wandb_available():
import
wandb
import
wandb
# 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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
examples/custom_diffusion/train_custom_diffusion.py
View file @
6ba0efb9
...
@@ -56,7 +56,7 @@ from diffusers.utils.import_utils import is_xformers_available
...
@@ -56,7 +56,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.1
5.0.dev
0"
)
check_min_version
(
"0.1
6.
0"
)
logger
=
get_logger
(
__name__
)
logger
=
get_logger
(
__name__
)
...
...
examples/dreambooth/train_dreambooth.py
View file @
6ba0efb9
...
@@ -56,7 +56,7 @@ if is_wandb_available():
...
@@ -56,7 +56,7 @@ if is_wandb_available():
import
wandb
import
wandb
# 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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
)
logger
=
get_logger
(
__name__
)
...
...
examples/dreambooth/train_dreambooth_flax.py
View file @
6ba0efb9
...
@@ -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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
# 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"
))
...
...
examples/dreambooth/train_dreambooth_lora.py
View file @
6ba0efb9
...
@@ -55,7 +55,7 @@ from diffusers.utils.import_utils import is_xformers_available
...
@@ -55,7 +55,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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
)
logger
=
get_logger
(
__name__
)
...
...
examples/instruct_pix2pix/train_instruct_pix2pix.py
View file @
6ba0efb9
...
@@ -51,7 +51,7 @@ from diffusers.utils.import_utils import is_xformers_available
...
@@ -51,7 +51,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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
...
...
examples/text_to_image/train_text_to_image.py
View file @
6ba0efb9
...
@@ -50,7 +50,7 @@ if is_wandb_available():
...
@@ -50,7 +50,7 @@ if is_wandb_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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
...
...
examples/text_to_image/train_text_to_image_flax.py
View file @
6ba0efb9
...
@@ -33,7 +33,7 @@ from diffusers.utils import check_min_version
...
@@ -33,7 +33,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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
examples/text_to_image/train_text_to_image_lora.py
View file @
6ba0efb9
...
@@ -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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
...
...
examples/textual_inversion/textual_inversion.py
View file @
6ba0efb9
...
@@ -77,7 +77,7 @@ else:
...
@@ -77,7 +77,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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
)
logger
=
get_logger
(
__name__
)
...
...
examples/textual_inversion/textual_inversion_flax.py
View file @
6ba0efb9
...
@@ -56,7 +56,7 @@ else:
...
@@ -56,7 +56,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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
examples/unconditional_image_generation/train_unconditional.py
View file @
6ba0efb9
...
@@ -28,7 +28,7 @@ from diffusers.utils.import_utils import is_xformers_available
...
@@ -28,7 +28,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.16.0
.dev0
"
)
check_min_version
(
"0.16.0"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
logger
=
get_logger
(
__name__
,
log_level
=
"INFO"
)
...
...
setup.py
View file @
6ba0efb9
...
@@ -226,7 +226,7 @@ install_requires = [
...
@@ -226,7 +226,7 @@ install_requires = [
setup
(
setup
(
name
=
"diffusers"
,
name
=
"diffusers"
,
version
=
"0.16.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)
version
=
"0.16.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)
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"
,
...
...
src/diffusers/__init__.py
View file @
6ba0efb9
__version__
=
"0.16.0
.dev0
"
__version__
=
"0.16.0"
from
.configuration_utils
import
ConfigMixin
from
.configuration_utils
import
ConfigMixin
from
.utils
import
(
from
.utils
import
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment