internalsGet Pro

Module 17 · Lesson 11 of 11Pro

Design: training infrastructure for a growing team

Level
Advanced
Topic
Distributed training and scalable ML systems
Reading time
28 min

When you finish this page you can

  1. Size a shared training cluster from the deadline peak of whole machines, not from the week’s total GPU-hours.
  2. Decide when to rent GPUs per job and when to commit to a cluster, from the share of hours the GPUs are used.
  3. Design the shared parts every team’s training job relies on, from the job spec and default sharding to checkpoint storage, health checks and restart policy.
  4. Work out what changes in a training platform at 10 and 100 times the GPUs.

Builds on 3 lessons

Start with lesson 518 min
  1. Communication costs in distributed training18 min
  2. Fault tolerance and checkpoints at scale17 min
  3. Sharing GPU clusters across ML teams18 min

Video lesson · coming soon

Two growth plans, one full cluster

is the online store this course uses as its example: 5 million customers a day and 20 million products. Its sequence recommender predicts which products each customer will tap next, and fills the home page with them. Farah, an ML engineer, retrains it every night on a year of events. The run uses 40 and takes about 4.8 hours. It must finish between 00:00 and 06:00, so Joseph’s growth team has fresh recommendations by morning.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan