Skip to content

Commit f56324a

Browse files
authored
Merge branch 'main' into fix-sync-issue
2 parents cbb6ef6 + ea81a42 commit f56324a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

src/diffusers/loaders/lora_conversion_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,7 @@ def _convert(original_key, diffusers_key, state_dict, new_state_dict):
654654

655655
_convert(k, diffusers_key, state_dict, new_state_dict)
656656

657+
remaining_all_unet = False
657658
if state_dict:
658659
remaining_all_unet = all(k.startswith("lora_unet_") for k in state_dict)
659660
if remaining_all_unet:

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)