← Distributed Training
Advanced
Looped Transformers and Recurrent Depth
Looped Transformers reuse weights across depth. Trace how training accumulates shared gradients, what truncation removes, and why fewer parameters need not mean less compute.
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
PRACTICE THIS IN REAL QUESTIONS
Distributed Training & ParallelismA looped Transformer has 4× fewer parameters. Why does training still run out of memory?→Distributed Training & ParallelismHalve the experts and top-K, then double expert width. What actually gets cheaper?→Coding for InfraImplement scalar autograd and prove that a shared input receives every gradient contribution→GPU & Accelerator ArchitectureYour TPU matmul width is a multiple of 256. Why does wider sharding introduce padding?→Napkin Math, Cost & CapacityHow much memory does it take to fine-tune a 70B model, full fine-tuning versus LoRA?→Napkin Math, Cost & CapacityEstimate the activation memory for training a 70B model at an 8k sequence length→
