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 GitHub
parent ed91bbc4dc
commit 893b3f085e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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