LLMs in pure JAX from scratch: Part 1 covers pretraining end to end
AmineZ04 · reddit · 2026-11-19
Amine Andam starts a blog series building small LLMs from scratch in pure JAX. Part 1 covers pretraining, implementing everything by hand: pytrees for networks, optimizers, data loaders, decoding, and the full training loop. Useful for developers wanting LLM internals and JAX fluency at once.
More from Research
- Betelgeuse v0.8 hits 50.3 tok/s on RTX 3060 with a CPU expert-prefetch oracle, bit-exact — zyxciss · 2026-11-29
- Whole-human-kidney blood flow imaging achieved with multi-lens ultrasound arrays + 3D ULM — Promptmethus · 2026-11-29
- GPU Power-Current Sensor Spots Hidden AI Training in 3 Seconds — bigdata · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29
- Same 80% accuracy, Brier scores 0.1961 vs 0.1600: a tiny demo of probability quality — Heavy-Confidence1826 · 2026-11-29
- Riemann Hypothesis proof condensed to 117 pages in paper rebuilt with Claude's help — birchlse · 2026-11-29