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
c0c98df9
Unverified
Commit
c0c98df9
authored
Sep 27, 2022
by
Suraj Patil
Committed by
GitHub
Sep 27, 2022
Browse files
[CLIPGuidedStableDiffusion] remove set_format from pipeline (#653)
remove set_format from pipeline
parent
85494e88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/community/clip_guided_stable_diffusion.py
examples/community/clip_guided_stable_diffusion.py
+0
-1
No files found.
examples/community/clip_guided_stable_diffusion.py
View file @
c0c98df9
...
@@ -60,7 +60,6 @@ class CLIPGuidedStableDiffusion(DiffusionPipeline):
...
@@ -60,7 +60,6 @@ class CLIPGuidedStableDiffusion(DiffusionPipeline):
feature_extractor
:
CLIPFeatureExtractor
,
feature_extractor
:
CLIPFeatureExtractor
,
):
):
super
().
__init__
()
super
().
__init__
()
scheduler
=
scheduler
.
set_format
(
"pt"
)
self
.
register_modules
(
self
.
register_modules
(
vae
=
vae
,
vae
=
vae
,
text_encoder
=
text_encoder
,
text_encoder
=
text_encoder
,
...
...
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