omlx
LLM inference server with continuous batching & SSD caching for Apple Silicon — managed from the macOS menu bar
Explore the oMLX cache stack architecture. Discover its two-tier caching with in-memory LRU and SSD persistence to speed up vision feature tensor computation.
How to Set Up Model Aliases for Custom API-Visible Names in oMLXLearn how to set up model aliases in oMLX to use custom API-visible names. Decouple storage layout from client identifiers for better API management.
How to Integrate oMLX with OpenCode, OpenClaw, or Codex: Complete Setup GuideIntegrate oMLX with OpenCode OpenClaw or Codex effortlessly. This guide shows how to run the oMLX inference server and use Python classes to auto configure your tools for seamless integration.
How LRU Eviction Works for Multi-Model Serving in oMLXLearn how LRU eviction in oMLX efficiently manages GPU memory for multi-model serving, evicting least-recently-used models to make space for new requests.
How to Configure Hot Cache Size vs Cold Cache Size in oMLXLearn how to configure oMLX hot cache size and cold cache size using environment variables or CLI flags for optimal performance. Set RAM and disk allocations effectively.
How to Run Performance Benchmarks with Prefill and Generation Speed Tests in oMLXLearn how to run performance benchmarks in oMLX using its built-in utility. Measure TTFT, generation throughput, and continuous batching performance with ease.
How to Download Models from HuggingFace Directly in the oMLX Admin DashboardEasily download HuggingFace models directly within the oMLX admin dashboard. Our FastAPI integration simplifies model management for your projects.
How to Use the oMLX Anthropic Messages API Endpoint: A Complete Implementation GuideImplement the Anthropic Messages API endpoint with oMLX. Discover how to use this compatible API for seamless integration and JSON or SSE stream responses. Get the complete guide.
How to Use oMLX as an OpenAI API Compatible ReplacementUse oMLX to easily replace the OpenAI API with local MLX models. Redirect your OpenAI client to local MLX models by changing the base URL.
How to Customize Chat Template Kwargs Per Model in oMLX: Complete GuideLearn to customize chat template kwargs per model in oMLX. Control Jinja parameters, merge settings, and enforce policies with forced_ct_kwargs for robust chat management in your Jundot/omlx projects.
How to Override Model Type Detection (LLM vs VLM) in oMLXForce oMLX model type detection (LLM vs VLM) with model_type_override. Update the engine pool instantly without server restarts and gain full control over your model configurations.
How oMLX Enforces Process Memory Limits to Prevent OOM CrashesLearn how oMLX enforces process memory limits to prevent OOM crashes. Discover its continuous monitoring and eviction strategies for stable MLX runtime.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →