mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-30 10:56:38 +08:00
Fix bug in FluxSampler.timesteps method
This commit is contained in:
parent
cefe793ae0
commit
d459cabea4
@ -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