n+2 lookahead expert prefetching for Qwen Flash Next SSD streaming nets +8% on Mac

turtleninja99 · reddit · 2026-10-13

Optimizing Qwen Flash Next on a Mac Mini M5 64GB via SSD streaming, the author implemented an n+2 lookahead scheme suggested by the LocalLLama community: instead of fetching MoE expert weights one layer ahead, start loading them two layers ahead. Measured gains: +8% on chat and +4.2% on code. They note these stack on top of existing optimizations, so a vanilla setup could benefit even more. The project is open-sourced at github.com/skeggsguy/Flash-next-ssd.

Original post →

More from Infra

Infra channel →