01Serve a 70B-parameter model with high throughput. Do the memory math and name the optimizations.▼hard★ EssentialNVIDIAOpenAIAnthropic2 repliesunlockedThe interviewer wants real numbers, not 'use a big GPU.' Weights are fixed, the KV cache grows with load, and the lever order decides everything. Here is the back-of-envelope 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 wants you to know why a model that fits on no single GPU still trains, and to do the optimizer-state memory math that motivates sharding. Here is the parallelism taxonomy and the 16-bytes-per-parameter calculation.Open full answer →
04Why is standard attention memory-bound, and how does FlashAttention fix it without changing the math?▼hardNVIDIAOpenAIAnthropic2 repliesunlockedA favorite at hardware-aware shops. The signal is understanding that attention's cost is memory traffic, not FLOPs, and that FlashAttention is an exact, IO-aware reordering, not an approximation. Here is the answer that shows you think 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 most common wall in deep learning, and 'buy a bigger GPU' is the weakest answer. The signal is naming the memory consumers, knowing which one dominates, and matching the right lever to it.Open full answer →
64Your activations for one long sequence no longer fit on a GPU. Explain context parallelism and ring attention.▼hardNewNVIDIAAnthropicOpenAI◆ premiumData, tensor, and pipeline parallelism all leave one sequence's activations on one device, so 200k+ token training hits a wall none of them can fix. The fourth axis shards the sequence itself, and the interview lives in the communication math.Open full answer →