mlx 0.1.0 copy "mlx: ^0.1.0" to clipboard
mlx: ^0.1.0 copied to clipboard

PlatformmacOS

Dart bindings for Apple's MLX array framework on Apple Silicon: tensors, neural-network layers, FFT, quantization, and safetensors — via FFI to mlx-c.

Changelog #

0.1.0 - 2026-07-19 #

Initial release: Dart FFI bindings to mlx-c for Apple's MLX on Apple Silicon.

  • Core: the MlxArray tensor type with DType, lazy eval, streams, and memory helpers (cache clearing, peak-memory tracking).
  • Ops: elementwise math and operators, matmul, the softmax family, reductions and orderings, array creation, indexing / shape manipulation, and channels-last convolutions.
  • FFT: real-input rfft / irfft.
  • fast: fused kernels — scaled dot-product attention, layer norm, RMS norm, and RoPE.
  • random: keyed sampling — randomKey, randomNormal, categorical, and seeding.
  • Quantization: group-wise affine quantize / dequantize / quantizedMatmul.
  • nn: an MLXNN-style neural-network layer with a Module base; linear / conv / embedding / norm / RNN layers; activations; a KV-cache; and quantization machinery whose registered parameter names match MLX-converted checkpoints 1:1.
  • I/O: safetensors loading.
1
likes
160
points
86
downloads

Documentation

API reference

Publisher

verified publisherksh.dev

Weekly Downloads

Dart bindings for Apple's MLX array framework on Apple Silicon: tensors, neural-network layers, FFT, quantization, and safetensors — via FFI to mlx-c.

Repository (GitHub)
View/report issues

Topics

#mlx #machine-learning #ffi #apple-silicon #tensors

License

MIT (license)

Dependencies

ffi

More

Packages that depend on mlx