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
OpenDAS
diffusers
Commits
f912f39b
Unverified
Commit
f912f39b
authored
Oct 26, 2023
by
YiYi Xu
Committed by
GitHub
Oct 27, 2023
Browse files
correct checkpoint in kandinsky2.2 doc page (#5550)
update checkpoint Co-authored-by:
yiyixuxu
<
yixu310@gmail,com
>
parent
0d4b459b
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/kandinsky_v22.md
docs/source/en/api/pipelines/kandinsky_v22.md
+1
-1
No files found.
docs/source/en/api/pipelines/kandinsky_v22.md
View file @
f912f39b
...
...
@@ -237,7 +237,7 @@ to speed-up the optimization. This can be done by simply running:
from
diffusers
import
DiffusionPipeline
import
torch
t2i_pipe
=
DiffusionPipeline
.
from_pretrained
(
"kandinsky-community/kandinsky-2-
1
"
,
torch_dtype
=
torch
.
float16
)
t2i_pipe
=
DiffusionPipeline
.
from_pretrained
(
"kandinsky-community/kandinsky-2-
2-decoder
"
,
torch_dtype
=
torch
.
float16
)
t2i_pipe
.
enable_xformers_memory_efficient_attention
()
```
...
...
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