LESSON 2.36 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW
Combinatorial optimization
See every way to share 5 jobs between 2 GPUs, and search for the best.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 2.36 · SEARCH BAY5 JOBS · 2 GPUS · 32 SCHEDULES
01
Stage 1 of 6 · Discrete choices
Combinatorial optimization picks the best of a finite set of options. 5 jobs on 2 GPUs give 32 schedules.
Explain it simply
5 training jobs have to share 2 GPUs. Each job runs on one GPU or the other, never half on each. So there's no slope to follow, as in gradient descent. Each job doubles the choices, so the tree ends in 32 leaves, one for each schedule.
5 jobs of 2, 2, 3, 3, 4 hours. A tree with 5 levels splits at each job into GPU 1 and GPU 2. It ends in 32 leaves.
job and its hoursGPU, greedy planmakespan, best planidle GPU, search timecut branch
Toy: 4 to 6 training jobs · 2 GPUs · every schedule is a leaf of the tree
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
With G GPUs and n jobs, there are G to the n schedules.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 2 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.