arXiv:2609.06635cs.PFSep 2026

Manuscript Offprint

arXiv:2609.06635

RGB Input Pipelines: Throughput, GPU Memory, and Transformation Coverage

Vladimir Iglovikov

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

Abstract

An image-augmentation pipeline must deliver a complete batch before a model can use it. We compare seven input paths from five libraries, starting with RGB JPEG files and ending with a synchronized CUDA float16 batch. We manually matched transformation recipes and parameters across libraries to make the workloads as comparable as possible. The experiment uses 57 selected recipes, a batch size of 256, and one NVIDIA L4 machine. Throughput and peak process GPU memory are recorded together in 759 measurements. On the 11 recipes shared by all paths, DALI and AlbumationsX have median throughputs of 5,029 and 4,679 images/s, with median peak GPU memory of 2,086 and 1,852 MiB. Broader pairwise comparisons favor AlbumationsX on 26/26 TorchVision recipes, 50/51 Kornia recipes, and 25/26 Pillow recipes. DALI is faster than AlbumationsX on all 22 shared recipes, with a median throughput ratio of 1.18×. A separate census reports coverage of the 118 entries in a selected AlbumationsX RGB catalog. The study measures input preparation at fixed settings; it does not measure model training, numerical equivalence, or the best attainable configuration of each library. Benchmark code: https://github.com/albuminations-team/benchmark.

1 The input-pipeline decision

A training application needs decoded, transformed, batched images on the device that runs its model. Choosing an augmentation library therefore also means choosing a way to perform this preparation. Libraries can use different JPEG decoders, process images individually or as a batch, and place work on the CPU or GPU. A faster transform call alone does not tell the application how quickly the complete batch will be ready.

We ask two execution questions: how many ready images per second does each implemented path deliver, and how much GPU memory does its process occupy? Every path begins with the same JPEG inventory and ends with the same shape, layout, dtype, and device. Its decoder and internal execution choices remain part of the comparison. We also report which entries from a selected transformation catalog have corresponding APIs in other libraries.

The measured output is a model input, but no model executes in the benchmark. Input throughput can help diagnose a loader that cannot supply data quickly enough. Translating it into shorter training requires measurement with the model: CPU work, transfers, and GPU augmentation may overlap or contend with model execution. The present experiment does not measure that interaction.

Relation to other measurements. Operation timing tools, such as PyTorch Benchmark, measure selected code blocks with warm-up and synchronization controls [8]. Mohan et al. analyze fetching and preprocessing stalls within DNN training [5]. MLPerf evaluates training systems using time to a specified quality target, which accounts for effects beyond raw training throughput [4]. Our contribution is a reproducible comparison of selected JPEG-to-CUDA paths with paired throughput and process-memory observations. It supports inspection of input preparation without claiming model-level speed or convergence.