The AI Infrastructure team at the Allen Institute for AI (Ai2) has overhauled its cluster scheduling strategy, moving from a traditional priority-based system to a hierarchical fair-share model driven by GPU time budgets. The initiative aims to resolve chronic resource contention and operational inefficiencies in a cluster environment where demand for compute consistently exceeds supply by two to three times.

What Happened

Ai2 manages thousands of NVIDIA H100, B200, and B300 GPUs across clusters ranging from 88 to 1,024 units, serving approximately 150 internal researchers. Previously, the institute utilized a priority-based scheduler that allowed workloads to opt out of preemption. This approach led to "GPU squatting," where researchers parked no-op workloads to reserve capacity, and "priority inflation," where nearly all jobs were marked HIGH priority, starving lower-priority tasks. On-call engineers also spent significant time manually negotiating the shutdown of non-preemptable jobs on hosts requiring maintenance.

To address these issues, Ai2 implemented a system based on GPU time budgets rather than static hardware assignments. Leadership now allocates a guaranteed share of total cluster capacity to specific research programs, similar to an investment portfolio. The new scheduler uses a hierarchical fair-share algorithm with a seven-day sliding lookback window to track occupancy. It distinguishes between "allocated occupancy," which is charged to a team’s budget and protected from preemption during a declared minimum runtime, and "unallocated occupancy," which is free to use but subject to immediate preemption.

A key component of the new architecture is the "scheduling contract," which requires workloads to declare a minimum runtime to be protected. This mechanism allows the scheduler to automatically rebalance resources and drain workloads from unhealthy hosts once the minimum runtime is reached. Before full deployment, the team built a simulation environment to predict outcomes, testing scenarios such as short "debug workloads" that require minimal GPU resources but high launch latency. The simulations indicated that the new system would significantly reduce wait times for these small jobs.

Why It Matters

The shift to a budget-based scheduling model has yielded measurable improvements in operational efficiency. According to Ai2, the new system reduced repairs requiring human intervention by 74%, as unhealthy hosts can now automatically drain workloads that have met their minimum runtime guarantees. This reduction in on-call toil allows infrastructure engineers to focus on proactive maintenance rather than reactive negotiations with researchers.

For researchers, the change has altered how compute access is perceived and managed. While the source text provides simulation results showing that p90 wait times for debug workloads fell from about 6 hours to 5 minutes, it does not provide specific real-world median or p90 wait time statistics for the overall cluster beyond the reduction in repair overhead. The system is designed to maintain high occupancy by allowing unallocated, preemptible jobs to fill idle capacity when funded projects are not running.

The transition also altered the cultural approach to resource management. By making GPU time a finite budget that must be actively managed, the system disincentivizes gaming the scheduler. Researchers are now engaged in transparent budgeting discussions with managers, shifting the focus from hoarding resources to strategic allocation. Chris Clark, a researcher at Ai2, noted the efficiency gains: "The new scheduler makes it feel like we have an extra 30% compute. In the old scheduler, if we had moments when we didn't need our full slot limit, that compute was basically lost. Now with the new scheduler, if that happens, we can later burst beyond our allocation limit and still see our jobs scheduled quickly and without preemption, essentially letting us reclaim that compute. Our workloads are often bursty, so this gave us a significant amount of compute back."

However, the change introduced challenges for interactive sessions, which were previously allowed to run for up to a week. The new 8-hour cap on protected runtime meant that stateful development sessions could be interrupted, prompting Ai2 to plan a separate CPU-only cluster for data preparation and development tasks to preserve GPU capacity for training.

The Bottom Line

Ai2’s implementation of GPU time budgets and hierarchical fair-share scheduling has successfully mitigated the "tragedy of the commons" inherent in shared compute clusters. By replacing static priorities with dynamic budgets and automated preemption contracts, the institute achieved a 74% reduction in human-in-the-loop repairs and demonstrated in simulations that debug job wait times could drop from hours to minutes. The success of this model highlights the value of treating compute allocation as an economic budgeting problem rather than a purely technical scheduling task.