ml-explore / mlx

MLX: An array framework for Apple silicon
https://ml-explore.github.io/mlx/
MIT License
17.37k stars 1.01k forks source link

Use dispatch method everywhere #1566

Closed awni closed 2 weeks ago

awni commented 2 weeks ago

After #1561 it's a possible synchronization bug not to use the method since that's where barriers are inserted.

It might be worth removing the operator-> entirely.. in order to enforce this behavior .. maybe there is another option.. not sure.