T5 Others BAAI Round 2
BAAI AI Infra round 2
BAAI AI Infra round-2 interview questions covering inference optimization and operator optimization
Inference optimization Operator optimization
Fundamentals
- Describe the CUDA compute model, including block/grid configuration and impact on operator performance.
- How do different warps in the same block communicate data?
- Explain the approach for a CUDA reduce.
- When implementing Softmax in CUDA, how do warp-level vs block-level handling differ?
- What are static graphs vs dynamic graphs? How do you handle dynamic shapes?
- In an inference framework, what do the compute graph, runtime graph, and memory management each do? How would you design the overall architecture?
- Common graph-optimization techniques?
Operator optimization
- Compare the core improvements from FlashAttention v1 to v2.