mlx-vlm runs and fine-tunes multimodal models on Macs using MLX, with CLI, Gradio chat, FastAPI server, and broad VLM support.
Overview
MLX-VLM packages inference and fine-tuning for vision-language and related multimodal models on Apple silicon through Apple's MLX stack. Inputs include text, images, video, and audio depending on the chosen model family.
The CLI supports thinking budgets, speculative decoding, continuous batching, prefix caching, and KV cache quantization options documented per model. A Gradio chat UI and FastAPI server help local experimentation; distributed inference and fine-tuning guides cover larger workflows.
Many architectures have dedicated documentation for prompts and capabilities, spanning OCR, embedding, reasoning, and omni models. Install via pip with mlx-vlm and follow per-model docs for weights and commands.
The project is maintained by Neywa Labs, builders of local AI tooling including Nativ.
Key features
- MLX multimodal model inference
- Fine-tuning workflows on Mac
- CLI Gradio and FastAPI serving
- Continuous batching and APC
- KV cache quantization options
- Speculative decoding support
- Wide VLM model documentation
- Multi-image chat in CLI
Use cases
- Local VLM inference on Mac
- Fine-tune small VLMs privately
- Prototype multimodal apps offline