JetbrainsStanislav ErokhinAnnouncement
Junie Local became 70% faster on Mac M5
Summary
Junie Local, JetBrains’ local AI coding agent, now delivers ~70 tokens/s on Mac M5 Max, up from ~40 tokens/s, with bursts up to 107 tokens/s. The speedup comes from replacing the MLX-VLM inference engine with Inco AI’s Splash engine, which verifies eight drafted tokens per decode step and reduces attention cost per position. A new DFlash2 draft model, fine-tuned with SpecForge on ~1 million generated tokens of coding trajectories, improves acceptance rate for speculative decoding. The release also improves prefill from 850 t/s to 1200 t/s and reduces memory consumption to ~24 GB on 100k context. Junie Local now supports M4 Macs and newer with 64GB of RAM, though prefill on M4 is about four times slower than on M5.
Context
Junie Local, JetBrains’ local AI coding agent for Mac M5, was initially optimized with the MLX-VLM engine. Two months later, community advances in inference speed led to testing and adopting new techniques. The release targets faster token generation and prefill, lower memory usage, and support for M4 Macs with 64GB RAM.
Approach / What changed
Junie Local replaced the MLX-VLM inference engine with Inco AI’s Splash engine, which verifies eight drafted tokens per decode step and reduces attention cost per position, and ported int8 operations from MLX-VLM to Splash. It also added a DFlash2 draft model fine-tuned with SpecForge on ~1 million generated tokens of agentic coding trajectories from the Junie Local harness, using Qwen3.8-3.6-27B-blend as the base model to reduce overthinking.
Takeaways
Splash engine verifies eight drafted tokens per decode step and reduces attention cost per position by an order of magnitude, keeping decode speed stable as context grows.
Fine-tuning a DFlash2 drafter with SpecForge on ~1 million generated tokens of coding trajectories matched Inco’s acceptance rate, showing few trajectories are needed.
Junie Local now requires ~24 GB of RAM on 100k context and supports M4 Macs with 64GB RAM, but prefill on M4 is about 4x slower than on M5.
FAQ
How does Junie Local achieve 70 tokens/s?
The Splash engine verifies eight drafted tokens per decode step and reduces attention cost per position by an order of magnitude, so decode speed barely drops as context grows. This is combined with a DFlash2 draft model fine-tuned on coding trajectories to improve acceptance rate.
How was the DFlash2 drafter trained?
The DFlash2 drafter for Qwen3.8-3.6-27B-blend was fine-tuned with SpecForge on ~1 million generated tokens of agentic coding trajectories from the Junie Local harness. This matched Inco's acceptance rate with relatively few trajectories.
What is the performance on M4 Macs?
On M4 Macs, prefill is approximately 4 times slower than on M5, so loading the system prompt and context will be slow. The release supports M4 Macs and newer with 64GB of RAM.
Source and freshness
- Source
- blog.jetbrains.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.