Skip to content

Commit 462a02c

Browse files
committed
sigmas
1 parent af4bf0b commit 462a02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/flux/pipeline_flux_rfinversion_noise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ def __call__(
626626
callback_on_step_end: Optional[Callable[[int, int, Dict], None]] = None,
627627
callback_on_step_end_tensor_inputs: List[str] = ["latents"],
628628
max_sequence_length: int = 512,
629+
sigmas = None,
629630
):
630631
r"""
631632
Function invoked when calling the pipeline for generation.
@@ -764,7 +765,6 @@ def __call__(
764765

765766
# 4.Prepare timesteps
766767
# Flux noise scheduler $\sigma : [0, 1] \to \mathbb{R}$
767-
sigmas = np.linspace(0.0, 1.0, num_inference_steps)
768768
image_seq_len = (int(height) // self.vae_scale_factor) * (int(width) // self.vae_scale_factor)
769769
mu = calculate_shift(
770770
image_seq_len,

0 commit comments

Comments
 (0)