We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc43608 commit 2f0fcf4Copy full SHA for 2f0fcf4
README.md
@@ -88,6 +88,7 @@ We recommend using the model in [half-precision (`fp16`)](https://pytorch.org/bl
88
precision while being roughly twice as fast and requiring half the amount of GPU RAM.
89
90
```python
91
+import torch
92
from diffusers import StableDiffusionPipeline
93
94
pipe = StableDiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype=torch.float16, revision="fp16")
0 commit comments