DeepSeek V4 Flash Shrunk to 57GB, Writes a Compiler
hacklas · hn · 2026-08-17
A developer compressed DeepSeek V4 Flash 0731 from 284B to 57GB parameters while preserving reasoning and coding capabilities. Tested on an M3 Max, the model wrote an ARM64 C compiler in under an hour, passing Fibonacci and FizzBuzz tests.
Key Techniques:
- Efficient Quantization: Uses mlx-iqk with IQK tensor encoding, outperforming llama.cpp and bare MLX.
- Expert Pruning: Removed 80B parameters less critical for coding using the REAP technique.
- Layout Optimization: Switched to k-contiguous layout for faster Metal performance.
It runs on 32GB Macs (128K context, 5 tok/s) and even on 16GB M1 Airs (1.39 tok/s). Code is available on GitHub.
More from Infra
- oMLX 0.8.4 doubles Inkling 2 Mini decode speed on Mac, adds concurrent MTP — pcuenq · 2026-11-30
- Tencent issues $5.4B notes as AI costs turn cash flow negative; AMD closes World Labs deal with Fei-Fei Li — YvesMulkers · 2026-11-30
- Banks in Europe and Asia plan higher spending on local data storage to cut US cloud reliance — AIFlow_ML · 2026-11-30
- Air New Zealand to offer free Starlink Wi-Fi across entire fleet by end of 2028 — elonmusk · 2026-11-30
- From Scratch to Trained Video Model in 10 Minutes With Pure C++/CUDA — gandamu_ml · 2026-11-30
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30