Measurement and attribution
30%Senior signals
- ✓Builds end-to-end traces and a FLOPs or latency funnel from queue to kernel.
- ✓Uses production-representative prompt lengths, batch shapes, and hardware.
Design the measurement, kernel, rollout, and correctness system that closes the gap between theoretical and achieved inference throughput.
Your inference fleet is 35% below expected throughput and p99 latency regressed after a runtime update. Design the system and process to diagnose and safely improve it.
Use this as one discussion aid, not a single correct answer. Your design should follow from the requirements, scale, and trade-offs you establish.
graph LR
A["Design an LLM Inference Performance Optimization Program"]
A --> F1["Cross-layer latency and throughput attribution"]
A --> F2["Roofline analysis and representative benchmarks"]
A --> F3["Kernel fusion, memory bandwidth, and variable sequence lengths"]
A --> F4["Quantization and numerical correctness"]
A --> F5["Canary rollout, regression detection, and rollback"]This is an evaluation framework, not a single model answer. Strong designs may make different choices when their assumptions and trade-offs are explicit.
Practice drawing this system component-by-component on a live whiteboard while the interviewer probes at your target level.
Start Interview