
Released architecture and current boundaries
Swift in-process inference
The default engine loads and runs MLX models inside the Swift process.
Model loading, generation, caching, and serving use Apple MLX through MacMLXCore; the default inference path does not require a Python runtime.
Verified
Apple Silicon unified memory
MLX arrays use the Mac's shared CPU/GPU memory system.
Unified memory reduces explicit transfers between CPU orchestration and integrated-GPU compute, but model weights, activations, and KV cache still consume finite physical memory.
Verified
Shared code, process-local engines
The app and CLI both import MacMLXCore, which owns inference and the server.
The products share implementation and behavior. When the app and CLI run as separate processes, they do not share one in-memory engine instance.
Verified
No Python on the default path
The released default engine is Swift-native and needs no Python runtime.
Optional compatibility engines may use subprocesses and other runtimes. This is not a claim that Python is absent everywhere in the project.
Verified
Exact-prefix RAM and SSD cache
A hot RAM tier and content-addressed SSD cold tier support promotion and demotion.
The released v0.5.0 cache reuses exact full prefixes. It does not provide released block sharing or paged KV allocation.
Verified
Trie longest-prefix reuse
v0.6.0 reuses the longest compatible cached token prefix.
Multi-turn prompts can trim to the longest common prefix and incrementally prefill only the new suffix while usage retains full-prompt accounting.
Verified
Bounded model pool
Budgets, LRU eviction, pinning, cold swap, idle TTL, and probes bound multi-model use.
The pool shipped in v0.5.0 and was hardened in v0.5.3. It is not a unified adaptive controller.
Verified
Eligibility-gated continuous batching
v0.6.0 batches only eligible dense-text requests under real concurrency, with automatic serial fallback.
The tagged 4-client benchmark measured 2.5–3.2× aggregate throughput. VLM, speculative decoding, Ollama, Anthropic, and embeddings remain serial.
Verified
Fixed prefill admission throttle
A fixed prefillBatchSize bounds rows admitted per scheduler step.
The released throttle is fixed configuration, not the planned adaptive memory controller.
Verified
Speculative decoding
v0.6.0 ships the classic draft-model path through both the API and GUI.
Acceptance telemetry reports draft efficiency. Targets with non-trimmable hybrid or linear-attention caches are detected and fall back to standard decoding.
Verified
KV-cache quantization
v0.6.0 exposes kv_bits, kv_group_size, and quantized_kv_start for compatible requests.
These controls change KV-cache precision, not model-weight precision. Nonpositive kv_bits disables the feature, and the compatibility matrix rejects unsupported model or request combinations.
Verified
Silicon Activity panel
A new main-window Activity tab shows live Apple Silicon readouts, a prefill/decode throughput split, and the current inference bottleneck with advice.
The panel reads GPU occupancy, memory bandwidth, thermal and memory pressure, and per-rail power without admin rights or a helper process. It is observability, not a performance guarantee: an unavailable counter renders an em dash with its reason, an idle engine shows no active generation, and estimated values are labeled rather than presented as measured.
Verified
Inference bottleneck classifier
v0.7.0 fuses the hardware samples with the engine's live prefill or decode phase to attribute what limits generation.
Because the classifier runs in-process it knows which inference phase is active, the signal an external GPU monitor cannot see. It is a smoothed heuristic, not a profiler: it prioritizes memory over thermal over compute or bandwidth, applies hysteresis and three-frame smoothing, and self-calibrates its bandwidth ceiling, so a verdict is guidance rather than a ground-truth measurement.
Verified
Sudoless silicon sampling
A runtime IOReport bridge plus samplers read GPU occupancy, memory bandwidth, thermal and memory pressure, and ANE power.
The IOReport bridge is resolved through dlopen, so a future macOS that renames or removes the private framework degrades the readouts to unavailable rather than failing to launch. Memory bandwidth is reported as an estimate, ANE exposes a power proxy with no fabricated utilization percentage, and the Media Engine, which has no duty-cycle signal, is omitted rather than guessed.
Verified
The app links the controlled MLX build
v0.9.0 is the first DMG whose GUI actually links macMLX's patched mlx-swift instead of upstream.
The Xcode project declared no mlx-swift dependency of its own, so on a package-identity collision the upstream copy pulled in transitively won and the app linked it; every earlier release therefore shipped a GUI without the correctness cherry-picks that MacMLXCore's own tests had verified. The CLI carried the same defect from a different root and was fixed alongside. This restores the intended engine rather than changing inference behavior beyond the fixes it now carries.
Verified
Controlled MLX fork on mlx-swift 0.32.3
v0.10.0 rebases the controlled MLX fork on mlx-swift 0.32.3 (core v0.32.2), which already contains twelve of the thirteen fixes the fork used to carry, so the fork now carries five of its own: mlx#3922, mlx#4009, mlx#4660, mlx#4431 and mlx#4775.
mlx#4009 repairs a sorted quantized MoE product that corrupted 92–97% of its output on M5 hardware at group size 32 with a ragged K. mlx#4660 stops the channel padding of a convolution, the 3-channel patch embedding of the Qwen-VL family and GLM-OCR among them, from picking up a stray value under asynchronous evaluation; mlx#4775 corrects the scale of all-negative groups in a quantized KV cache; mlx#4431 fixes a batched long-context attention kernel that no macMLX path selects today. Each was reproduced here with a synthetic test before it was carried, none through a real checkpoint. The new base also fixes the quantized MoE gather kernel names under JIT (mlx#4372) and compiles kernels under the Metal 4.1 language version macOS 27 requests. mlx-swift-lm moves to 3.32.3 with prefill chunking pinned to the legacy .remainder stride, checked by reading rather than by an output comparison, and Gemma3Text's separately reworked prefill is not covered. Carrying a fix is a correctness repair, not a performance claim.
Verified
Unloading returns memory
v0.10.0 drains MLX's buffer cache once a chat model is released, so an unload, an idle sweep, or a pool eviction gives the model's memory back instead of leaving it cached.
Before this release, unloading Mellum2-12B-A2.5B-Thinking-4bit left 7,021 MB of the 7,035 MB the model had used in MLX's cache; after the change that cache was empty and 15 MB stayed active, nearly all of it the in-memory prompt-cache tier, which an unload does not release (up to 512 MiB by default). That is one measured checkpoint, not a guarantee for every model. A cancel during speculative decoding can leave the weights for a later drain, and a first-ever load that fails after allocating is left to the next plain generation's clear.
Verified
Rerankers and embedders inside the pool budget
In the app, the server admits the /v1/rerank and /v1/embeddings models to the model pool before loading them, so they count against its budget, are evicted least-recently-used, and expire on the model's TTL like chat models.
A swap now releases the resident reranker or embedder and drains MLX's cache before loading the replacement, under the generation lock. POST /x/models/unload takes a model id and unloads a resident reranker or embedder by that exact id; an id that is neither one of them nor the active chat model is now a 404 instead of unloading the chat model regardless. The CLI's server has no pool and still loads them directly, and the Models tab no longer offers to pin them. /x/models remains a macMLX extension, not OpenAI-compatible model management.
Verified
The DMG ships the tested dependency graph
v0.10.0 commits the app's workspace lockfile, builds the release archive, the CLI tarball, and the app's CI build only from the versions their lockfiles record, and fails CI when the app's or the CLI's lockfile pins a MacMLXCore package differently.
The v0.9.0 archive resolved on a fresh runner and shipped swift-jinja 2.4.2 while every chat-template test had run on 2.3.6. This pins dependency versions to what the tests ran on; it is not a reproducible-build or code-signing claim, and the DMG remains unsigned.
Verified
History reuse on hybrid and sliding-window models
On a model whose cache has linear-attention or sliding-window layers, such as Qwen3.6 or Mellum2, v0.11.0 also stores the cache at the end of the conversation history, so the next agent turn reuses that history instead of prefilling the whole conversation again.
On Qwen3.6-27B-4bit the second turn of a 1.7k-token tool loop reused 1,662 of 1,712 prompt tokens and took 1.0 s instead of 2.8 s against the same prompt run cold; Mellum2 reused 1,594 of 1,632. Those are single measured runs, not a guarantee for other models or prompts. A turn whose history adds fewer than 256 tokens takes no snapshot, a snapshot larger than the 512 MiB in-memory tier is written to the SSD tier, and a model whose cache is all plain or quantized attention layers, none sliding-window, takes none and reuses through a trim, as before. This is exact-prefix reuse, not paged KV or block sharing.
Verified
Paged KV, block sharing, and CoW
Paged allocation, shared blocks, and copy-on-write branching are planned.
None of these cache-virtualization features is released; the shipped cache reuses exact token prefixes only, trimmed to the longest common prefix, without shared blocks.
Verified
Unified adaptive memory guard
A feedback controller across cache, model pool, and concurrency is planned.
Released memory probes and pool caps are separate mechanisms and must not be described as this guard.
Verified

Official sources
- History reuse on hybrid and sliding-window models
- Unloading returns memory
- Apple Silicon unified memory
- Rerankers and embedders inside the pool budget
- History reuse on hybrid and sliding-window models
- Exact-prefix RAM and SSD cache
- Trie longest-prefix reuse
- Rerankers and embedders inside the pool budget
- Fixed prefill admission throttle
- Eligibility-gated continuous batching
- Speculative decoding
- KV-cache quantization
- Silicon Activity panel
- Silicon Activity panel
- Inference bottleneck classifier
- Inference bottleneck classifier
- Sudoless silicon sampling
- Sudoless silicon sampling
- The app links the controlled MLX build
- Controlled MLX fork on mlx-swift 0.32.3
- The DMG ships the tested dependency graph
- The DMG ships the tested dependency graph
- History reuse on hybrid and sliding-window models
- History reuse on hybrid and sliding-window models
- Unified adaptive memory guard