Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: Update to revamped c binding (#147)
* update mlx-c * removed shim * partial updates to new c api * update fft * update dtype and device * updated indexing * updated index and fft ops to take impl AsRef<Array> * use custom Result type alias * avoid conflict * updated more mods * update logical * updated optmizers * updated compile * updated transforms * updated shapes * updated quantization * added more linalg fns * updated io * need clone * impl Clone using mlx_array_set * add comments about Vec<&Array> * clippy and fmt * revert back to cloning * revert to perform type casting in item * default all fft/ifft on cpu for now * pass all tests * try fix CI problem * Revert "try fix CI problem" This reverts commit 3c8ca26. * Use newer Xcode * free new mlx_array if cloning fails * added guard * impl guard and guarded for vec pairs * make most ops return result regardless of underlying c++ impl * renamed try_op to try_from_op * update index to use guarded * update to Guarded * update to Guarded op * update remaning ops to use Guarded op * added test_clip_grad_norm * clippy and fmt * fix doctest * update mlx-c to tags/v0.1.0 * remove device = "cpu" * remove affine_quantize which was removed from python and swift as well * change newtype wrapper to type alias * fix latest clippy warnings * cargo fmt * remove unused static * update mlx-sys crate version to match mlx-c * re-export ModuleParameters macro * changing test_celu to follow the python version * try using gh hosted mac runners * try setting CMAKE_OSX_DEPLOYMENT_TARGET * try setting runner to macos-15 * try setting xcode version to 15.2 * try setting xcode version to 16.1 * try xcode 16.1 on macos-14 * try macos-14 and xcode 16.0 * need macos-15 * try blaze/macos-15 runners --------- Co-authored-by: David Chavez <[email protected]>
- Loading branch information