I ran 120B MoE models on my 32GB M1 Max using under 16 GB mitln.github.io · 9 po...
HN Best 200 @best
I ran 120B MoE models on my 32GB M1 Max using under 16 GB mitln.github.io · 9 points · 1 comments · HN thread
TL;DR The author describes a prototype inference engine that runs 120B-class mixture-of-experts models (gpt-oss-120b and Qwen3.5-122B-A10B) on a 32GB M1 Max under a 16 GiB process-memory budget by keeping most expert weights on SSD. On gpt-oss-120b it reports about 36% higher decode speed than TUFF 10.2.2 and less slowdown when another process uses memory, but the engine code is not yet released and results come from one machine.
- The engine keeps most MoE expert weights on the SSD, loads what is needed, and enforces a process-memory limit checked against macOS counters.
- On gpt-oss-120b (MXFP4 experts, BF16 non-expert weights), the engine averaged 7.84 tok/s versus 5.78 tok/s for TUFF 10.2.2 across eight prompts, about 1.36x.
- With 4 GiB of competing memory use, the engine lost about 3% speed while TUFF lost about 23%; at 8 GiB both suffered.
- TUFF filled 14.5–15.2 GiB of the file cache, while the engine kept the model-file cache nearly empty; the author argues system responsiveness may matter as much as raw speed.
- The author discarded an early benchmark where macOS file cache silently served model data, and fixed correctness bugs in an MLX kernel and prefix-cache reuse.
- Correctness is checked against unmodified mlx-lm: 9 of 9 reference cases matched per 120B-class model; the engine code is not yet released and tests were on one Mac, one request at a time.
Discussion The thread is very small, with a single comment. It is a follow-up from the project's author reporting that the engine has been ported to iOS and is running Ling-mini-2.0, a 16B MoE model, on an iPhone 13 Pro with 6GB RAM at roughly 13 tokens/sec in early tests. The tone is positive and preliminary, with the commenter noting memory, longer generations and thermal behaviour remain untested.
- Engine also works on iOS, promising for old phones (a few): The only commenter reports porting the engine to an iPhone 13 Pro and getting around 13 tokens/sec with a 16B MoE model. They say memory use, longer generations and heat effects are still to be tested.
#localInference #moeModels #appleSilicon #llm #expertOffloading