DeepSeek V3 in 190 lines of pure JAX: a 36.2M-param implementation trained on a MacBook Air
saurabhtwq · x · 2026-12-02
Inspired by Welch Labs' MLA video and the "Llama3 in 100 lines of pure JAX" / "ViT in pure JAX" blogs, developer Vaibhaav Tiwari published DeepSeek V3 in 190 lines of pure JAX.
- A downscaled 36.2M-parameter implementation of the V3 architecture (not the full 671B), keeping its core design
- Trained on a MacBook Air M5 (24GB) using Apple's jax-metal plugin as a PJRT device
- Trained on 207 books from Hammett and Project Gutenberg instead of the usual Shakespeare dataset
- Some architecture diagrams were drawn with Claude Opus 5.5
Code is open on GitHub with discussion on Hacker News — a good from-scratch walkthrough of DeepSeek V3's architecture.
More from Research
- UT Austin PhD with speech LLM work at Meta MSL enters 2027 industry research job market — sumanthd17 · 2026-12-02
- Papers with Code November trending: Google proves Hadwiger's conjecture, miHoYo ships game-agent VLA model — NielsRogge · 2026-12-02
- Three experiments show people systematically underuse information discovered by others — _akpiper · 2026-12-02
- NL2Repo-Pro benchmark: Claude Opus 5.5 tops at 61.7% feature acceptance on production-scale repos — Tokenwave-AI · 2026-12-02
- AttnSteer steers text-to-video diffusion attention to guarantee object rendering without retraining — barilan · 2026-12-02
- ETH Zürich trains perceptive legged locomotion entirely in imagination with terrain-grounded world model — Matthias Heyrman · 2026-12-02