T0 Big tech ByteDance Internship Rounds 1-3
ByteDance AI Infra internship rounds 1-3
ByteDance AI Infra internship rounds 1-3 interview questions covering inference optimization, training optimization, and operator optimization
Inference optimization Training optimization Operator optimization
First round
Project experience
- Introduce your work related to Efficient Transformer.
Fundamentals
- What three parts make up each CPU cache line, and what does each do?
- Why design multi-level caches?
- After a cache miss, what does the hardware do?
- What performance costs does the page table introduce, and how do you mitigate them?
- What benefits does the page table bring?
- How does C++ function overloading work, and how does the compiler implement it?
- What are atomic operations in C++, and why were they introduced?
Coding
- Board connectivity: decide whether the first row connects to the last row.
Second round
Project experience
- Dig deeper into Efficient Transformer research.
Fundamentals
- How do you implement a Sparse Attention Python kernel?
- What common parallel strategies appear in distributed large-model training?
- When training or inference uses too much GPU memory, what options do you have? (for example sparsification, gradient checkpointing, quantized inference, mixed precision, distillation)
- How do you write GPU parallel compute code?
Coding
- Given a full Graph class definition, implement topological sort.
Third round
Project experience
- What is novel about the Sparse Attention mechanism you proposed?
- How well do Efficient Attention, MoE, and distributed training work in industrial settings?
Fundamentals
- In C++ polymorphism, when are vtable function addresses fixed? When is an object’s vptr assigned?
- How do you free memory already allocated by a vector in C++?
- Design a data structure that supports all stack operations and can return the current minimum in O(1).
Coding
- Next permutation (LeetCode 31).