Skip to content
AI Learning Ground Start learning

Research ·

Impactful scheduling for GPU clusters

Ai2's AI Infrastructure team replaced a priority-based scheduler on its GPU clusters with a system of GPU time budgets, hierarchical fair-share allocation, and a time-slicing contract to better prioritize high-impact research while keeping GPUs fully occupied.

Impactful scheduling for GPU clusters
Image: Hugging Face

Ai2's AI Infrastructure team manages thousands of NVIDIA H100, B200, and B300 GPUs in clusters of 88 to 1024 GPUs, serving about 150 internal researchers working on LLM and VLM training, robotics reinforcement learning, and scientific agentic post-training. Demand outstrips supply, with outstanding requests for 2-3x more GPUs than available at any moment. The team frames its work as a pyramid of metrics: availability, occupancy, impact, and utilization, and focused on improving impact.

Their previous priority-based scheduler with optional preemptability produced predictable pathologies: GPU "squatting" with no-op parked workloads, priority inflation where all scheduled workloads used HIGH priority, and on-call engineers spending most ticket time negotiating shutdowns of non-preemptable jobs on hosts needing maintenance. Explicitly assigning GPU monopolies to key projects also left GPUs idle due to the seasonality of research, which the team describes as a manually solved knapsack problem and a tragedy of the commons.

The new system allocates portions of GPU time rather than machines. Because research demand cannot be forecast, leadership instead decides budgets in advance based on judged impact of each effort, with managers proportionally allocating GPU time to projects and researchers hierarchically. This shifted GPU-time debates from case-by-case operational tasks to a transparent administrative budgeting process while the scheduler uses those budgets to prioritize arriving workloads.

For teams building with AI, the post offers a practical lesson: when compute demand exceeds supply, allocating time budgets rather than hardware preserves both ownership incentives and full occupancy, and avoids gaming behaviors like priority inflation or artificially inflated utilization.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#open-weights #tooling #research