#5151st of 65 in Model serving

mlx-vlm

Run and fine-tune vision, audio and text models on Apple Silicon with MLX

Stars
5.8k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 29 weeks+1,433
21 Apr 2026: 4,401 stars28 Apr 2026: 4,483 stars5 May 2026: 4,544 stars12 May 2026: 4,660 stars19 May 2026: 4,703 stars26 May 2026: 4,738 stars2 Jun 2026: 4,814 stars9 Jun 2026: 4,952 stars16 Jun 2026: 5,020 stars23 Jun 2026: 5,044 stars30 Jun 2026: 5,067 stars7 Jul 2026: 5,098 stars14 Jul 2026: 5,129 stars21 Jul 2026: 5,196 stars28 Jul 2026: 5,236 stars4 Aug 2026: 5,273 stars11 Aug 2026: 5,295 stars18 Aug 2026: 5,345 stars25 Aug 2026: 5,398 stars1 Sept 2026: 5,445 stars8 Sept 2026: 5,465 stars15 Sept 2026: 5,491 stars22 Sept 2026: 5,515 stars29 Sept 2026: 5,540 stars6 Oct 2026: 5,565 stars13 Oct 2026: 5,615 stars20 Oct 2026: 5,635 stars27 Oct 2026: 5,674 stars3 Nov 2026: 5,794 stars10 Nov 2026: 5,834 stars

4,401 on 21 Apr 20265,834 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

MLX-VLM is a Python package that runs multimodal models (text, image, video, audio in) on Macs via MLX. It provides a CLI (mlx_vlm.generate), a Python API, a Gradio chat UI, and a FastAPI server with continuous batching, prefix caching and KV cache quantization. It also supports speculative decoding with DFlash, MTP and EAGLE-3 drafters, model conversion and quantization, and fine-tuning.

Who it is for: Mac users running or fine-tuning local multimodal models via CLI, Python or API

Strengths

  • Covers many model families with per-model docs, including OCR, Gemma 4, MiniCPM-o and Qwen VL
  • Speculative decoding with DFlash, MTP and EAGLE-3 drafters; README reports up to 3.94x on Gemma 4 26B-A4B
  • Server adds continuous batching, automatic prefix caching and KV cache quantization
  • Includes mlx_vlm.convert for quantizing Hugging Face models, plus a fine-tuning section

Weaknesses

  • Targets macOS on Apple silicon; the only CUDA mention is activation quantization
  • Gradio chat UI needs the separate mlx-vlm[ui] extra
  • DSpark speculative decoding requires greedy sampling (temperature=0)
  • No Docker or compose files provided

What it needs

  • GPU required
  • Needs MLX, Hugging Face model hub
  • Models: MLX, Hugging Face safetensors (converted via mlx_vlm.convert), Qwen2-VL, Qwen3.5, Gemma 4

Quick answers

Is mlx-vlm open source?

Yes. Its code is on GitHub under the MIT license.

Does mlx-vlm need a GPU?

Yes, it needs a GPU.

Also in Model serving

See all 65
Also in Model serving
RankProjectScore
1llama.cppC/C++ inference engine for GGUF LLMs and VLMs with an OpenAI-compatible server134.1k stars+3,480 (+2.7%) in 30 daysMIT94 out of 100
2OllamaLocal model runner with CLI and REST API for open-weight LLMs186.7k stars+4,310 (+2.4%) in 30 daysMITknown advisory in latest version92 out of 100
3LocalAISelf-hosted inference server with OpenAI-compatible API and pluggable backends50.3k stars+940 (+1.9%) in 30 daysMIT91 out of 100
#4vLLMInference engine serving LLMs with PagedAttention and an OpenAI-compatible API96.7k stars+3,268 (+3.5%) in 30 daysApache-2.088 out of 100
#5strataRuns a 125B-parameter MoE model on one consumer GPU plus system RAM43.1k stars+21,265 (+97%) in 30 daysMIT88 out of 100