MLX Swift
MLX's tensor core, ported so Swift apps don't need a Python bridge.
When to use it
Use this when you're shipping a native macOS/iOS app and need MLX tensors directly in Swift instead of shelling out to a Python process.
Alternatives in Runtimes
MLX
Apple's own array framework, built so unified memory stops being a compromise.
MLX LM
The package behind every `mlx_lm.generate` command on this site.
llama.cpp
The C++ runtime that made GGUF and Metal inference normal.
MLC LLM
A compiler-first runtime that targets Metal, CUDA and mobile from one graph.
Candle
Hugging Face's minimalist Rust tensor library, Metal backend included.