mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 17:31:18 +08:00
Fix bug in FluxSampler.timesteps method (#1131)
This commit is contained in:
parent
8801beb66f
commit
2a9294a5f0
@ -25,7 +25,7 @@ class FluxSampler:
|
|||||||
):
|
):
|
||||||
t = mx.linspace(start, stop, num_steps + 1)
|
t = mx.linspace(start, stop, num_steps + 1)
|
||||||
|
|
||||||
if self._schnell:
|
if not self._schnell:
|
||||||
t = self._time_shift(image_sequence_length, t)
|
t = self._time_shift(image_sequence_length, t)
|
||||||
|
|
||||||
return t.tolist()
|
return t.tolist()
|
||||||
|
Loading…
Reference in New Issue
Block a user