WhoBuilt

Multi-head attention

An attention mechanism that processes information through multiple attention heads.

Also known as MHA, attention

Timeline 0

Dated events, newest first. Open the sources under any item.

How we verify
20251 event
  1. as of Jul 2025uses
    GPT-2 uses Multi-head attention
    “The key operations inside the blocks are multi-head attention and the multilayer perceptron.”
    57:48inHow LLMs work for Web Devs: GPT in 600 lines of Vanilla JSYouTube

Talks 2

1:28:12
Deep dive on LLM Inference at Scale

Harshul Jain and Tanmay Sah explain LLM inference from first principles, focusing on how memory use, time to first token, throughput, and decode latency constrain serving. They show how attention, KV caches, and the prefill and decode phases create those constraints, then compare model optimizations such as quantization and attention variants with serving techniques such as paged attention, continuous batching, and prefix caching. They also review speculative decoding and benchmark vLLM, SGLang, and TensorRT-LLM for standard and agentic workloads. The talk closes with guidance on choosing models, GPUs, and serving engines based on workload priorities and cost.

Sep 8, 2026· 1 h 28 minDiscussed 43:34
1:41:33
How LLMs work for Web Devs: GPT in 600 lines of Vanilla JS

Ishan Anand explains how GPT-2 works using a browser-based implementation in vanilla JavaScript, showing how text becomes tokens and embeddings, passes through attention and MLP blocks, and yields a next-token prediction. He builds intuition for byte-pair encoding, positional embeddings, attention, neural networks, and backpropagation with examples rather than advanced math. He then describes how training turns a next-word predictor into a helpful assistant through instruction tuning and reinforcement learning from human feedback. The talk also compares GPT-2 with newer models, touching on RoPE, reasoning models, and mixture-of-experts architectures.

Jul 13, 2025· 1 h 42 minDiscussed 57:03