Quant Memo
Core

GPU Scheduling and Cost Control

GPUs are expensive and often idle between jobs, so quant ML teams rely on schedulers and spend controls to keep training costs from spiralling.

A GPU sitting idle between experiments is a fixed cost with no offsetting output — cloud GPU instances are billed by the hour whether they're training a model or waiting for a researcher to submit the next job. GPU scheduling is the layer of software (Slurm, Kubernetes with GPU operators, or managed platforms like Ray) that queues jobs, allocates GPUs to them, and reclaims idle capacity, so a research team's compute spend tracks actual usage rather than however many GPUs happen to be reserved.

The single biggest cost lever in ML infrastructure is idle GPU time, not the hourly rate — a scheduler's job is to keep utilization high and kill jobs that overrun or hang.

Cost control in practice layers several mechanisms on top of scheduling: priority queues so urgent research jobs preempt low-priority sweeps, hard wall-clock timeouts so a bug that hangs a training loop doesn't burn a GPU for a week unnoticed, and spot/preemptible instances that are far cheaper than on-demand GPUs in exchange for the provider being able to reclaim them with little warning.

Worked example. A team runs hyperparameter sweeps of 50 jobs, each needing one GPU for roughly 4 hours. Run sequentially on one GPU, the sweep takes 200 GPU-hours over more than a week of wall-clock time. Scheduled across 10 spot GPUs at a third of the on-demand price, the same sweep finishes in about 20 hours of wall-clock time and costs roughly a third as much per GPU-hour — a large combined saving in both time and dollars, with the trade-off that any job running on a reclaimed spot instance needs to checkpoint and resume rather than losing all progress.

For a quant research group, the practical takeaway is that scheduling discipline — checkpointing, timeouts, and spot capacity — usually saves far more money than negotiating a better hourly GPU rate.

Related concepts

Further reading

  • Barroso, Hölzle & Ranganathan, The Datacenter as a Computer (ch. on scheduling)
ShareTwitterLinkedIn