From 658655133e5903694e41fff0874044ebf4c6b43f Mon Sep 17 00:00:00 2001 From: shm4r7 <163394641+shm4r7@users.noreply.github.com> Date: Wed, 9 Jul 2025 01:04:36 +0200 Subject: [PATCH] Update chroma.md Fix typo in Inference example code --- docs/source/en/api/pipelines/chroma.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/api/pipelines/chroma.md b/docs/source/en/api/pipelines/chroma.md index 4e2d144421df..40e290e4bdd6 100644 --- a/docs/source/en/api/pipelines/chroma.md +++ b/docs/source/en/api/pipelines/chroma.md @@ -36,7 +36,7 @@ import torch from diffusers import ChromaPipeline pipe = ChromaPipeline.from_pretrained("lodestones/Chroma", torch_dtype=torch.bfloat16) -pipe.enabe_model_cpu_offload() +pipe.enable_model_cpu_offload() prompt = [ "A high-fashion close-up portrait of a blonde woman in clear sunglasses. The image uses a bold teal and red color split for dramatic lighting. The background is a simple teal-green. The photo is sharp and well-composed, and is designed for viewing with anaglyph 3D glasses for optimal effect. It looks professionally done."