Skip to content

Commit e801245

Browse files
authored
Merge branch 'main' into attn-backends
2 parents bf97154 + 1448b03 commit e801245

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/diffusers/pipelines/chroma/pipeline_chroma.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,11 @@ def __call__(
688688
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
689689
will be used.
690690
guidance_scale (`float`, *optional*, defaults to 3.5):
691-
Embedded guiddance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
692-
a model to generate images more aligned with `prompt` at the expense of lower image quality.
693-
694-
Guidance-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer to
695-
the [paper](https://huggingface.co/papers/2210.03142) to learn more.
691+
Guidance scale as defined in [Classifier-Free Diffusion
692+
Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2.
693+
of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting
694+
`guidance_scale > 1`. Higher guidance scale encourages to generate images that are closely linked to
695+
the text `prompt`, usually at the expense of lower image quality.
696696
num_images_per_prompt (`int`, *optional*, defaults to 1):
697697
The number of images to generate per prompt.
698698
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):

src/diffusers/pipelines/chroma/pipeline_chroma_img2img.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -749,12 +749,12 @@ def __call__(
749749
Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
750750
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
751751
will be used.
752-
guidance_scale (`float`, *optional*, defaults to 5.0):
753-
Embedded guiddance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
754-
a model to generate images more aligned with `prompt` at the expense of lower image quality.
755-
756-
Guidance-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer to
757-
the [paper](https://huggingface.co/papers/2210.03142) to learn more.
752+
guidance_scale (`float`, *optional*, defaults to 3.5):
753+
Guidance scale as defined in [Classifier-Free Diffusion
754+
Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2.
755+
of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting
756+
`guidance_scale > 1`. Higher guidance scale encourages to generate images that are closely linked to
757+
the text `prompt`, usually at the expense of lower image quality.
758758
strength (`float, *optional*, defaults to 0.9):
759759
Conceptually, indicates how much to transform the reference image. Must be between 0 and 1. image will
760760
be used as a starting point, adding more noise to it the larger the strength. The number of denoising

0 commit comments

Comments
 (0)