Overview of oMLX capabilities
mainoMLX is a high-performance serving engine for Apple Silicon that supports a wide range of models including Text LLMs, Vision-Language Models (VLM), OCR models, Embedding models, and Rerankers.
Key features include:
- Admin Dashboard: A web UI at
/adminfor real-time monitoring, model management, benchmarking, and configuration. It supports multiple languages and operates fully offline. - Hierarchical KV Cache: A block-based cache system (inspired by vLLM) that uses a Hot Cache (RAM) for frequent blocks and a Cold Cache (SSD) for overflow, allowing for prefix sharing and persistence across server restarts.
- Continuous Batching: Uses
mlx-lm'sBatchGeneratorto handle concurrent requests efficiently. - Multi-Model Serving: Supports loading multiple model types simultaneously with features like LRU Unloading (to free memory), Model Pinning (to keep models loaded), and Model-specific TTL (idle timeouts).
- API Compatibility: Provides drop-in replacements for OpenAI and Anthropic APIs, including support for streaming usage statistics, adaptive thinking, and vision inputs.