Skip to content

Commit 9b8c860

Browse files
authored
fix guidance_scale value not equal to the value in comments (#8941)
fix guidance_scale value not equal with the value in comments
1 parent 62863bb commit 9b8c860

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ def __call__(
683683
Custom timesteps to use for the denoising process with schedulers which support a `timesteps` argument
684684
in their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is
685685
passed will be used. Must be in descending order.
686-
guidance_scale (`float`, *optional*, defaults to 5.0):
686+
guidance_scale (`float`, *optional*, defaults to 7.0):
687687
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
688688
`guidance_scale` is defined as `w` of equation 2. of [Imagen
689689
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

src/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_img2img.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ def __call__(
724724
Custom timesteps to use for the denoising process with schedulers which support a `timesteps` argument
725725
in their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is
726726
passed will be used. Must be in descending order.
727-
guidance_scale (`float`, *optional*, defaults to 5.0):
727+
guidance_scale (`float`, *optional*, defaults to 7.0):
728728
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
729729
`guidance_scale` is defined as `w` of equation 2. of [Imagen
730730
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

src/diffusers/pipelines/stable_diffusion_3/pipeline_stable_diffusion_3_inpaint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def __call__(
850850
Custom timesteps to use for the denoising process with schedulers which support a `timesteps` argument
851851
in their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is
852852
passed will be used. Must be in descending order.
853-
guidance_scale (`float`, *optional*, defaults to 5.0):
853+
guidance_scale (`float`, *optional*, defaults to 7.0):
854854
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
855855
`guidance_scale` is defined as `w` of equation 2. of [Imagen
856856
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

0 commit comments

Comments
 (0)