# Building a State-of-the-Art LLM Framework Took 10 Months, Not 3

Original title: A primer on GPUs and kernel optimization

> Hacker News story 50386246 · language: en · submitted 2026-11-05
> Web version: https://zeli.app/story/50386246
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 185 · by [nomi_uw](<https://news.ycombinator.com/user?id=nomi_uw>) · 💬 21
[original](<https://www.nabo.dev/blogs/kernel-primer>) · [HN discussion](<https://news.ycombinator.com/item?id=50386246>)

## Summary

A first-person account of building the Jam reinforcement learning framework after Claude Opus 4.5 made a three-month timeline seem realistic — ten months later, it's fast and state of the art. This primer covers GPU fundamentals: floating-point formats like fp8 and bf16, threads, warps, blocks, and SMs, HBM versus registers and shared memory, occupancy, and streams, then moves into kernel optimization and the author's workflow for developing kernels with LLMs.

## Key quote

> Overall, this was a foolish idea, no matter what the results are.

## HN discussion (21 comments)

### [augment_me](<https://news.ycombinator.com/item?id=50432557>)

> Crazy to not see a word about benchmarking/evaluation of the kernels.
>
> IMO at this time when all performant GPU kernels are generated/hill-climbed, its the largest source of error we see.
>
> Should be kernel run with a hot or cold cache in practice? Should your kernel be bitwise equivalent to a ref? What error margins should your kernel have to ref? How many times are you running the kernel to avoid thermal noise? Are you running on separate GPUs to avoid overfitting the current hardware? Can you cudagraph-compiling your kernel to remove launch overhead? Are you A/B B/A interleaving your kernel/reference runs to avoid running thermal bias?

### [saagarjha](<https://news.ycombinator.com/item?id=50434738>)

> \> On the H200s used for most of this work, the GPU's main memory is HBM, or high-bandwidth memory. Ironically, this is the slowest memory on the chip.
>
> Nit: HBM is off chip, unlike shared memory and registers

### [brcmthrowaway](<https://news.ycombinator.com/item?id=50435274>)

> Someone needs to write a book on this

---

## Cite

- Page: https://zeli.app/story/50386246
- Date: 2026-11-05
- Source: nabo.dev (https://www.nabo.dev/blogs/kernel-primer)
- Hacker News: https://news.ycombinator.com/item?id=50386246

## Other languages

- zh: https://zeli.app/zh/story/50386246 · markdown: https://zeli.app/zh/story/50386246.md
- ja: https://zeli.app/ja/story/50386246 · markdown: https://zeli.app/ja/story/50386246.md
- ko: https://zeli.app/ko/story/50386246 · markdown: https://zeli.app/ko/story/50386246.md
- de: https://zeli.app/de/story/50386246 · markdown: https://zeli.app/de/story/50386246.md
- es: https://zeli.app/es/story/50386246 · markdown: https://zeli.app/es/story/50386246.md
- ru: https://zeli.app/ru/story/50386246 · markdown: https://zeli.app/ru/story/50386246.md
