Skip to content
← All work

ComputePulse

Predicts which GPU cluster machines are about to fail, suggests where new jobs should run, and finds idle hardware that is costing money. Trained on real Alibaba cluster data.

Year
2026
Role
ML and full-stack
Type
AI & ML
Stack
Python, LightGBM, SHAP, FastAPI, React, Three.js, Recharts
ComputePulse screenshot

Why

Monitoring tools like Prometheus show what is happening on a cluster. I wanted to see what will happen: which machines are likely to fail before a long training job lands on them.

The data

ComputePulse is trained on 796,582 real job instances from Alibaba's PAI GPU cluster (about 6,500 GPUs on 1,800 machines, July to August 2020). No synthetic data.

Three modules

  • Failure risk. A tuned LightGBM model predicts the chance that an instance fails or is interrupted.
  • Workload placement. Per-machine risk, aggregated from the validated predictions, ranks which of the 1,723 machines a new job should go to.
  • Cost optimisation. Flags machines that are consistently under-used and estimates savings, using a clearly labelled industry-average GPU price.

Every prediction is explained with SHAP, including a per-machine explanation in the dashboard, not just one global chart.

Results

Metric Simple rules ComputePulse
Accuracy 53.4% 88.0%
Precision 12.6% 77.4%
Recall 15.4% 71.2%
F1 13.9% 74.2%
ROC-AUC 0.405 0.924

The scripts that produce these numbers are in the repository, so anyone can reproduce them.

What I learned

Being honest about what the data can and can't support. The dataset has no "best placement" label, so placement is built as a decision layer on top of the failure model and validated against real outcomes, instead of pretending to be a separate trained model.

Next project

TicketAnalyzer →