Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
f277d5e5
Commit
f277d5e5
authored
Oct 18, 2023
by
Patrick von Platen
Browse files
make fix copies
parent
98a0712d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py
...ffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py
+1
-0
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion_img2img.py
...pipelines/alt_diffusion/pipeline_alt_diffusion_img2img.py
+1
-0
No files found.
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion.py
View file @
f277d5e5
...
@@ -106,6 +106,7 @@ class AltDiffusionPipeline(DiffusionPipeline, TextualInversionLoaderMixin, LoraL
...
@@ -106,6 +106,7 @@ class AltDiffusionPipeline(DiffusionPipeline, TextualInversionLoaderMixin, LoraL
feature_extractor ([`~transformers.CLIPImageProcessor`]):
feature_extractor ([`~transformers.CLIPImageProcessor`]):
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.
"""
"""
model_cpu_offload_seq
=
"text_encoder->unet->vae"
model_cpu_offload_seq
=
"text_encoder->unet->vae"
_optional_components
=
[
"safety_checker"
,
"feature_extractor"
]
_optional_components
=
[
"safety_checker"
,
"feature_extractor"
]
_exclude_from_cpu_offload
=
[
"safety_checker"
]
_exclude_from_cpu_offload
=
[
"safety_checker"
]
...
...
src/diffusers/pipelines/alt_diffusion/pipeline_alt_diffusion_img2img.py
View file @
f277d5e5
...
@@ -134,6 +134,7 @@ class AltDiffusionImg2ImgPipeline(
...
@@ -134,6 +134,7 @@ class AltDiffusionImg2ImgPipeline(
feature_extractor ([`~transformers.CLIPImageProcessor`]):
feature_extractor ([`~transformers.CLIPImageProcessor`]):
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.
"""
"""
model_cpu_offload_seq
=
"text_encoder->unet->vae"
model_cpu_offload_seq
=
"text_encoder->unet->vae"
_optional_components
=
[
"safety_checker"
,
"feature_extractor"
]
_optional_components
=
[
"safety_checker"
,
"feature_extractor"
]
_exclude_from_cpu_offload
=
[
"safety_checker"
]
_exclude_from_cpu_offload
=
[
"safety_checker"
]
...
...
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