Anthropic Attention Kernels interview questions
Attention Kernels is a core part of the Anthropic Inference Engineer loop. Online softmax and its proof, FlashAttention 1 to 3 and what each generation changed, split-KV decoding, paged attention kernels, MLA absorption, sliding windows, and why IO, not FLOPs, is the cost model. Questions tagged to Anthropic come first. After them, the top-voted questions from the Attention Kernels track. Each answer is written the way a senior serving engineer would argue it at a whiteboard, numbers included.
WHAT ANTHROPIC LOOKS FOR HERE · Intimate familiarity with hardware and bandwidth numbers (FLOPs, HBM, PCIe, RDMA, network links) and ability to model where time and bytes go. See the full Anthropic interview process →
Attention Kernels questions tagged to Anthropic
More Attention Kernels questions for Anthropic's loop
Sorted by reader votes. These are not tagged to Anthropic; they cover the attention kernels ground its Inference Engineer loop is known to test.
Concepts behind Anthropic's Attention Kernels round
What these answers take for granted. Foundation concepts are free to read; the advanced ones are Premium.
Anthropic's Inference Engineer loop draws attention kernels questions such as "Derive online softmax, prove it is exact, and explain why it makes FlashAttention fast without reducing FLOPs.", "Implement online softmax for a whole tile of queries, not one query, and write the rescaling step in matrix form.", "Count the HBM bytes FlashAttention reads and writes for one head at N = 8K and d = 128, and compare it with naive attention.". Online softmax and its proof, FlashAttention 1 to 3 and what each generation changed, split-KV decoding, paged attention kernels, MLA absorption, sliding windows, and why IO, not FLOPs, is the cost model. Every question in the topic is listed below from easiest to hardest, each with a worked answer.
Other Anthropic interview rounds
The other tracks Anthropic's Inference Engineer loop tests.
Prep the whole Anthropic Inference Engineer loop
Attention Kernels is one round. Unlock every answer across Anthropic's full loop with Premium. Free questions in every track let you try the depth first.
Every worked answer and derivation in all 12 topics, every concept page, and the full practice-test bank.
6 months · One payment · No auto-renewal
Independent and not affiliated with Anthropic. All trademarks belong to their owners.