Skip to content

About

Preprint: predicting safe GPU slices and pod readiness risk for online inference on the Alibaba ASI GPU trace (ISAN 3392). PDF: https://drive.google.com/file/d/174ukA7JwGUImqec95lizQ4ObaArbujNE/view

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Predictive GPU Right-Sizing for Production Online Inference

A research proposal built on the Alibaba Serverless Infrastructure (ASI) GPU trace (cluster-trace-gpu-v2026, released with Li et al., OSDI '26).

Authors: Saksham Adhikari, Sudip Bhandari Advisor: Dr. Fred Zhao Course: ISAN 3392, Texas State University, Fall 2026

Preprint

  • PDF (v1.3, Nov 2026): GitHub release preprint-v1.3 · Google Drive
  • Cite as: Adhikari, S., & Bhandari, S. (2026). Predictive GPU Right-Sizing for Production Online Inference [Preprint]. Texas State University.

Get involved

We're looking for advisors, reviewers, and data partners. We'd especially like to hear from:

  • Researchers in ML for systems or cluster scheduling who can critique the method and evaluation.
  • Teams with GPU-cluster telemetry that includes request latency or SLOs. The ASI trace has none, so our under-provisioning rate is only a proxy for user-facing harm.
  • Anyone who can run controlled resize experiments or has a scheduler simulator. The trace can validate under 2% of GPU-hours for the joint allocation + readiness policy.
  • Operators of other fleets (other clouds, on-premises, university HPC) to test whether the results transfer beyond Alibaba.

Partners get the full pipeline (loader, features, leave-one-cluster-out harness, pre-registered go/no-go gate) to run on their own data, and co-authorship on joint work.

How to reach us: email pqo14@txstate.edu, ipi8@txstate.edu, start a thread in Discussions, or open a data or collaboration offer.

Summary

We predict two things at admission:

  • Model A (allocation): the smallest safe GPU slice an online-inference pod needs.
  • Model B (readiness/failure): the risk that the pod fails to become ready.

At a 5% under-provisioning budget, about 21% of reserved online-inference GPU-hours could be reclaimed on clusters never seen in training. Almost all of that comes from recommendation pods that have workload history.

A per-workload history rule captures nearly all of the savings: 20.8% versus 21.9% for XGBoost. As a result, the learned model failed its pre-registered accuracy gate (NO-GO).

Model B separates pods that become ready from those that fail with ROC-AUC 0.75 on known clusters, falling to 0.65 on unseen ones.

The proposal also:

  • compares this setting with commercial GPU schedulers;
  • separates gaps that modelling or feature engineering can close from gaps the trace imposes;
  • quantifies business value;
  • designs ten follow-up experiments (E1–E10).

A follow-up round (Oct 15) ran three of them:

  • E6, hybrid policy: the history rule for warm pods plus the learned model for cold-start pods reclaims 22.6% vs. 20.7% at matched risk (p = 0.014).
  • E7, finer slice sizes: a what-if that adds about 5 points.
  • E8, per-cluster recalibration: helps reclaim but does not restore calibration or coverage on unseen clusters.

A peak-hour check (Nov 3, code/peak_analysis/) asked whether the savings survive traffic spikes:

  • Sizing every pod to cover its maximum demand during cluster spike hours keeps 82% of the opportunity; covering every hour's maximum keeps 71%. The savings are mostly steady headroom, not overnight lulls.
  • A peak-safe policy would reclaim roughly 15–17% instead of 21%.
  • Overruns cluster in spike hours: in the worst 1% of spike cluster-hours, 13% of freed capacity would be needed back (20% in the single worst hour).

E9 (Nov 3, code/e9/) rebuilt D1 without the history leak and with peak-aware labels:

  • The leak was real but small: XGBoost falls from 21.3% to 21.0% vs. 20.8% for the history rule. 21% is the defensible headline; the 25% upper end is withdrawn. The gate stays NO-GO.
  • Sized for each pod's P99 or busiest hour, reclaim is 14.3% / 12.9%, and the history rule beats XGBoost.

A scheduler replay (Nov 3, code/scheduler_replay/) reverse-engineered six open-source GPU schedulers (VPA, kube-scheduler, NVIDIA KAI, HAMi, Volcano, Koordinator) from their release binaries and replayed their sizing rules against Model A on 22 days of the trace:

  • All six size GPUs from what the user declares. HAMi and Volcano reserve 100% of GPU memory when it is not declared, and Koordinator's usage estimator has no GPU case.
  • At U ≤ 5%, Model A reclaims 16.0% vs 14.6% for the VPA rule ported to GPU. VPA plus Model A for its cold starts reclaims 18.6%.
  • On unseen clusters the learned model still does not transfer (2.4% vs 6.2% for the history rule).

The remaining experiments cover workload mixing, workload–GPU compatibility, production versus non-production pods, runtime patterns, and safety constraints. They have been designed but not yet run.

Layout

Path Contents
main.tex, sections/*.tex Proposal source
refs.bib Bibliography
code/ISAN3392_ModelA_RightSizing.ipynb Model A (right-sizing) notebook: A1/A2/A3, LOCO, conformal margins, gate
code/ISAN3392_ModelB_Readiness.ipynb Model B (readiness/failure) notebook: B1/B2/B3, calibration, A+B composition
code/e9/ E9 leak-free history and peak-aware labels (Athena SQL, D1 rebuild, gate runner)
code/scheduler_replay/ Reverse-engineered GPU scheduler rules (REA) and a trace replay against Model A
code/peak_analysis/ Peak-hour robustness check on Athena (SQL + scripts)
code/isan3392_loader.py Memory-safe Parquet loader and feature/split helpers
code/ISAN3392_data_dictionary.md Column dictionary for the D1/D2 datasets
scripts/make_figures.py Regenerates every figure from the reported numbers
figures/ Generated figure PDFs
main.pdf Compiled proposal

Build

pip install matplotlib numpy
python scripts/make_figures.py
tectonic main.tex        # or: latexmk -pdf main.tex

Data

This repository contains no trace data. Get the trace from the Alibaba Cluster Trace Program.

About

Preprint: predicting safe GPU slices and pod readiness risk for online inference on the Alibaba ASI GPU trace (ISAN 3392). PDF: https://drive.google.com/file/d/174ukA7JwGUImqec95lizQ4ObaArbujNE/view

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages