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
ea81a422
Unverified
Commit
ea81a422
authored
Mar 06, 2025
by
Pierre Chapuis
Committed by
GitHub
Mar 06, 2025
Browse files
fix default values of Flux guidance_scale in docstrings (#10982)
parent
b1502763
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/diffusers/pipelines/flux/pipeline_flux.py
src/diffusers/pipelines/flux/pipeline_flux.py
+1
-1
src/diffusers/pipelines/flux/pipeline_flux_control.py
src/diffusers/pipelines/flux/pipeline_flux_control.py
+1
-1
src/diffusers/pipelines/flux/pipeline_flux_fill.py
src/diffusers/pipelines/flux/pipeline_flux_fill.py
+1
-1
No files found.
src/diffusers/pipelines/flux/pipeline_flux.py
View file @
ea81a422
...
@@ -694,7 +694,7 @@ class FluxPipeline(
...
@@ -694,7 +694,7 @@ class FluxPipeline(
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
7.0
):
guidance_scale (`float`, *optional*, defaults to
3.5
):
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
`guidance_scale` is defined as `w` of equation 2. of [Imagen
`guidance_scale` is defined as `w` of equation 2. of [Imagen
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
...
...
src/diffusers/pipelines/flux/pipeline_flux_control.py
View file @
ea81a422
...
@@ -660,7 +660,7 @@ class FluxControlPipeline(
...
@@ -660,7 +660,7 @@ class FluxControlPipeline(
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
7.0
):
guidance_scale (`float`, *optional*, defaults to
3.5
):
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
`guidance_scale` is defined as `w` of equation 2. of [Imagen
`guidance_scale` is defined as `w` of equation 2. of [Imagen
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
...
...
src/diffusers/pipelines/flux/pipeline_flux_fill.py
View file @
ea81a422
...
@@ -738,7 +738,7 @@ class FluxFillPipeline(
...
@@ -738,7 +738,7 @@ class FluxFillPipeline(
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
7
.0):
guidance_scale (`float`, *optional*, defaults to
30
.0):
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
`guidance_scale` is defined as `w` of equation 2. of [Imagen
`guidance_scale` is defined as `w` of equation 2. of [Imagen
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
...
...
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