T3 Chips and hardware Phytium Internship Round 1
Phytium AI Infra internship first round
Real Phytium AI Infra internship first-round interview questions covering inference optimization and operator optimization
Inference optimization Operator optimization
Basics
- What is the core difference between processes and threads? What are the cache hierarchy levels and common replacement policies?
- In the IEEE floating-point standard, how are the bit widths of FP16, FP32, and FP64 allocated?
- What is the execution flow of quicksort? What are the basic properties of a heap? Which scenarios suit topological sort?
Inference and operator optimization
- Explain the traits of a Decoder-only Transformer, including how QKV are produced and when positional encodings are injected.
- What is the RMSNorm formula? What are its compute and memory-access traits? From which angles can you optimize it (e.g. load balancing, double buffer, instruction substitution)?
- How do you handle Softmax numerical stability? What is the idea behind Online Softmax?
- What memory optimization strategies apply to a fused matmul + dequant operator?
- In sparse SpMV, how do you achieve load balancing and bandwidth optimization?
Project experience
- Deep dive into the project.
Tools and engineering
- In Git, what are the ways to fetch a remote branch? How do fetch+checkout and pull differ?