| Crates.io | mlx-sys-burn |
| lib.rs | mlx-sys-burn |
| version | 0.2.2 |
| created_at | 2025-12-31 08:26:31.27736+00 |
| updated_at | 2025-12-31 09:05:14.139223+00 |
| description | Low-level interface and binding generation for the mlx library (fork with additional operations for burn-mlx) |
| homepage | |
| repository | https://github.com/TuringWorks/mlx-rs |
| max_upload_size | |
| id | 2014239 |
| size | 606,931 |
Low-level Rust FFI bindings to Apple's mlx-c API, generated using bindgen.
This is a fork of mlx-sys published to enable burn-mlx on crates.io.
This crate provides:
[dependencies]
mlx-sys-burn = "0.2.1"
| Feature | Default | Description |
|---|---|---|
metal |
Yes | Enable Metal GPU support |
accelerate |
Yes | Enable Accelerate framework for optimized CPU operations |
This crate provides raw FFI bindings. You typically don't use it directly.
For a safe, idiomatic Rust interface, use mlx-rs-burn:
[dependencies]
mlx-rs-burn = "0.25.4"
The build script will automatically:
| Crate | Description |
|---|---|
| mlx-rs-burn | Safe Rust bindings (use this!) |
| mlx-macros-burn | Procedural macros |
| mlx-internal-macros-burn | Internal macros |
| burn-mlx | MLX backend for Burn |
Fork of mlx-sys from oxideai/mlx-rs.
MIT OR Apache-2.0