← GPU & Accelerator Architecture
Advanced
The TPU Software Stack: JAX, XLA, PyTorch and vLLM on TPU
Trace JAX and native PyTorch through TPU compilation and serving. Compare TorchTPU, PyTorch/XLA, vLLM, SGLang and XLA Serving Engine, then quantify shape-bucketing tradeoffs.
This concept is part of Premium, which includes all concepts, course lessons and answers.
Get Premium · ₹2,000 / $256 months of access · one payment · no auto-renew
RELATED CONCEPTS
LESSONS THAT TEACH THIS
PRACTICE THIS IN REAL QUESTIONS
Distributed Training & ParallelismA PyTorch team wants to train on TPUs. How do you choose between TorchTPU, JAX and an existing PyTorch/XLA stack?→GPU & Accelerator ArchitectureYou have trained on GPUs. What transfers to training on TPUs, and what do you have to relearn?→Open-Weights Models & Serving EnginesYou serve a model with vLLM on GPUs. What changes when you move the same model to TPUs?→Distributed Training & ParallelismHow is training on TPUs with JAX different from training on GPUs with PyTorch? What do you stop doing by hand?→GPU & Accelerator ArchitectureYour TPU matmul width is a multiple of 256. Why does wider sharding introduce padding?→CUDA, Triton & Kernel EngineeringA CUDA upgrade improves warm runs but slows the first request. Would you ship it?→
