arXiv:2611.04057cs.AINov 2026

Manuscript Offprint

arXiv:2611.04057

Look Before You Launch: Learned Throughput Prediction for Hardware Selection in a Production Training Fleet

Hossein Askari, Wei Sun, Chenguang Zhu, Bin Zan, Sreen Tallam, Keyu Man

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Hossein Askari¹, Wei Sun*, Chenguang Zhu¹, Bin Zan¹, Sreen Tallam*, Keyu Man¹

¹Meta, *Work done at Meta

In mixed-vendor accelerator fleets, many training jobs can run on several hardware types, and the best choice depends on each job's throughput on each type. Routing a job needs a throughput estimate for every candidate type before the job runs. We present LEAP, a machine learning performance prediction service that predicts each training job's throughput on every candidate hardware type at submission time and ranks the candidates by predicted throughput per unit cost. It routes tens of thousands of training job attempts a day across hundreds of different model types and more than 20 hardware types in a production fleet. LEAP predicts throughput from submission-time training configuration, including each job's prior throughput. LEAP reaches an accuracy of 77% over 30 nightly retrains, higher than the lookup table it replaced and at least as high as every alternative model we tested, including fine-tuned language models. Over six months, the share of eligible training GPU-hours that received a ranking by LEAP grew from 58% to 95%, and we estimate that it saves about 3% of training computational cost. In this paper, we identify the drivers that actually move accuracy and those that do not. We offer these as lessons for teams building performance predictors at fleet scale.

Date: November 4, 2026

Correspondence: Hossein Askari at haskari@meta.com

Meta

1 Introduction

Large training fleets increasingly mix accelerators from several vendors and generations, and many training jobs can run on more than one of them. Because candidate hardware types vary significantly in both computational cost and job throughput (QPS), hardware choice directly dictates job computational cost. However, because jobs placed on sub-optimal hardware still complete successfully without reporting errors, efficiency losses often go unnoticed. Forecasting pre-execution throughput across candidate hardware introduces a formidable fleet-scheduling challenge, particularly given that hardware routing governs roughly half of the fleet's half-year GPU-hours.

The legacy in-house solution, relied on a zero-ML lookup table keyed on (model_type, num_trainers, batch_size, hardware_type). It suffered from low coverage and rigid heuristics. To solve this, LEAP replaces it with a learned prediction service, which dynamically constructs per-job preference lists and routes execution via the cluster scheduler to maximize performance per unit of infrastructure computational cost.

Routing a fungible job, one that can run on any of several hardware types, requires an estimate of the training throughput (samples per second) it would achieve on each candidate type. The scheduler needs these estimates at submission time, before the current attempt has executed. Past execution attempts yield sparse historical signals, covering only previously encountered hardware

configurations while offering zero coverage for novel workloads or unvisited accelerator types. The workload

Figure

Figure 1 Routing must serve a long tail of model types. Cumulative share of one day's job attempts over model types ranked by volume.

Figure

Figure 2 LEAP architecture. Serving: (1) jobs are submitted to the job launcher, which (2) calls the inference API with the job and its candidate hardware types. (3) Inference builds the job's features with the same code as training, taking its prior throughput from the history snapshot, scores every candidate with the bin classifier and that bin's gradient-boosted model, and ranks candidates by predicted throughput per unit cost. (4) The preference list goes to the cluster scheduler, which (5) places the job on the fleet. Training: (6) each completed job attempt records its measured throughput in the job history; (7) a nightly trigger retrains the 13-bin cascade on the last 30 days and evaluates it on the next, unseen day; (8) the run publishes a versioned model and history snapshot to blob storage; and (9) inference loads the latest version through a stable pointer.

is also heavily long-tailed. On average, in a typical day, the fleet executes 25,000 job attempts drawn from approximately 660 production model types. On the day shown in Figure 1, the 560 least frequent model types together account for 22% of attempts. A routing policy built only for the most common model types would therefore leave a substantial share of the workload unserved.

Existing approaches do not provide this estimate at submission time without additional computational cost. Performance models such as Habitat and DNNPerf need either a profiling run of the job on available hardware or its computation graph (Yu et al., 2021; Gao et al., 2023). Heterogeneity-aware schedulers such as Gavel and Sia either assume per-type throughput is known in advance or estimate it from measurements taken while jobs run (Narayanan et al., 2020; Jayaram Subramanya et al., 2023). Our initial routing method was a lookup table keyed on model type, number of trainers (hosts per job), batch size, and hardware type. This key does not determine throughput. For 56% of job attempts, the 10th-to-90th percentile throughput range under the attempt's key differs by more than a factor of 1.5, so no single prediction can fall within ±20% across that range. Coverage was also limited, the table contained entries for only 19 model types, and on a held-out day it produced an estimate for 13% of job attempts.

LEAP replaces the lookup table with a learned model. Instead of matching a job to a stored entry, it predicts the job's throughput on each candidate hardware type from features available at submission such as the job's training configuration, the hardware type, and the throughput the same job achieved in earlier runs. LEAP then ranks the candidates by predicted throughput per unit cost and passes the ranking to the cluster scheduler. The model is retrained every night on the measured throughput of jobs that have finished.

Figure 2 shows how LEAP operates. When a job is submitted, the job launcher calls LEAP's inference API with the job's configuration and its candidate hardware types. LEAP builds the job's features with the same code used in training, adds the job's prior throughput from a history snapshot stored with the model, predicts the job's throughput on every candidate, and ranks the candidates by predicted throughput per unit cost. The cluster scheduler receives this ranking as a preference list and places the job on the fleet. After the job

Figure

Figure 3 LEAP end to end. (1) A fungible job arrives with several candidate hardware types. (2) LEAP builds features from the job's configuration, its prior throughput, and each type's specifications; bars give each feature group's share of importance. (3) A 13-bin cascade of gradient-boosted models, retrained nightly, predicts the job's throughput on every candidate. (4) The ranking stage orders the candidates for the cluster scheduler. The job's measured throughput becomes training data for the next night's models.

runs, its measured throughput is recorded in the job history. A nightly pipeline retrains the model on the last 30 days of this history, evaluates it on the following day, and publishes a new versioned model and history snapshot, which the inference API loads through a stable pointer. Each placed job therefore becomes training data for the next day's model.

Over the first half of 2026, the share of eligible training GPU-hours that received a ranking from LEAP grew from 58% to 95% (77 million GPU-hours), and we estimate that it reduces training computational cost by about 3%. We measure accuracy as the share of jobs whose predicted throughput is within ±20% of the measured value. The lookup table returned an estimate for only 13% of jobs, while LEAP returns one for every job it receives. On the jobs the table covers, LEAP's accuracy is 85%, compared with 53% for the table (Section 3.2.2). We also compared LEAP's gradient-boosted model with other model families on the same data. LightGBM, TabPFN, fine-tuned language models such as Gemma 3 (Gemma Team, 2025) and Llama 4 (Meta AI, 2025), and language-model encoders were all less accurate. A graph neural network built on the job's computation graph matched LEAP's accuracy but needs a GPU and a large graph cache at serving time (Sections 4.1 and 4.3). In the following sections, we describe each component of LEAP in detail.

References (44)