hn.today

JustFit: Run Qwen 27B Fast with its full 256K context on a 24 GB Mac

github.com9 points0 comments
Screenshot of JustFit: Run Qwen 27B Fast with its full 256K context on a 24 GB Mac

JustFit is a local inference and serving system for running the 27B Qwen3.8-Splash language-and-vision model on Apple-silicon Macs with limited unified memory. It targets long contexts and concurrent requests by compressing and sharing KV-cache pages, keeping a speculative draft model resident, and coordinating CPU, GPU, and Neural Engine work. Its components manage compressed-history attention, memory and workspace lifetimes, persistence of model state, and device scheduling. The system exposes an OpenAI-compatible API for chat, images, streaming, structured output, and controlled reasoning. The documented prebuilt installation supports macOS 27 or later on reference M4 Pro, M5 Pro, and M6 systems; the pinned model download is about 17.4 GB.

Tests report 320K aggregate retained-page capacity across two live requests using warm prefixes, while retaining the draft model; this is not a 320K context for one request or a guarantee for cold prefill. In fixed 16K tasks, JustFit v2’s median decode rate is 2.0-2.5 times v1’s, and median prefill is 9-46% faster than upstream Splash 1.3.0, while singleton decode is 2-9% slower. These are whole-system comparisons across different hardware, formats, and profiles, not isolated mechanism benchmarks. Accelerator behavior varies by chip and execution phase: for example, M6 can use the Neural Engine for language work during eligible decode periods, while vision offload is conditional and does not guarantee faster image processing. The project is Apache-licensed and provides release packages, setup instructions, measurement protocols, and a technical preprint.

Read on github.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

Now Anthropic is blocking Russian users

Now Anthropic is blocking Russian users

Anthropic is accused of charging Russian Claude users before identity checks, then cutting off access after verification and retaining biometric data. Critics say account bans can affect linked GitHub projects and Russian citizens living abroad, and accuse the company of failing to answer public questions. (twitter.com)

The End of AI Frontiers

The End of AI Frontiers

Microsoft Research’s AI Frontiers group brought together about 50 researchers to develop agent systems and foundational AI advances. After the team joined Microsoft AI in September, its research-first approach clashed with leadership’s emphasis on scaling. (hunch.net)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.