General question bank
AI Infra mixed interview question bank (3)
Real AI Infra interview questions covering inference optimization, training optimization, operator optimization, and high-performance computing
Inference optimization Training optimization Operator optimization High-performance computing
Basics
- What should you watch for when accessing CUDA Global Memory versus Shared Memory?
- Given the total number of tokens needed for training, how do you estimate wall-clock time to finish training?
- What mainstream optimizations apply to the Prefill stage and to the Decode stage?
- What does two-batch overlap mean? In which cases does it become a net negative?
- How does Megatron-LM implement communication optimizations?
- Multi-node PD separation adds KV Cache transfer cost. Why is PD separation still worth doing?
- Why can Muon and AdamW not be mixed across Pretrain and Post-train stages?
- How do you view cross-SM PD separation and AF separation?
- What are the key optimization points in DeepSeek-V3?
- How do DeepSeek-DSA, NSA, and MoBA differ?
- Which communication primitives does NCCL include? How many communication steps does one All-Reduce parameter update need?
- With small payloads, if you use NVSHMEM so each GPU reads other GPUs’ data and reduces locally, what is the advantage over Ring All-Reduce?
- How should you design the parallelism strategy when training very long sequences?
- When porting an Ampere operator to Hopper, what needs to be upgraded?