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
f685981e
Unverified
Commit
f685981e
authored
Apr 09, 2025
by
Sayak Paul
Committed by
GitHub
Apr 09, 2025
Browse files
[docs] minor updates to dtype map docs. (#11237)
minor updates to dtype map docs.
parent
b924251d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/using-diffusers/loading.md
docs/source/en/using-diffusers/loading.md
+1
-1
No files found.
docs/source/en/using-diffusers/loading.md
View file @
f685981e
...
@@ -105,7 +105,7 @@ import torch
...
@@ -105,7 +105,7 @@ import torch
pipe
=
HunyuanVideoPipeline
.
from_pretrained
(
pipe
=
HunyuanVideoPipeline
.
from_pretrained
(
"hunyuanvideo-community/HunyuanVideo"
,
"hunyuanvideo-community/HunyuanVideo"
,
torch_dtype
=
{
'
transformer
'
:
torch
.
bfloat16
,
'
default
'
:
torch
.
float16
},
torch_dtype
=
{
"
transformer
"
:
torch
.
bfloat16
,
"
default
"
:
torch
.
float16
},
)
)
print
(
pipe
.
transformer
.
dtype
,
pipe
.
vae
.
dtype
)
# (torch.bfloat16, torch.float16)
print
(
pipe
.
transformer
.
dtype
,
pipe
.
vae
.
dtype
)
# (torch.bfloat16, torch.float16)
```
```
...
...
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