~/talk

Dream Machine: Scaling to 1m users in 4 days

links:none on file
slides:none on file

Luma AI hits a million users in four days by turning a brittle Triton-based stack into a vanilla PyTorch serving stack, manually scaling from 500 to 5,000 H100s in six hours and borrowing another ~4,000 from training to process ~500,000 videos in a launch surge. Operational fixes include a dispatch-limitation to avoid back pressure, a SLO-percent ranking fair scheduler to prevent work starvation, and a model repo with immutable versions and YAML-driven hot swaps for reproducible rollouts.

AI-written summary · about

  1. 0:00The initial launch challenges.Luma AI was unprepared for the high traffic, quickly exhausting their initial GPU allocation and facing a large queue of requests.
  2. 0:57Rapid scaling efforts.They rapidly scaled their GPU capacity from 500 to 5,000 H100 GPUs within six hours, and later added another 4,000 H100 GPUs from their training cluster to keep up with demand.
  3. 3:10Luma AI's mission.Beyond just video models, Luma AI aims to build general multimodal intelligence that can generate, understand, and operate in the physical world.
  4. 3:22Their product capabilities.They demonstrate a "modify video" feature where users can upload iPhone videos and transform them with text prompts. They also highlight their public API for integrating this functionality into applications [].
  5. 6:02Infrastructure re-architecture.They moved from a brittle, tightly coupled container setup using Triton inference server to a custom-built serving stack on vanilla PyTorch, which offers better support for multiple GPUs, nodes, and different chipsets.
  6. 7:39Challenges and solutions in scaling
  7. 7:51Back pressure.They implemented a dispatch limitation system to prevent too many CPU workers from queuing jobs in one cluster.
  8. 8:36Fair scheduling and work starvation.To address issues with different user tiers (API, enterprise, unlimited, light, free) and prevent lower-priority jobs from being starved, they developed an SLO (Service Level Objective) based system that prioritizes jobs based on the percentage of their worst-case waiting time [].
  9. 13:24Model management.They use a model repository system where each model has immutable versions stored in object storage, including the full Python environment and checkpoints. This allows for reproducible rollbacks and seamless, on-the-fly version switching for workers [].
  10. 15:13Hiring.Luma AI is actively hiring engineers, researchers, and AI enthusiasts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.