T1 Large companies and unicorns Huawei Internship
Huawei AI Infra internship (2)
Real Huawei AI Infra internship interview questions covering inference optimization, training optimization, operator optimization, and high-performance computing
Inference optimization Training optimization Operator optimization High-performance computing
Inference optimization
- How do you estimate parameter counts needed when deploying a model versus running inference?
- In model inference, how do Prefill and Decoding differ? How do you compute KV Cache size?
- What is the math behind the Temperature hyperparameter? In what order do Temperature, Top-k, and Top-p apply?
- What is Softmax’s definition and compute process?
Training optimization
- In DeepSpeed, what do ZeRO Stage 1, 2, and 3 each optimize? How do the stages differ?
- Suppose you distribute matrix multiply A x B across 4 GPUs: how do you shard A and B, and use inter-GPU communication to save memory?
High-performance computing
- What communication operators do you know? What common collective communication primitives exist?