Skip to content

Commit 8251ddd

Browse files
committed
fix default values of Flux guidance_scale in docstrings
1 parent b150276 commit 8251ddd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/diffusers/pipelines/flux/pipeline_flux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ def __call__(
694694
Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
695695
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
696696
will be used.
697-
guidance_scale (`float`, *optional*, defaults to 7.0):
697+
guidance_scale (`float`, *optional*, defaults to 3.5):
698698
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
699699
`guidance_scale` is defined as `w` of equation 2. of [Imagen
700700
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

src/diffusers/pipelines/flux/pipeline_flux_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ def __call__(
660660
Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
661661
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
662662
will be used.
663-
guidance_scale (`float`, *optional*, defaults to 7.0):
663+
guidance_scale (`float`, *optional*, defaults to 3.5):
664664
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
665665
`guidance_scale` is defined as `w` of equation 2. of [Imagen
666666
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

src/diffusers/pipelines/flux/pipeline_flux_fill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def __call__(
738738
Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
739739
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
740740
will be used.
741-
guidance_scale (`float`, *optional*, defaults to 7.0):
741+
guidance_scale (`float`, *optional*, defaults to 30.0):
742742
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
743743
`guidance_scale` is defined as `w` of equation 2. of [Imagen
744744
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

0 commit comments

Comments
 (0)