flux2_empirical_mu

Empirical timestep shift for FLUX.2

Description

BFL’s piecewise-linear fit of the dynamic-shifting mu as a function of image sequence length and step count; replaces FLUX.1’s calculate_shift. Reference: compute_empirical_mu (adapted from BFL sampling.py).

Usage

flux2_empirical_mu(image_seq_len, num_steps)

Arguments

  • image_seq_len: Integer. Packed image token count.
  • num_steps: Integer. Inference steps.

Value

Numeric mu for flowmatch_set_timesteps.