Chapter 8. Day 4, second block, 55 minutes

The TPU serving stack

Tick each objective you can deliver out loud without notes. Then write the one-paragraph explanation you would give a room of GPU engineers. Saved attempts stay below, so you can compare them over the week.

Prompts to answer out loud

  1. Explain to a vLLM-on-CUDA engineer how continuous batching works when every shape must be known at compile time.
  2. What does torchax do to a torch.nn.Linear call, and where does it end up?
  3. Why does the KV-cache tensor in tpu-inference have a 'packing' dimension?
  4. You are porting a new PyTorch model to TPU this month. Which serving path do you choose and why?
0 of 6 objectives ticked. Drafts save as you type.