Design an ML job scheduler for a shared CPU and GPU cluster
45:00
Design the job scheduler for a shared ML cluster of CPU and GPU machines. About forty teams submit distributed training jobs, batch inference, hyperparameter sweeps and notebooks. Each team has a guaranteed share, some jobs have deadlines, and GPUs cost enough that idle ones come up in the monthly review.
Walk me through how jobs are queued, admitted, placed, preempted and recovered.
Ask the interviewer
Write your own questions first, then compare.
What runs on the cluster?
What hardware is there?
How big do jobs get?
How are teams entitled to capacity?
Which work has deadlines?
Can jobs be preempted?
Is capacity elastic?
Follow-ups
In the room these come after your design, not before. Write your first pass, then open them and answer each one.
Your answer
0 words