Skip to content

Commit f685981

Browse files
authored
[docs] minor updates to dtype map docs. (#11237)
minor updates to dtype map docs.
1 parent b924251 commit f685981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/en/using-diffusers/loading.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ import torch
105105

106106
pipe = HunyuanVideoPipeline.from_pretrained(
107107
"hunyuanvideo-community/HunyuanVideo",
108-
torch_dtype={'transformer': torch.bfloat16, 'default': torch.float16},
108+
torch_dtype={"transformer": torch.bfloat16, "default": torch.float16},
109109
)
110110
print(pipe.transformer.dtype, pipe.vae.dtype) # (torch.bfloat16, torch.float16)
111111
```

0 commit comments

Comments
 (0)