Skip to content
InfoNewsLLM-specific

Autoresearching Apple's "LLM in a Flash" to run Qwen 397B locally

Published
Record updated
View JSON

Summary

Dan Woods ran a custom Qwen3.5-397B-A17B model at 5.5+ tokens per second on a 48GB MacBook Pro M3 Max, although the model takes 209GB on disk (120GB quantized). He applied techniques from Apple's 2023 paper "LLM in a flash" and used Claude Code with an autoresearch-style loop to run 90 experiments and produce MLX Objective-C and Metal code. The final setup quantizes experts to 2-bit, keeps about 5.5GB of non-expert weights resident in memory, and reduces experts per token from 10 to 4, though the source notes the quality impact is unclear.