AI2 (AI2)’s AI infrastructure team announced improvements to its GPU cluster scheduler. It replaced the traditional priority-based scheduler with a system incorporating GPU time budgets, hierarchical fair-share allocation, and time-slicing contracts. This shift moves the allocation of GPU time for research projects from ad-hoc operational tasks to a transparent budgeting process. The rollout began at the end of July.
Background: GPU Demand Exceeds Supply
The company manages several thousand NVIDIA H100, B200, and B300 GPUs, with cluster sizes ranging from 88 to 1024 GPUs. Approximately 150 researchers utilize the resources for diverse tasks including LLM and VLM training, reinforcement learning simulations for robotics, and post-training for scientific agents. Demand exceeds supply by a factor of 2 to 3, meaning 2 to 3 workloads compete for each unit of GPU time.
The traditional priority-based scheduler suffered from issues such as GPU “squatting” and priority inflation. Users were unable to launch debugging workloads with low latency, and “squatting” occurred when users left idle workloads in place. Additionally, priority inflation led to situations where low-priority workloads could not secure GPU time.
How the New Scheduler Works
The new system allocates a GPU time budget to each research project. Managers distribute these allocations proportionally to projects and researchers, directly reflecting program strategy. For example, Project A1 holds rights to 35% of the total capacity. GPU time requests must be covered by the budget, and workloads outside their budget are not protected from preemption.
Furthermore, a hierarchical fair-share scheduler was introduced. It tracks occupancy using a 7-day sliding window and prioritizes workloads from groups falling below their allocation. Additionally, under “scheduling contracts,” each workload declares a minimum execution time. During this period, it is protected from preemption, but may be automatically re-queued after execution. This enables time slicing and discourages GPU squatting.
Simulation and Actual Results
The company built a simulation environment and tested it using historical data and constructed scenarios. Predicting wait times for debugging workloads (requiring few GPUs and a minimum execution time of 15 minutes or less), it forecasted a reduction from 6 hours to 5 minutes at the p90 level. Actual measurements showed a reduction in p90 wait times for debugging workloads from 2 hours to 30 seconds. The simulations were directionally accurate, and actual results exceeded predictions.
During the 30-day test period, teams received 98% of the GPU time they were entitled to (their allocation, capped by actual demand). Of the 15 teams, 13 received 95% or more, and even in the worst case, 90%. Cluster utilization remained at 98% before and after the change. 18% of the allocated GPU time remained unassigned, used to maintain utilization during periods of low demand.
Additionally, these changes automated the draining of hosts requiring repairs, reducing the need for manual intervention in repairs by 74%.
Analysis
The announcement outlines the design philosophy and actual results of the scheduler. However, the implementation code has not been released. All figures are based on the company’s measurements, with no third-party verification provided. The company also cited as a challenge that interactive development sessions, once exceeding 8 hours of protection time, could be preempted, degrading usability. These results are specific to the company’s environment.