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
5623ea06
Commit
5623ea06
authored
Jul 26, 2023
by
Patrick von Platen
Browse files
quick fix
parent
16049caf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md
.../en/api/pipelines/stable_diffusion/stable_diffusion_xl.md
+1
-1
No files found.
docs/source/en/api/pipelines/stable_diffusion/stable_diffusion_xl.md
View file @
5623ea06
...
...
@@ -151,7 +151,7 @@ import torch
base
=
DiffusionPipeline
.
from_pretrained
(
"stabilityai/stable-diffusion-xl-base-1.0"
,
torch_dtype
=
torch
.
float16
,
variant
=
"fp16"
,
use_safetensors
=
True
)
pip
e
.
to
(
"cuda"
)
bas
e
.
to
(
"cuda"
)
refiner
=
DiffusionPipeline
.
from_pretrained
(
"stabilityai/stable-diffusion-xl-refiner-1.0"
,
...
...
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