lmstudio-ai/mlx-engine
LM Studio Apple MLX engine
What it solves
mlx-engine provides a dedicated bridge between Apple's MLX machine learning framework and the LM Studio application. It enables users to run large language models (LLMs) and vision models efficiently on macOS hardware by leveraging Apple's native MLX inference capabilities.
How it works
The engine acts as a backend for LM Studio, utilizing mlx-lm for text generation, mlx-vlm for vision model processing, and Outlines for structured output. It is pre-bundled with LM Studio 0.3.4 and newer for Mac, but can also be run as a standalone Python tool to test model loading, inference, and speculative decoding on macOS 14.0 or higher.
Who it’s for
This project is for macOS users who want to run local AI models—including text-only and vision-capable models—within the LM Studio ecosystem. It is also useful for developers looking to experiment with MLX-based inference, speculative decoding, or vision model integration on Apple Silicon.
Highlights
- Native support for Apple MLX inference engine.
- Integrated support for vision models like Llama-3.2-Vision, Pixtral, Qwen2-VL, and Llava-v1.6.
- Enables speculative decoding to improve inference speed using draft models.
- Supports structured output generation via the Outlines library.
- Pre-bundled with LM Studio for seamless desktop usage.
Related
- Project
- Project
- Project
- Project