Rust bindings for Apple's mlx machine learning library.
⚠️ Project is still in development - contributors welcome!
Blaze supports this project by providing ultra-fast Apple Silicon macOS Github Action Runners. Apply the discount code AI25
at checkout to enjoy 25% off your first year.
metal
- enables metal (GPU) usage in MLXaccelerate
- enables using the accelerate framework in MLX
For simplicity, the main crate mls-rs
follows MLX’s versioning, allowing you to easily see which MLX version you’re using under the hood. The mlx-sys
crate follows the versioning of mlx-c
, as that is the version from which the API is generated. The mlx-macros
crate uses its own versioning, as those macros are developed independently by us.
If you are excited about the project or want to contribute, don't hesitate to join our Discord! We try to be as welcoming as possible to everybody from any background. We're still building this out, but you can ask your questions there!
mlx-rs is currently in active development, and is not yet complete.
The minimum supported Rust version is 1.75.0.
The MSRV is the minimum Rust version that can be used to compile each crate.
mlx-rs is distributed under the terms of the MIT license. See LICENSE for details. Opening a pull request is assumed to signal agreement with these licensing terms.