On a TPU pod you write one program, annotate how each array is sharded across a named mesh, and the compiler inserts and schedules every collective. What that removes from the engineer's job, what the torus changes about layouts, where Pathways fits, and what a compiler-owned schedule costs.
How is training on TPUs with JAX different from training on GPUs with PyTorch? What do you stop doing by hand?
On a TPU pod you write one program, annotate how each array is sharded across a named mesh, and the compiler inserts and schedules every collective. What that removes from the engineer's job, what the torus changes about layouts, where Pathways fits, and what a compiler-owned schedule costs.
Updated Sep 2026 · Grounded in real AI infrastructure interview loops and written to a senior-engineer editorial bar, with every number worked and every diagram hand-built.
The concepts behind this question
Ranked by how closely each one overlaps this question's topic, so the first card is the thing to read if the answer above moved too fast.
Scored on explaining SPMD sharding annotations concretely, on knowing that XLA emits and overlaps the collectives, on the torus versus NVSwitch difference, and on the honest costs: compile time, static shapes, and less control.
No comments yet — be the first to share your approach.
