oth predict_x0=True and thresholding=True to use the
dynamic thresholding. Note that the thresholding method is unsuitable for latent-space diffusion models
(such as stable-diffusion).


dynamic_thresholding_ratio (float, default 0.995) —
the ratio for the dynamic thresholding method. Default is 0.995, the same as Imagen
(https://arxiv.org/abs/2205.11487).


sample_max_value (float, default 1.0) —
the threshold value for dynamic thresholding. V