Thursday, December 3, 2026 | London 10°C · Drizzle
DailyGlimpse

AI

qMLX Turbocharges AI on Mac Studio with Disk Cache Trick

Code Rush 1 min read

A new technique called qMLX is pushing AI performance on Apple's Mac Studio to new heights by intelligently caching attention key-value data to SSD. The method, detailed in a recent post, focuses on checkpointing the attention KV to disk and restoring it on subsequent turns, dramatically speeding up inference.

According to the developer, the disk restore subsystem is the key innovation: it achieves 13x faster performance at 1K context and an astonishing 137x at 32K context. Decode tokens per second are measured over the decode window only, highlighting the efficiency gains.

qMLX adds hybrid-aware disk restore, eviction and metrics work, and specialization for the Qwen model family. The approach is aimed at enthusiasts looking to squeeze every drop of performance from their Mac Studio for AI workloads.

React