Unverified Commit 8f8888a7 authored by Manith Ratnayake's avatar Manith Ratnayake Committed by GitHub
Browse files

[docs] typo : corrected 'compile regions' to 'compile_regions' (#12199)

[docs] typo: corrected 'compile regions' to 'compile_regions'
parent afc97218
...@@ -209,7 +209,7 @@ There is also a [compile_regions](https://github.com/huggingface/accelerate/blob ...@@ -209,7 +209,7 @@ There is also a [compile_regions](https://github.com/huggingface/accelerate/blob
# pip install -U accelerate # pip install -U accelerate
import torch import torch
from diffusers import StableDiffusionXLPipeline from diffusers import StableDiffusionXLPipeline
from accelerate.utils import compile regions from accelerate.utils import compile_regions
pipeline = StableDiffusionXLPipeline.from_pretrained( pipeline = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16 "stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment