MLX Swift LM is a Swift package for building apps and tools with large language models and vision language models on MLX Swift. It loads many model architectures, supports LoRA and full fine-tuning, embeddings and grammar-constrained output.
Add it with Swift Package Manager. It supports macOS 14, iOS 17 and visionOS 1 or later.
It's free and open source (MIT) and runs on the device.
Official downloads only. MLX never re-hosts an app, and never runs a command for you.
Ranked against the developer tools listings, from real public data only. How the score works.
MLX Swift LM is a product of Apple (ml-explore); MLX isn’t affiliated with it. Something wrong? Write to support@mlx.app.