JustFit: 200K-Token LLM Serving on a 24 GiB Laptop with Just-in-Time State Management
Capable open-weight models make local coding and reasoning attractive, but their context and execution state strain laptop memory. We present JustFit, an MLX-based inference runtime that combines KVExec for compressed KV execution, PhaseSwap for component residency, and StateTrans for state-preserving serving transitions. These mechanisms fuse reconstruction and coordinate just
Reading in Plain English mode — toggle below to switch
Capable open-weight models make local coding and reasoning attractive, but their context and execution state strain laptop memory. We present JustFit, an MLX-based inference runtime that combines KVExec for compressed KV execution, PhaseSwap for component residency, and StateTrans for state-preserving serving transitions. These mechanisms fuse reconstruction and coordinate just
This paper presents a significant advancement in local LLM serving, enabling much larger context windows on consumer-grade hardware. For ML engineers, this means more powerful local development environments and potentially new application paradigms for edge AI, reducing reliance on cloud infrastructure for certain tasks.