@@ -54,11 +54,29 @@ class FlowMatchEulerDiscreteScheduler(SchedulerMixin, ConfigMixin):
5454 Args:
5555 num_train_timesteps (`int`, defaults to 1000):
5656 The number of diffusion steps to train the model.
57- timestep_spacing (`str`, defaults to `"linspace"`):
58- The way the timesteps should be scaled. Refer to Table 2 of the [Common Diffusion Noise Schedules and
59- Sample Steps are Flawed](https://huggingface.co/papers/2305.08891) for more information.
6057 shift (`float`, defaults to 1.0):
6158 The shift value for the timestep schedule.
59+ use_dynamic_shifting (`bool`, defaults to False):
60+ Whether to apply timestep shifting on-the-fly based on the image resolution.
61+ base_shift (`float`, defaults to 0.5):
62+ Value to stabilize image generation. Increasing `base_shift` reduces variation and image is more consistent
63+ with desired output.
64+ max_shift (`float`, defaults to 1.15):
65+ Value change allowed to latent vectors. Increasing `max_shift` encourages more variation and image may be
66+ more exaggerated or stylized.
67+ base_image_seq_len (`int`, defaults to 256):
68+ The base image sequence length.
69+ max_image_seq_len (`int`, defaults to 4096):
70+ The maximum image sequence length.
71+ invert_sigmas (`bool`, defaults to False):
72+ Whether to invert the sigmas.
73+ shift_terminal (`float`, defaults to None):
74+ use_karras_sigmas (`bool`, defaults to False):
75+ Whether to use Karras sigmas for step sizes in the noise schedule during sampling.
76+ use_exponential_sigmas (`bool`, defaults to False):
77+ Whether to use exponential sigmas for step sizes in the noise schedule during sampling.
78+ use_beta_sigmas (`bool`, defaults to False):
79+ Whether to use beta sigmas for step sizes in the noise schedule during sampling.
6280 """
6381
6482 _compatibles = []
0 commit comments