Skip to content
Engineering2 min read

Ai2 Updates Its AI Hardware Scheduler to Share GPUs Fairly

Ai2 changed how it distributes scarce GPU time among researchers by introducing budgets and fair-share scheduling. This update stops teams from hoarding hardware and aligns hardware use with strategic goals.

In short: Ai2 changed how it distributes scarce GPU time among researchers by introducing budgets and fair-share scheduling. This update stops teams from hoarding hardware and aligns hardware use with strategic goals.

When hundreds of researchers chase a limited supply of powerful computer chips, fairness usually loses to clever tricks and hoarding. The AI Infrastructure team at Ai2 faced this exact scramble and decided to rewrite the rules of how their heavy-duty hardware gets shared.

What happened, in plain words

The AI Infrastructure team at Ai2 manages thousands of advanced NVIDIA graphics processing units, or GPUs, which are specialized computer chips designed to handle massive calculations at the same time. These chips serve about 150 internal researchers working on large language models, vision-language models, robotics simulations, and scientific agents. Because demand for these chips is two to three times higher than the supply, Ai2 previously used a priority-based scheduler that let teams label their tasks as high priority and block other users from interrupting them. This older system caused problems like hardware hoarding, inflated priorities where every task was marked high priority, and wasted time for engineers. To fix this, Ai2 replaced the old system with a new setup featuring GPU time budgets, hierarchical fair-share allocation, and a time-slicing contract. This new method lets managers distribute shares of GPU time based on project strategy rather than letting individual users fight for resources on the fly.

Key points

  • Demand far exceeds supply: Ai2 has active requests for two to three times more GPUs than the institute actually owns.
  • The old system failed: Allowing teams to protect their tasks from being paused led to hardware squatting, priority inflation, and constant friction.
  • Shifting to an investment model: Instead of letting users fight for machines, Ai2 now gives leaders a transparent budgeting process to decide how much GPU time each project deserves in advance.
  • Using established fairness math: Ai2 paired its budgeting tool with a hierarchical fair-share scheduler, using a sliding lookback window to track and balance hardware use over time.

Terms explained

  • GPU — A specialized computer chip designed to process many calculations at the exact same time, making it essential for training artificial intelligence. Example: A high-end kitchen blender designed to crush ice and chop vegetables all at once, whereas a regular CPU is like a knife that chops one carrot at a time.
  • Scheduler — A computer program that decides which tasks get to use the hardware and when. Example: A restaurant host who decides which waiting family gets the next available table.
  • Preemptibility — The ability to pause a running computer task so a more important task can use the hardware instead. Example: Pausing a video game download on your phone so an urgent phone call can go through.

Why it matters

Managing scarce computing resources efficiently is a common challenge for large research labs. By moving from a chaotic priority scramble to a transparent budgeting and fair-share process, organizations can align their hardware usage with their actual strategic goals.

What we still don't know

The source notes that predicting demand into the future is impossible because novel science experiments cannot be forecast with precision. It also mentions that the budgeting process is still being actively iterated on.


Based on reporting from Hugging Face Blog. This is an independent explainer, written in our own words with AI assistance; Hugging Face Blog has not reviewed or endorsed it. Read the original for the full details.