01Serve a 70B-parameter model with high throughput. Do the memory math and name the optimizations.▼hard★ EssentialNVIDIAOpenAIAnthropic2 repliesunlockedInterviewers here want concrete figures, not 'grab a bigger GPU.' Weight memory stays constant, the KV cache scales with traffic, and the order you pull levers in settles the outcome. This walks through the napkin math and the serving stack.Open full answer →
02Explain data, tensor, and pipeline parallelism and FSDP/ZeRO, and size the memory for training a large model.▼hard★ EssentialNVIDIAOpenAIAnthropic2 repliesunlockedThe interviewer is checking that you understand how a model too large for any one GPU still gets trained, and can run the optimizer-state memory math that justifies sharding. This covers the parallelism taxonomy and the 16-bytes-per-parameter figure.Open full answer →
04Why is standard attention memory-bound, and how does FlashAttention fix it without changing the math?▼hardNVIDIAOpenAIAnthropic2 repliesunlockedA staple at hardware-aware teams. What they look for is grasping that attention's cost is memory traffic rather than FLOPs, and that FlashAttention is an exact, IO-aware reordering rather than an approximation. This is the answer that shows you reason about the memory hierarchy.Open full answer →
27What consumes GPU memory during training/inference, and how do you fit a model that doesn't?▼hardNVIDIAOpenAIMeta1 replies◆ premiumOOM is the wall you hit most often in deep learning, and 'buy a bigger GPU' is the weakest reply. What counts is naming the memory consumers, knowing which one dominates, and pairing the right lever with it.Open full answer →
64Your activations for one long sequence no longer fit on a GPU. Explain context parallelism and ring attention.▼hardNVIDIAAnthropicOpenAI◆ premiumData, tensor, and pipeline parallelism each leave a single sequence's activations on one device, so training past 200k tokens hits a wall none of them can clear. The fourth axis shards the sequence itself, and the interview turns on the communication math.Open full answer →