Crates.io | mlx-sys |
lib.rs | mlx-sys |
version | 0.0.8 |
source | src |
created_at | 2024-01-25 12:55:17.663342 |
updated_at | 2024-07-13 07:30:46.330626 |
description | Low-level interface and binding generation for the mlx library |
homepage | |
repository | https://github.com/oxideai/mlx-rs |
max_upload_size | |
id | 1113820 |
size | 333,638 |
DO NOT USE. This is an experimental crate for testing right now, and it is not intended to be used directly. A separate safe wrapper crate will be created in the future.
float16_t
DeviceType::Cpu
.array
.The overall strategy for catching exceptions and turning them into Rust errors is
Vec
in rust.load_library
or get_kernel
, this would include all ops and usually indicates a problem with the library, so we should probably just let it panic