Fix bug in FluxSampler.timesteps method

This commit is contained in:
hehua2008 2024-12-01 13:07:48 +08:00
parent cefe793ae0
commit d459cabea4

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()