AI Infra Interviews logo
← Distributed Training & Parallelism / 24
hardGoogleGoogle DeepMind

How is training on TPUs with JAX different from training on GPUs with PyTorch? What do you stop doing by hand?

A global-array program lets the compiler derive communication from sharding choices. Work through a small matrix example, then separate that programming model from TPU topology, compilation and Pathways recovery.

Updated Sep 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

A global-array program lets the compiler derive communication from sharding choices. Work through a small matrix example, then separate that programming model from TPU topology, compilation and Pathways recovery.

The full answer is part of Premium. A free account includes more answers in each topic, but does not unlock this one.

20 answers per topic instead of 10, plus saved progress and bookmarks · no cardor unlock all 316 remaining answers · ₹2,000 / $25

Work through the numbers

Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.

UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Explain named sharding with a concrete array layout. Separate compiler automation from correctness guarantees, hardware from framework choice, and runtime recovery from application-state recovery.

DISCUSSION · 0

No comments yet — be the first to share your approach.