Repository navigation
Releases
MLX-One 0.1.5 · Native Image Generation and Serving Improvements
MLX-One 0.1.5 brings local image generation to the bundled Web UI and improves prompt-cache visibility and reuse for OpenAI-compatible serving on Apple Silicon.
Create images in the browser
Choose Create Image, enter a prompt, watch denoising progress, and download the finished PNG with its seed and generation time. The native engine supports FLUX.2 Klein, Z-Image Turbo, and MOSS-Image-SFT Q4 checkpoints. The installed release wheel generated a 256 × 256 FLUX.2 image in a local smoke test. MOSS-Image-SFT Q4 still needs broader quality and performance measurements.
Serving changes
- Cached tokens in API usage. Read
usage.prompt_tokens_details.cached_tokensin chat JSON, completions JSON, and the final SSE usage chunk when usage reporting is enabled. - SSD-backed prefix reuse across restarts. The authenticated two-process test restored 259 prompt tokens from SSD, preserved the generated output, and confirmed zero reuse for a different client.
- Continuous batching on Qwen2.5-0.5B. The qualification matrix passed at two and four concurrent requests with matching greedy outputs. Broader checkpoint coverage is still in progress.
Measured on Apple M4 Air, 32 GB
| Workload | Reference | 0.1.5 path |
|---|---|---|
| Qwen2.5-0.5B, four concurrent requests, aggregate throughput | 44.1 tok/s | 69.9 tok/s |
| Qwen2.5-0.5B, first token after server restart | 183.8 ms cold | 78.1 ms with SSD restore |
The throughput comparison is against the dense reference in the same matrix. The SSD figure is from one matched restart smoke test.
Install
Requires an Apple Silicon Mac, macOS 15+, and Python 3.10+.
python -m pip install --upgrade "mlx-one[server,vision]==0.1.5"
mlx-one image serve mflux-community/flux2-klein-4b-mflux-q4 --port 8080Open the local Web UI and select Create Image. For text chat, use mlx-one serve with a supported text checkpoint.
Known limits
- Paged KV passed token parity, while serving throughput and latency missed the qualification budgets.
- Q4/Q8 KV compression still needs held-out quality qualification. Qwen3.5 MTP remains experimental.
MLX-One 0.1.1 — 40 native model types across 7 modalities
MLX-One 0.1.1 provides supported primary workflows for all 40 registered native model types across seven modalities on Apple Silicon.
Model coverage
| Modality | Supported model types |
|---|---|
| Text generation | 11 |
| Vision-language | 4 |
| Audio & speech | 7 |
| OCR & documents | 6 |
| Embeddings & reranking | 5 |
| Segmentation | 4 |
| Classification | 3 |
| Total | 40 |
Each supported entry identifies an exact checkpoint revision, precision, primary operations and passing execution record.
Highlights
- Corrected prompt/BOS handling and quantized MoE checkpoint loading.
- Improved embedding, reranking and ColBERT workflows and serving integration.
- Repaired OCR decoding, beam generation and visible-text handling.
- Qualified the Q8 LFM2 Audio checkpoint for transcription, text-to-speech and speech-to-speech.
- Verified forced alignment using independently annotated TIMIT samples.
- Added standalone SAM3 temporal tracking and verified native offline/streaming video workflows.
- Updated the documentation site with model counts, a searchable explorer, dated coverage history and known limitations.
Validation
- 2,573 tests passed, plus 9 passing subtests.
- 95 optional tests skipped and reported separately.
- Native validation on Apple M4 / 32 GiB with MLX/Metal 0.32.2.
- Wheel, source archive, dependency and isolated installed-wheel checks passed.
- Campaign-downloaded model weights removed after recording results.
Installation
Once 0.1.1 is uploaded to PyPI:
python -m pip install "mlx-one==0.1.1"With server, vision and OCR dependencies:
python -m pip install "mlx-one[server,vision,ocr]==0.1.1"Support scope
Support applies to the recorded checkpoints, precisions and primary workflows. Additional variants and tasks require their own evidence. Accuracy diagnostics and known limitations remain documented.
mlx-one v0.1.0a1 — Initial alpha
Initial experimental alpha of mlx-one, bringing native MLX model workflows together on Apple Silicon.
Included
- Unified Python APIs and CLI workflows for language, vision-language, embeddings/reranking, audio, speech, and segmentation.
- Native OCR model implementations and document-processing APIs.
- HTTP completion/chat endpoints, server-sent event streaming, and a bundled local web UI.
- Optional dependency groups for server, vision, OCR, and Japanese/Korean Qwen alignment workflows.
- Modern wheel/source packaging with SPDX license metadata and retained upstream license notices.
Install
python -m pip install "mlx-one==0.1.0a1"
For the server with vision and OCR dependencies:
python -m pip install "mlx-one[server,vision,ocr]==0.1.0a1"
mlx-one --version
mlx-one registry list
Requirements: Python 3.10 or newer; an Apple Silicon Mac with macOS 15 or later for native model execution. MLX and mlx-metal are pinned to 0.32.2. FFmpeg is required for encoded audio inputs; encoded segmentation video also needs ffprobe. Model weights are downloaded separately and are subject to their publishers' terms.
Validation
Validation on Apple Silicon/macOS 15.8.1 using Python 3.12.11:
- Default suite: 2,158 passed, 73 skipped.
- Native Metal suite: 2,507 passed, 18 skipped.
- Isolated builds, Twine metadata checks, and distribution payload/license audits passed.
- Fresh wheel installation outside the source checkout passed CLI, resource, dependency, and Metal checks.
- Server, vision, and OCR extras passed installation and smoke checks.
- Offline GPT-2 generation and local HTTP/SSE checks passed, including authentication, error handling, cleanup, and shutdown.
These results apply to the recorded environment and tested paths. Architecture implementation does not establish full-checkpoint accuracy or qualification for every model, language, precision, or context length. APIs and experimental workflows may change during the alpha series.
Links
Source and artifacts
Release source: c0bcfba.
The wheel and source archive match the published PyPI files.