Neywa-Labs/mlx-vlm
MLX-VLM is a package for inference and fine-tuning of Vision Language Models (VLMs) on your Mac using MLX.
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
🍎 MLX-VLM: Multimodal AI, Local on Your Mac
Run, serve, and fine-tune vision-language models on Apple Silicon — without sending data to the cloud.
MLX-VLM, built by Neywa Labs (the team behind Nativ), is a Python package for inference and fine-tuning of Vision Language Models (VLMs) on macOS using MLX. It takes text, images, video, and audio as input and is designed to make multimodal models practical to run locally on Apple Silicon.
✨ Highlights
- Multimodal input: Works with text, images, video, and audio, depending on the model you run.
- Multiple ways to use it: Offers a Command Line Interface (CLI), a Python API, and a FastAPI server for serving models.
- Performance-oriented serving: The server supports continuous batching, automatic prefix caching (APC), and KV cache quantization.
- Speculative decoding options: Includes support for DFlash, DFlash2, and DSpark, plus model-specific paths such as Gemma 4 MTP/EAGLE-3 and MiniMax M3 EAGLE-3.
- Inference and caching features: Documents 1-bit affine inference, activation quantization (CUDA), vision feature caching, and TurboQuant KV cache.
- Multi-image and distributed workflows: Supports multi-image chat and distributed inference for larger or more complex setups.
- Fine-tuning and UI: Includes fine-tuning support and a chat UI with Gradio for interactive use.
- Broad model documentation: Provides model-specific docs for many models and families, including LFM3 variants, OCR-focused models, Gemma 4, Granite Vision, Moondream, and others.
💡 Why it matters
Instead of treating local VLM usage as a single script or demo, MLX-VLM brings together inference, serving, fine-tuning, and optimization features in one package tuned for Apple Silicon. That makes it useful both for quick experiments on a Mac and for more serious workflows where throughput, caching, and model-specific behavior matter.
It fits best if you want to run or adapt multimodal models locally on macOS, whether you need a simple CLI command, a Python integration, or a FastAPI endpoint with batching and cache optimizations.
#MLX #VisionLanguageModels #AppleSilicon #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
Native MLX runtime for Laya typed decision models — 7–14 ms short decisions on M3 Max. No text generation, PyTorch, or cloud API.
Hit your Claude Code usage limit? Keep going free and offline on a local model: Qwen 3.8, Gemma 4, and Qwen 4 the day it ships. Runs on Apple Silicon Macs (MLX), Linux and Windows (llama.cpp) with no API key. Your code stays home.
The fastest way to run Inkling 2 Mini, Qwen 3.8 and Ternary Bonsai 2 27B on a Mac: Inkling 2 Mini at up to 128.8 tok/s and Flash Next at 125 tok/s in OpenCode on an M5 Max, and a 27B model on 16 GB Macs. Native MTP speculative decoding on Apple Silicon, exact at any temperature. OpenAI and Anthropic compatible local server.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.