Chang Flux's default max_shift to 1.15 to match the official one

This commit is contained in:
hehua2008 2024-12-05 19:30:55 +08:00
parent 1727959a27
commit 76ba80316f

View File

@ -7,7 +7,7 @@ import mlx.core as mx
class FluxSampler: 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._base_shift = base_shift
self._max_shift = max_shift self._max_shift = max_shift
self._schnell = "schnell" in name self._schnell = "schnell" in name