Change Flux default max_shift to 1.15 to match the official one (#1137)

This commit is contained in:
hehua2008 2024-12-09 15:29:48 +08:00 committed by Billel Mokeddem
parent 2932980786
commit 5d561f1113

View File

@ -7,7 +7,7 @@ import mlx.core as mx
class FluxSampler:
def __init__(self, name: str, base_shift: float = 0.5, max_shift: float = 1.5):
def __init__(self, name: str, base_shift: float = 0.5, max_shift: float = 1.15):
self._base_shift = base_shift
self._max_shift = max_shift
self._schnell = "schnell" in name