1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

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

[docs] typo: corrected 'compile regions' to 'compile_regions'
This commit is contained in:
Manith Ratnayake
2025-08-26 00:05:48 +05:30
committed by GitHub
parent afc9721898
commit 8f8888a76e

View File

@@ -209,7 +209,7 @@ There is also a [compile_regions](https://github.com/huggingface/accelerate/blob
# pip install -U accelerate
import torch
from diffusers import StableDiffusionXLPipeline
from accelerate.utils import compile regions
from accelerate.utils import compile_regions
pipeline = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16