yuhuabill
Joined 19 days ago
Joined 19 days ago
Numbers from the paper, all on 24 GB-class Macs (M4 Pro, M5 Pro, M6): - 256K in one request; 320K total across two concurrent requests with the draft model still resident - 16K tasks: decode 2.0–2.5× my earlier MLX version (M5 Pro: 55 tok/s on one lane, ~110 on four); prefill 9–46% faster than Splash 1.3.0, the native engine this builds on (M5 Pro: 479 tok/s) - AIME 2026, all 30 questions × 3 seeds, 4-bit weights and 4-bit KV: 94.4% - a 128K conversation comes back after a restart in about 2 s instead of 445 s of prefill
For an end-to-end check I ran the same coding agent (dsh, the DeepSeek harness), same prompt and same reference image on one M5 Pro, once per engine: rebuild a Japanese garden picture as a live Three.js scene. JustFit v1 and Splash 1.3.0 were still going at the 4-hour cap (Splash compacted its 65K window 31 times); v2 finished in 1:06 at 163K tokens of context with no compaction. One recorded run per engine, so treat it as a demo; the two-minute replay is on the project page: https://yuhuachen.com/justfit It is Apache-2.0, installs with pip (macOS 27, 24 GB+; tested on M4 Pro, M5 Pro and M6), and serves an OpenAI-compatible API. The paper (PDF) is in the repo; the arXiv version is pending. Thanks to Inco AI for Splash and DFlash2, and to MLX and Prince Canuma's mlx-vlm, where v1 started.
Happy to go into the memory accounting on unified memory, speculative decoding with a resident draft, ANE vision, or what did not work.
Project page: https://www.yuhuachen.com/justfit