Re:Flash-Moe: Running a 397B Parameter Model on a Mac with 4...
by JSR_FDED on Sunday March 22, 2026 @08:25AM
(#47476802)
This is a very impressive result. If I understand correctly the bottleneck is the SSD in this architecture - the author seems to get almost 15GB/s - but I seem to remember the max b/w was about 8GB/s. What am I missing?
[ Parent
| on HN ]
Re:Flash-Moe: Running a 397B Parameter Model on a Mac with 4...
by Roxxik on Sunday March 22, 2026 @08:53AM
(#47477004)
IO is very bursty in these setups. When the router results are in you can start loading experts from SSD. In this brief moment the SSD is saturated.
Outside of that the SSD is idling.
Table 3 shows for K=4 experts an IO of 943 MB/Tok at 3.15 Tok/s giving an average IO of 2970 MB/s far below what the SSD could do.
I'm not sure, but not all expert weights are used immediately. Maybe they could do async reads for the down tensors parallelizing compute with IO.
Not sure if this works on Mac, I only tested my larger than RAM setup on Linux with io_uring O_DIRECT reads and I saw that about 20% of total reads do finish while my fused upgate matmul is already running.
Edit: Typos
Re:Flash-Moe: Running a 397B Parameter Model on a Mac with 4...
by zozbot234 on Sunday March 22, 2026 @09:17AM
(#47477209)
The github page mentions that you can't overlap SSD traffic and GPU compute on Apple Silicon, you get heavy contention for the shared hardware resources.
Re:Flash-Moe: Running a 397B Parameter Model on a Mac with 4...
by Aurornis on Sunday March 22, 2026 @10:19AM
(#47477787)
PCIe 5 doubles the maximum throughout. That’s why the numbers for newer SSDs are about double what you recall for the old maximum.
Re:Flash-Moe: Running a 397B Parameter Model on a Mac with 4...
by rado on Sunday March 22, 2026 @08:30AM
(#47476840)
MacBook Pro M5 Pro and M5 Max have such SSD speed
Re:Flash-Moe: Running a 397B Parameter Model on a Mac with 4...
by selimthegrim on Sunday March 22, 2026 @09:16AM
(#47477199)
I have an MBP M4 Pro and a WD Black SN850x in an external TB5 enclosure and I easily get 6-7 GB/s