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 4fcd0bc commit d519a3cCopy full SHA for d519a3c
docs/source/en/optimization/fp16.md
@@ -209,7 +209,7 @@ There is also a [compile_regions](https://github.com/huggingface/accelerate/blob
209
# pip install -U accelerate
210
import torch
211
from diffusers import StableDiffusionXLPipeline
212
-from accelerate.utils import compile regions
+from accelerate.utils import compile_regions
213
214
pipeline = StableDiffusionXLPipeline.from_pretrained(
215
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16
0 commit comments