Fix bug in FluxSampler.timesteps method (#1131)

This commit is contained in:
hehua2008 2024-12-03 05:15:19 +08:00 committed by Billel Mokeddem
parent 278884f6ca
commit 7ee0a55705

View File

@ -25,7 +25,7 @@ class FluxSampler:
):
t = mx.linspace(start, stop, num_steps + 1)
if self._schnell:
if not self._schnell:
t = self._time_shift(image_sequence_length, t)
return t.tolist()