arXiv:2611.02811cs.DCNov 2026

Manuscript Offprint

arXiv:2611.02811

Local Zero-Shot Latency Prediction for Low-End GPUs

Arno Geimer, Beltran Fiz, Dimitris Stripelis

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

ABSTRACT

Quantifying execution latency is an important consideration across Machine Learning. Existing latency-prediction approaches typically train ML models on traces collected from workload execution on target hardware. Collection of representative traces across many consumer GPUs is expensive both in organizing the devices and in manpower, causing existing work to mainly focus on a limited set of high-end GPUs available in cloud computing. To offset this cost, we show that a local host GPU can be configured to reproduce the execution performance of less powerful target GPUs. Through selectively modifying device parameters, we obtain locally measured latencies that closely approximate those observed on the target hardware. We reformulate the latency-prediction task: instead of fitting a prediction model to a dataset of execution traces, we identify local configurations that best reproduce target devices' performance, enabling zero-shot prediction. We evaluate our approach against real measurements from 60 computer-vision models executed on 21 consumer GPU models. Our method achieves a mean absolute percentage error (MAPE) of 14.21%, compared with more than 25% for comparable baselines, reducing relative prediction error by 43.6%. Predicted and measured latencies exhibit an average Spearman correlation of 0.961 across training tasks, demonstrating that the method also accurately preserves performance rankings across devices.

1 INTRODUCTION

Knowledge of model execution latency is important in several aspects of Machine Learning. In general, it is important information when selecting hardware, choosing models, and allocating compute under cost and performance constraints (Lee et al., 2025; Geoffrey et al., 2021). In decentralized ML, latency estimates are integral to the orchestration of training across heterogeneous participants (Lai et al., 2021). Workload allocation and coordination require execution latencies in highly heterogeneous environments. For example, participant selection and straggler mitigation depend on how long clients need to complete their assigned training task. In general Machine Learning deployment, consumer GPUs which may span multiple hardware generations and performance tiers, increasingly play a central role. Estimating how a workload will perform on such heterogeneous device sets is important for both deployment and realistic system evaluation.

Despite these developments, broad coverage of consumer GPU latency stays limited in existing benchmarks and prediction works. Direct profiling requires access to each device, making measurement expensive and difficult to maintain as workloads evolve. Learned predictors can generalize beyond their training data, but they are mostly based on older benchmark datasets, with limited exposure to consumer GPUs. Additionally, many need initial measurements on the new target devices. Therefore, latency estimation for new workloads, as well as new devices, is an expensive task both in money and time.

To infer the latencies of a large set of target devices, our approach assumes access to a single device. We hypothesize that by locally reproducing the target device, local execution eliminates the need to model complex interactions in the workload operations, while approximating the performance of the target devices nonetheless. As different devices have different properties which may influence latency, we assume that reproducing these on a local device can replicate workload behavior on the target device. We investigate whether an available GPU can estimate target-device latency by executing the workload in a controlled environment. Measurements across constraint configurations reveal low-error regions in which local training-batch latency closely matches that of a target GPU. We utilize a specification-based mapping that selects one configuration per host-target pair and reuses it across workloads. Prediction requires neither target-device measurements nor a trained predictor, making the method zero-shot with respect to the target device. We find that latencies generated this way surpass existing model-training-based approaches in accuracy on our dataset.

1^{1}Independent Researcher, Luxembourg 2^{2}University of Luxembourg 3^{3}Flower Labs. Correspondence to: Arno Geimer research.arge@pm.me.

Preprint. Work in progress.

A key advantage of this approach to latency prediction is that it operates directly on executable workloads. Given a training step and target device information, the workload is executed directly on the restricted host GPU, and its measured runtime becomes the predicted target latency. Configuration selection is independent of workload specifics such as model architecture, batch size, or numerical precision, removing the need for workload-specific prediction models or target-device profiling.

Our main contributions are as follows:

  1. We formally define how timing workloads locally under device restrictions can be used for latency prediction on unknown target devices. We empirically demonstrate that restricted host execution provides a viable alternative to model-based method in estimating training-batch latencies on unknown target devices.

  2. We propose a zero-shot target matching method: It does not require access to target devices, neither for target profiling nor for establishing a training dataset. We show that the method enables accurate latency estimation on a wide range of unseen target devices on a single host, reducing relative prediction error by 43.6%.

  3. We evaluate the approach across model families, precisions, batch sizes and GPU generations. We comprehensively characterize the accuracy, reliability, cross-host portability, and limitations of the approach. We show that our method outperforms established baselines, and give a detailed analysis of resulting errors and host portability.

References (27)