cd /news/large-language-models/leanpub-book-launch-under-the-hood-b… Β· home β€Ί topics β€Ί large-language-models β€Ί article
[ARTICLE Β· art-32899] src=leanpub.com β†— pub= topic=large-language-models verified=true sentiment=↑ positive

Leanpub Book LAUNCH πŸš€ Under The Hood: Build Every Layer of a Large Language Model from Scratch by Ramchand Kumaresan

Ramchand Kumaresan, a Senior Program Manager at Procore Technologies and founder of Murai Labs, launched the book 'Under The Hood: Build Every Layer of a Large Language Model from Scratch' on Leanpub. The book offers 35 hands-on projects to build and break every component of an LLM, aiming to bridge the gap between theory and implementation.

read2 min views1 publishedJun 15, 2026

Books Most LLM books teach you to use models. This one teaches you to build them β€” every layer, every optimizer step, every cache, every quantization scheme β€” and then to deliberately break each piece so you understand why it exists in the first place.

Welcome to the Leanpub Launch video for Under The Hood: Build Every Layer of a Large Language Model from Scratch by Ramchand Kumaresan!

About the Book #

Most LLM books teach you to use models. This one teaches you to build them β€” every layer, every optimizer step, every cache, every quantization scheme β€” and then to deliberately break each piece so you understand why it exists in the first place.

It is a workshop in book form. 35 hands-on projects, ~250,000 words, one tight spiral that takes you from a single autograd scalar all the way to fusing independently trained specialists into a routed system. No black boxes. No "import library, call method." You write the code, you run it, you break it, you measure what broke.

Each project follows the same disciplined rhythm: Hook β†’ The Concept β†’ Why It Matters β†’ The Build β†’ BREAK IT β†’ Optional Homework β†’ Questions To Answer β†’ Go Further β†’ What You Now Know. Reading the book without breaking the code is half the experience. The breaks are where the lessons actually live.

A public code companion lives at github.com/mechramc/Under-the-hood with runnable build.py, tests, and captured outputs for every project.

If you have ever read a transformer paper and felt that the diagram and the code were in two different universes β€” this book closes that gap. Build it. Break it. Measure it.

About the Author #

Ramchand Kumaresan is a Senior Program Manager at Procore Technologies and the founder of Murai Labs, a small AI research lab he runs solo from outside Austin. His arXiv work includes KALAVAI, UYIR, and Orion. He started writing this book because he kept meeting engineers who could ship against the OpenAI API but couldn't explain a logit β€” and realized he was one of them. Eighteen months later, this is the book he wished he'd had.

── more in #large-language-models 4 stories Β· sorted by recency
── more on @ramchand kumaresan 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/leanpub-book-launch-…] indexed:0 read:2min 2026-06-15 Β· β€”