Skip to content

MLX Go Bindings v0.29.4

Choose a tag to compare

@zeekay zeekay released this 10 Nov 21:19
· 6 commits to main since this release

Pre-compiled MLX C++ libraries for Go bindings

Platform Support

  • ✅ macOS ARM64 (M1/M2/M3/M4) - Metal GPU acceleration
  • ✅ Linux x64 - CPU backend with OpenBLAS
  • ⚠️ Windows x64 - ONNX runtime recommended (MLX has MSVC compatibility issues)
  • ⚠️ macOS x64 (Intel) - Not included (GitHub Actions quota limit)

Quick Install

macOS ARM64 (Recommended)

curl -LO https://github.com/luxfi/mlx/releases/latest/download/libmlx-macos-arm64.tar.gz
mkdir -p lib
tar -xzf libmlx-macos-arm64.tar.gz -C lib/

Linux x64

curl -LO https://github.com/luxfi/mlx/releases/latest/download/libmlx-linux-x64.tar.gz
mkdir -p lib
tar -xzf libmlx-linux-x64.tar.gz -C lib/

Windows

For Windows users, we recommend using ONNX Runtime instead of MLX:

  • MLX CPU backend has GCC/Clang-specific intrinsics that don't compile with MSVC
  • ONNX Runtime provides better Windows compatibility and performance
  • See ONNX.md for Windows setup instructions

Fallback to Source Build

All test workflows automatically fall back to building from source if pre-compiled binaries aren't available.

See BINARIES.md for complete installation instructions.