Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
1448b035
Unverified
Commit
1448b035
authored
Sep 23, 2025
by
SahilCarterr
Committed by
GitHub
Sep 22, 2025
Browse files
[Fix] chroma docs (#12360)
* Fixes chroma docs * fix docs fixed docs are now consistent
parent
57967350
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
src/diffusers/pipelines/chroma/pipeline_chroma.py
src/diffusers/pipelines/chroma/pipeline_chroma.py
+5
-5
src/diffusers/pipelines/chroma/pipeline_chroma_img2img.py
src/diffusers/pipelines/chroma/pipeline_chroma_img2img.py
+6
-6
No files found.
src/diffusers/pipelines/chroma/pipeline_chroma.py
View file @
1448b035
...
@@ -688,11 +688,11 @@ class ChromaPipeline(
...
@@ -688,11 +688,11 @@ class ChromaPipeline(
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
will be used.
will be used.
guidance_scale (`float`, *optional*, defaults to 3.5):
guidance_scale (`float`, *optional*, defaults to 3.5):
Embedded g
uid
d
ance scale
i
s
enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
G
uidance scale
a
s
defined in [Classifier-Free Diffusion
a model to generate images more aligned with `prompt` at the expense of lower image quality
.
Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2
.
of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting
G
uidance
-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer
to
`g
uidance
_scale > 1`. Higher guidance scale encourages to generate images that are closely linked
to
the
[paper](https://huggingface.co/papers/2210.03142) to learn more
.
the
text `prompt`, usually at the expense of lower image quality
.
num_images_per_prompt (`int`, *optional*, defaults to 1):
num_images_per_prompt (`int`, *optional*, defaults to 1):
The number of images to generate per prompt.
The number of images to generate per prompt.
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):
...
...
src/diffusers/pipelines/chroma/pipeline_chroma_img2img.py
View file @
1448b035
...
@@ -749,12 +749,12 @@ class ChromaImg2ImgPipeline(
...
@@ -749,12 +749,12 @@ class ChromaImg2ImgPipeline(
Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
will be used.
will be used.
guidance_scale (`float`, *optional*, defaults to
5.0
):
guidance_scale (`float`, *optional*, defaults to
3.5
):
Embedded g
uid
d
ance scale
i
s
enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
G
uidance scale
a
s
defined in [Classifier-Free Diffusion
a model to generate images more aligned with `prompt` at the expense of lower image quality
.
Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2
.
of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting
G
uidance
-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer
to
`g
uidance
_scale > 1`. Higher guidance scale encourages to generate images that are closely linked
to
the
[paper](https://huggingface.co/papers/2210.03142) to learn more
.
the
text `prompt`, usually at the expense of lower image quality
.
strength (`float, *optional*, defaults to 0.9):
strength (`float, *optional*, defaults to 0.9):
Conceptually, indicates how much to transform the reference image. Must be between 0 and 1. image will
Conceptually, indicates how much to transform the reference image. Must be between 0 and 1. image will
be used as a starting point, adding more noise to it the larger the strength. The number of denoising
be used as a starting point, adding more noise to it the larger the strength. The number of denoising
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment