Skip to content

MLX-One 0.1.5 · Native Image Generation and Serving Improvements

Latest

Choose a tag to compare

@SSusantAchary SSusantAchary released this 29 Nov 19:46
· 2 commits to main since this release
90ce1b2

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_tokens in 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 8080

Open 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.

Model and checkpoint guide · Full changelog