Manuscript Offprint
arXiv:2609.06635RGB Input Pipelines: Throughput, GPU Memory, and Transformation Coverage
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.
The second recipe measures the entire input path containing Equalize. It does not isolate the time spent inside Equalize. Appendix B lists all recipes and their declared parameters. Each recipe has a short identifier, such as R02 or R22, used in the figures and detailed results.
The selected inputs are RGB JPEG files with their original image dimensions. All paths return a CUDA float16 batch: 256 images, three color channels, and a spatial grid. The layout is BCHW. Normalization uses RGB means (0.485, 0.456, 0.406) and standard deviations (0.229, 0.224, 0.225) after scaling intensities to the unit range. Normalize always executes on GPU.
These dimensions, precision, and normalization placement are conventions of this experiment. They provide a common endpoint and fix the workload. No batch search or CPU-versus-GPU normalization experiment established them as optimal. The recipe stage called ToTensor names the output requirement; physical tensor conversion and layout changes occur at different points in different paths.
2.1 A fixed workload and two measurement windows
We select the first 10,000 val/*.JPEG members after lexicographic sorting of a SHA-256-verified ImageNet validation archive [1]. Before any cells are timed, the VM reads every selected file once. This reduces cold-cache order effects. Timed accesses use filesystem calls and normally retrieve compressed bytes from the Linux page cache; decoding remains in the path. These measurements do not estimate physical-disk bandwidth.
For each seed, a PCG64 permutation determines file order without replacement. Every implementation receives that same ordered list, with no additional loader shuffle. A cell is one implementation, one recipe, and one seed. Each cell consumes one warm-up batch and then 32 measured batches, totaling 8,192 measured images. The timer starts after warm-up synchronization and ends after all measured output has been synchronized on CUDA (Figure 1).
Imports, worker startup, and pipeline construction are outside the throughput window. Loader workers can prepare later batches during warm-up and consumption. Thus the measurement includes the effect of prefetched work; it is neither a sum of isolated stage times nor proof that every path reached a saturated steady state. Throughput is completed images divided by elapsed wall-clock seconds.
An NVML monitor samples the current process's GPU memory every 50 ms from before pipeline construction through the final synchronization and pipeline cleanup. It records the largest observed value. This includes process and library allocations, rather than only live image tensors. Short peaks between samples can be missed. CPU memory and model memory are not measured.

GPU memory: construction, warm-up, consumption, and cleanup
Figure 1: The input and output boundaries are shared; internal paths differ. Throughput excludes construction and warm-up. The memory window begins before construction and ends after cleanup in the same pass. Bar lengths show window placement, not measured stage durations. The initial dataset prewarm precedes this cell.
| Control | Frozen setting |
|---|---|
| Input and access | 10,000 sorted ImageNet-validation JPEGs; prewarmed; shared per-seed permutation |
| Output | CUDA float16 BCHW, 256 × 3 × 224 × 224; GPU normalization |
| DataLoader paths | 15 workers; persistent workers; pinned memory; prefetch factor 2 |
| DALI | 15 pipeline threads; native prefetch queue depth 2; native file reader and mixed decoder |
| Timing and repeats | One warm-up batch; 32 measured batches; seeds 137, 138, 139 |
| Machine | Standard g2-standard-16, one NVIDIA L4; 16 vCPUs, 64 GB host memory |
Table 1: One fixed configuration is used throughout. G2 specifications identify the CPU platform as Cascade Lake [2]; the cells record the L4 device name. Software versions and exact source identities appear in Appendix A.
All implementations run sequentially on the same VM. Fixing the hardware, batch, and worker policy keeps these settings from changing between paths. It does not find each library's fastest configuration. DataLoader prefetch factor 2 permits up to two batches per worker, while DALI's queue depth applies to its native pipeline. The same number does not imply identical queue capacity.
2.2 Seven implementations and their execution choices
The five libraries expose different interfaces: Pillow image objects, TorchVision tensor transforms, Kornia tensor operations, AlbumentationsX Compose pipelines, and a DALI processing graph [7, 9, 10, 3, 6]. Table 2 describes the measured integrations. SimpleJPEG is the benchmark's decoder for AlbumentationsX; it is not an image reader supplied by Compose. CPU/GPU suffixes describe augmentation placement. Every path, including a CPU path, finishes with GPU normalization.
| Path | Decoder | Before transfer | H2D dtype | On GPU |
|---|---|---|---|---|
| AlbumentationsX | SimpleJPEG | uint8 recipe per image | uint8 | Layout conversion and Normalize |
| Pillow CPU | Pillow | uint8 | Normalize | |
| TorchVision CPU | TorchVision I/O | uint8 recipe per image | uint8 | Normalize |
| TorchVision GPU | TorchVision I/O | Shape-forming prefix per image | uint8 | Cast to float16; remaining transforms per image; stack; Normalize |
| Kornia CPU | TorchVision I/O | float16 | Normalize | |
| Kornia GPU | TorchVision I/O | float32 shape prefix per image; collate; cast to float16 | float16 | Remaining transforms on batch; Normalize |
| DALI GPU | Native file reader mixed CPU/GPU JPEG decoder GPU recipe graph and float16 normalization. Transfers and batching are managed by DALI. | |||
Table 2: Measured execution paths, verified against the source revision of the run. H2D means host-to-device transfer. Float16 conversion and normalization are separate operations; all final normalized outputs have the same contract.
JPEG dimensions vary. The DataLoader GPU paths execute the recipe prefix up to the first Resize, RandomCrop224, or RandomResizedCrop on the CPU so samples can be stacked. The remaining transforms execute on GPU. This split follows the chosen implementation; alternative GPU input designs were not evaluated. For a shape-only recipe, the GPU path may have no augmentation left after that prefix.
TorchVision's GPU implementation invokes the remaining transforms separately for each image, then stacks the results. Kornia invokes the remaining module on the whole batch with same_on_batch=False where supported. This preserves the distinction between one batched call and per-image calls in the reported throughput. We do not claim that these implementations exhaust each library's optimization options.
2.3 Which recipes are compared, and how closely they match
We selected recipes by operation and manually mapped their parameters across library APIs to make the transformations as comparable as possible. The execution catalog contains 57 such recipes, each implemented by AlbumentationsX and at least one competitor. The supported matrix contains 253 implementation–recipe pairs. Three seeds per pair produce 759 cells. Coverage counts transformation classes separately (Section 5); it does not determine how many execution rows a library receives.
The matching targets each transformation's practical effect. Pixel-exact equality is not required: interpolation, rounding, and random-number generators differ across libraries. The frozen adapters also contain two departures from the declared recipes. DALI's RandomCrop224 first resizes the short side to 224 and then crops; the other paths crop the decoded image, padding when needed. DALI's Affine matrix uses scale and shift but omits the catalog's rotation and shear. These adapter differences affect the work performed and remain part of the reported measurements. Further mapping details appear in Appendix C.
Seeds 137, 138, and 139 control file permutations and are applied to process-level Python, NumPy, and Torch random generators. Exact transform draws are not shared across libraries. In particular, the AlbumentationsX adapter constructs Compose without an explicit Compose seed, and DataLoader workers use a fixed loader-generator seed. The three observations therefore represent repeated executions with specified file orders; they are not three fully matched augmentation draws. Validation checks output shape, layout, dtype, and device, not numerical agreement or augmentation quality.
3 Results on the same eleven recipes
The 11 recipes supported by every implementation provide the most direct view of the seven measured paths. Figure 2 shows individual recipes before aggregation. Each number is the implementation's median throughput over three seeds divided by AlbumentationsX's median for the same recipe. Larger values mean more images per second; 1× is the AlbumentationsX reference. The absolute AlbumentationsX column makes the scale of each recipe visible.
| Pillow CPU | TorchVision CPU | GPU | Kornia CPU | GPU | DALI GPU | AX images/s | |
|---|---|---|---|---|---|---|---|
| R01 Resize224 | 0.50 | 0.77 | 0.81 | 0.43 | 0.42 | 1.07 | 4,751 |
| R02 Crop | 0.79 | 0.93 | 0.92 | 0.44 | 0.44 | 1.06 | 4,740 |
| R03 RandomResizedCrop | 0.57 | 0.74 | 0.74 | 0.37 | 0.36 | 1.06 | 4,785 |
| R04 Crop + HorizontalFlip | 0.80 | 0.89 | 0.93 | 0.43 | 0.44 | 1.06 | 4,723 |
| R05 Crop + VerticalFlip | 0.73 | 0.88 | 0.94 | 0.40 | 0.44 | 1.02 | 4,907 |
| R07 Crop + Rotate | 1.06 | 0.77 | 0.46 | 0.44 | 0.63 | 1.50 | 3,352 |
| R08 Crop + Affine | 0.87 | 0.78 | 0.48 | 0.47 | 0.70 | 1.65 | 3,049 |
| R15 Crop + GaussianBlur | 0.51 | 0.52 | 0.60 | 0.25 | 0.46 | 1.07 | 4,679 |
| R22 Crop + Equalize | 0.81 | 0.77 | 0.40 | 0.32 | 0.13 | 1.26 | 3,986 |
| R30 Crop + Brightness | 0.76 | 0.83 | 0.96 | 0.40 | 0.45 | 1.09 | 4,622 |
| R31 Crop + Contrast | 0.69 | 0.73 | 0.72 | 0.40 | 0.45 | 1.08 | 4,642 |
Throughput / AX throughput: 1× equal, 2× twice as fast
| 0.125× | 0.25× | 0.5× | 1× | 2× | 4× | 8× |
Figure 2: Throughput on the common set: each cell is the ratio of three-seed medians for one recipe. Blue means slower than AX; orange means faster. Colors use a symmetric log-ratio scale; printed ratios are linear. Crop means RandomCrop224; every row ends with Normalize and ToTensor. Recipe IDs link to full definitions. DALI's Crop adds a short-side resize, and its Affine mapping differs (Section 2.3). Colors show effect size, not significance.
Figure 3 summarizes the same eleven recipes with an arithmetic mean of their throughput ratios. We first divide each path's median throughput by AX's median for the same recipe, then add the eleven ratios and divide by eleven. Every recipe has equal weight; AX is 1×.

Figure 3: Arithmetic mean of the per-recipe throughput ratios in Figure 2, using the same eleven recipes for every path. Each ratio uses the median of three seeds. The dashed line marks AX at 1×; a value of 1.20× means a mean relative throughput 20% higher than AX. The per-recipe values remain visible in Figure 2.
DALI has the highest mean ratio, 1.17×, followed by AX at 1×. The per-recipe view retains the exceptions hidden by an average: Pillow's Rotate path is faster than AX's Rotate path, although its mean ratio is below one.
The CPU/GPU choice also changes with the recipe. TorchVision GPU outperforms its CPU path for GaussianBlur but falls behind it for Equalize and Affine. Kornia's GPU Equalize path is slower than its CPU counterpart. The measured paths combine decode, transforms, transfer, and scheduling, so these differences do not establish a causal explanation about any individual kernel.

Figure 4: Median peak process GPU memory on the same eleven recipes. Each recipe contributes its median of three seeds; each bar is the median across those eleven values. Measurements exclude a model.
The common-set memory medians are 2,086 MiB for DALI and 1,852 MiB for AlbumentationsX (Figure 4). The CPU paths still allocate GPU memory because every path produces a normalized CUDA batch and initializes GPU runtime state. Repeated memory values across recipes reflect the observed process footprint; they do not mean that the transforms allocate no intermediate storage.
4 Broader pairwise comparisons
The following charts repeat the arithmetic-mean comparison on a larger set for each library. Every bar within a chart uses the same recipes, supported by all paths shown: 46 for Kornia, 25 for TorchVision, 26 for Pillow, and 22 for DALI. For each recipe, we divide the path's three-seed median throughput by AX's, then average those ratios. CPU and GPU paths are averaged separately; AX is 1×. The recipe sets differ between charts.

Figure 5: AX vs Kornia: arithmetic mean of the throughput ratios on 46 recipes shared by AX, Kornia CPU, and Kornia GPU.

Figure 6: AX vs TorchVision: arithmetic mean of the throughput ratios on 25 recipes shared by AX, TorchVision CPU, and TorchVision GPU.

Figure 7: AX vs Pillow (PIL): arithmetic mean of the throughput ratios on 26 shared recipes. Both use their CPU paths.

Figure 8: AX vs DALI: arithmetic mean of the throughput ratios on 22 shared recipes, using AX CPU and DALI GPU. The measured DALI mappings are described in Section 2.3.
The CPU/GPU plots use the recipes supported by both paths. Counting all measured recipes, including those supported by only one competing path, AX exceeds every available TorchVision path on 26 of 26 recipes and every available Kornia path on 50 of 51. Kornia GPU is faster on ThinPlateSpline (R47). AX is faster than Pillow on 25 of 26 recipes; Pillow is faster on Rotate (R07). DALI is faster on all 22 shared recipes; its median paired memory difference from AX is +298 MiB.
Recipes and their frequencies in a user's training policy may differ, so the averages are not a prediction for that policy. Appendix D and the accompanying CSV retain every recipe's measurements and variation across seeds. Three observations do not establish statistical significance or the repeatability of small advantages.
5 Coverage of a selected transformation catalog
Execution speed matters only for a path that supplies the required operations. The separate coverage census starts from 118 RGB 2D entries in the maintained AlbumentationsX catalog: geometric, pixel, dropout, and multi-image transformations. It excludes volume, spectrogram, annotation-only, and utility entries. Table 3 counts how many of those entries have a cataloged counterpart in Kornia, TorchVision, and Pillow.
| Library | Matched AX catalog entries | Census version |
|---|---|---|
| AlbumentationsX | 118 | 2.3.7 |
| Kornia | 46 | 0.8.3 |
| TorchVision | 38 | 0.28.0 |
| Pillow | 23 | 12.3.0 |
Table 3: Coverage is measured relative to the selected AX catalog. These counts are neither the total API sizes of the competing libraries nor a numerical-equivalence test. DALI participates only in the execution experiment.
The unit is a matched catalog entry. A single competing API may match more than one AX entry, and capabilities outside the AX selection are not counted. For example, the census maps TorchVision RandomIoUCrop to multiple AX crop entries. The correspondence is a maintainer mapping, not a proof of identical crop behavior. Appendix E makes the mapping inspectable.
Coverage and execution use different units and versions. The census starts from AX 2.3.7, while the measured AX package is 2.4.2. A transformation class can yield several recipes: Random-BrightnessContrast supplies separate Brightness and Contrast rows. Other covered classes have no measured recipe. The selected 57 recipes are an implemented comparison set, not an exhaustive or randomly sampled inventory of all feasible pipelines.
6 Using the results
The measurements favor the evaluated DALI path when its graph and the actual mapped operations fit the application. They favor the evaluated AX path on most recipes shared with the other libraries. GPU memory is a second practical constraint: compare the corresponding process footprint before deciding how much memory the input path can use alongside a model.
Start with the transformations and semantics your application requires. Find the corresponding recipe and execution path in the detailed results, then check its throughput and memory together.
If the application composes several operations or uses different image sizes, measure that complete pipeline; performance of a new composition does not follow by adding recipe speedups. Finally measure with the model to determine whether input waiting, GPU contention, or another stage controls the training step.
The scope is one machine type, GPU, batch size, worker policy, and prewarmed file inventory. The ranking may change with other configurations. The finite measurement window includes prefetch effects, and process-memory sampling has finite resolution. The experiment does not measure model accuracy, convergence, training time, or the largest trainable batch. It also cannot separate a decoder advantage from a transform or transfer advantage.
Author relationship. The author maintains AlbumentationsX. Source, mappings, per-seed observations, and result-generation code are provided so readers can inspect the choices behind the comparison.
References
[1] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. ImageNet: A large-scale hierarchical image database. In IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009.
[2] Google Cloud. Compute Engine: Accelerator-optimized machine family, 2026. G2 specifications; https://docs.cloud.google.com/compute/docs/accelerator-optimized-machines#g2_series; accessed 6 September 2026.
[3] Vladimir Iglovikov. AlbumentationsX: One augmentation pipeline for images and related annotations. arXiv preprint arXiv:2608.11123, 2026. https://arxiv.org/abs/2608.11123.
[4] Peter Mattson, Christine Cheng, Cody Coleman, et al. MLPerf training benchmark. arXiv preprint arXiv:1910.01500, 2019. https://arxiv.org/abs/1910.01500.
[5] Jayashree Mohan, Amar Phanishayee, Ashish Raniwala, and Vijay Chidambaram. Analyzing and mitigating data stalls in DNN training. Proceedings of the VLDB Endowment, 14(5):771–784, 2021. https://www.vldb.org/pvldb/vol14/p771-mohan.pdf.
[6] NVIDIA Corporation. NVIDIA DALI: Image decoder reference, 2026. https://docs.nvidia.com/deeplearning/dali/user-guide/docs/operations/nvidia.dali.fn decoders image.html; accessed 6 September 2026.
[7] Pillow Contributors. Pillow image module reference, 2026. Version 12.3.0; https://pillow.readthedocs.io/en/stable/reference/Image.html; accessed 6 September 2026.
[8] PyTorch Contributors. PyTorch benchmark, 2026. https://docs.pytorch.org/tutorials/recipes/recipes/benchmark.html; accessed 6 September 2026.
[9] PyTorch Contributors. TorchVision: Transforming images, videos, boxes and more, 2026. Version 0.28; https://docs.pytorch.org/vision/0.28/transformers.html; accessed 6 September 2026.
[10] Edgar Riba, Dmytro Mishkin, Daniel Ponsa, Ethan Rublee, and Gary Bradski. Kornia: An open source differentiable computer vision library for PyTorch. In IEEE Winter Conference on Applications of Computer Vision, pages 3674–3683, 2020. https://arxiv.org/abs/1910.02190.
Appendices
A Reproducing the reported measurements
The benchmark repository contains the generation script and its committed outputs. The execution code is pinned to the measured source revision. Regenerating tables uses the existing JSON records; it does not require a GPU or rerunning augmentation. The run contains 759 expected cells, each checked for schema, cell identity, run identity, output shape, and measured item count before aggregation. Throughput is recomputed from completed items and elapsed time.
| Implementation | Version recorded in cells |
|---|---|
| AlbumentationsX | 2.4.2 |
| Pillow CPU | 12.3.0 |
| TorchVision CPU | 0.28.0+cu130 |
| TorchVision GPU | 0.28.0+cu130 |
| Kornia CPU | 0.8.3 |
| Kornia GPU | 0.8.3 |
| DALI GPU | 2.2.0 |
Table 4: Package versions actually recorded during execution. The dependency lock additionally fixes Torch 2.13.0+cu130, SimpleJPEG 1.9.0, and the remaining runtime packages. The CUDA-tagged Torch wheels are distinct from the base VM image.
The VM uses a 350 GiB balanced persistent boot disk and the image common-cu129-ubuntu-2204-nvidia-580-v20260730, with Python 3.13.14. The family configuration, recipe catalog, dependency lock, dataset archive, code archive, and hardware configuration determine the immutable run identity. The raw-cell objects are under the following GCS prefix:
gs://imagenet_validation/augmentation-benchmark/runs/3f8e2e315710528399b8e82e2359ab85c58c809644595b68a92fb9d83492cc8c/cells/
The prefix is an artifact location; access depends on bucket permissions. The accompanying generated data are in paper/generated/recipe-results.csv. This table has one row per measured implementation-recipe pair, with all three seed throughputs and GPU peaks, durations, completed-item counts, cell IDs, versions, selected-path flags, and declared recipe stages. It retains unrounded values; printed tables round only for display.
From the repository root, after obtaining the run's cells:
uv run python paper/generate_results.py -cells /path/to/cells cd paper latexmk -pdf -outdir=build main.tex
The generator refuses missing or foreign cells and rejects changes to the inputs that define this run. The coverage snapshot is tracked separately; its SHA-256 is f9a24c5058502ab1b809753afd2b94685ffe77113c47b368539b343028a5cfc1.
B Declared recipes and parameters
All listed prefixes end with Normalize and ToTensor, using the means, standard deviations, float16 dtype, and CHW image layout defined in Section 2. Crop dimensions and other stage parameters below are the declared catalog values. The source adapters determine the actual API calls and units; Section C explains consequential differences. The CSV preserves full recipe IDs and every stage field.
| Recipe prefix | Declared parameters and randomness scope |
|---|---|
| R01 Resize | Resize: target_size=224; interpolation="bilinear". Sampling: deterministic. |
| R02 RandomCrop224 | RandomCrop224: height=224; width=224. Sampling: per-image. |
| R03 RandomResizedCrop | RandomResizedCrop: size=[224, 224]; width=224; scale=[0.08, 1.0]; ratio=[0.75, 1.3333333333333333]; interpolation="bilinear". Sampling: per-image. |
| R04 RandomCrop224 → HorizontalFlip | RandomCrop224: height=224; width=224. Sampling: per-image. HorizontalFlip: no parameters. Sampling: deterministic. |
| R05 RandomCrop224 → VerticalFlip | RandomCrop224: height=224; width=224. Sampling: per-image. VerticalFlip: no parameters. Sampling: deterministic. |
| R06 Pad → Random Crop224 | Pad: padding=10; fill=0; border_mode="constant". Sampling: deterministic. RandomCrop224: height=224; width=224. Sampling: per-image. |
| R07 RandomCrop224 → Rotate | RandomCrop224: height=224; width=224. Sampling: per-image. Rotate: angle_range=[-45, 45]; interpolation="nearest"; mode="constant"; fill=0. Sampling: per-image. |
| R08 RandomCrop224 → Affine | RandomCrop224: height=224; width=224. Sampling: per-image. Affine: angle=25.0; shift=[20, 20]; scale=2.0; shear=[10.0, 15.0]; interpolation="bilinear"; mode="constant"; fill=0; reference_size=512. Sampling: per-image. |
| R09 RandomCrop224 → Perspective | RandomCrop224: height=224; width=224. Sampling: per-image. Perspective: scale=[0.05, 0.1]; interpolation="bilinear"; fill=0. Sampling: per-image. |
| R10 RandomCrop224 → Elastic | RandomCrop224: height=224; width=224. Sampling: per-image. Elastic: alpha=50.0; sigma=5.0; interpolation="bilinear"; approximate=false; same_dxdy=true. Sampling: per-image. |
| R11 RandomCrop224 → ColorJitter | RandomCrop224: height=224; width=224. Sampling: per-image. ColorJitter: brightness=0.5; contrast=1.5; saturation=1.5; hue=0.5. Sampling: per-image. |
| R12 RandomCrop224 → ChannelShuffle | RandomCrop224: height=224; width=224. Sampling: per-image. ChannelShuffle: no parameters. Sampling: per-image. |
| R13 RandomCrop224 → Grayscale | RandomCrop224: height=224; width=224. Sampling: per-image. Grayscale: num_output_channels=3. Sampling: deterministic. |
| R14 RandomCrop224 → RGBShift | RandomCrop224: height=224; width=224. Sampling: per-image. RGBShift: pixel_shift=100. Sampling: per-image. |
| R15 RandomCrop224 → GaussianBlur | RandomCrop224: height=224; width=224. Sampling: per-image. GaussianBlur: sigma=2.0; kernel_size=[5, 5]. Sampling: per-image. |
| R16 RandomCrop224 → GaussianNoise | RandomCrop224: height=224; width=224. Sampling: per-image. GaussianNoise: mean=0; std=0.44; per_channel=true. Sampling: per-image. |
| Recipe prefix | Declared parameters and randomness scope |
|---|---|
| R17 RandomCrop224 → Invert | RandomCrop224: height=224; width=224. Sampling: per-image. Invert: no parameters. Sampling: deterministic. |
| R18 RandomCrop224 → Posterize | RandomCrop224: height=224; width=224. Sampling: per-image. Posterize: bits=4. Sampling: deterministic. |
| R19 RandomCrop224 → Solarize | RandomCrop224: height=224; width=224. Sampling: per-image. Solarize: threshold=0.5. Sampling: deterministic. |
| R20 RandomCrop224 → Sharpen | RandomCrop224: height=224; width=224. Sampling: per-image. Sharpen: alpha=[0.2, 0.5]; lightness=[0.5, 1]. Sampling: per-image. |
| R21 RandomCrop224 → AutoContrast | RandomCrop224: height=224; width=224. Sampling: per-image. AutoContrast: no parameters. Sampling: deterministic. |
| R22 RandomCrop224 → Equalize | RandomCrop224: height=224; width=224. Sampling: per-image. Equalize: mode="pil". Sampling: deterministic. |
| R23 RandomCrop224 → Erasing | RandomCrop224: height=224; width=224. Sampling: per-image. Erasing: scale=[0.02, 0.33]; ratio=[0.3, 3.3]; fill=0. Sampling: per-image. |
| R24 RandomCrop224 → JpegCompression | RandomCrop224: height=224; width=224. Sampling: per-image. JpegCompression: quality=50. Sampling: per-image. |
| R25 RandomCrop224 → RandomGamma | RandomCrop224: height=224; width=224. Sampling: per-image. RandomGamma: gamma=120. Sampling: per-image. |
| R26 RandomCrop224 → PlankianJitter | RandomCrop224: height=224; width=224. Sampling: per-image. PlankianJitter: mode="blackbody". Sampling: per-image. |
| R27 RandomCrop224 → MedianBlur | RandomCrop224: height=224; width=224. Sampling: per-image. MedianBlur: blur_limit=5. Sampling: per-image. |
| R28 RandomCrop224 → MotionBlur | RandomCrop224: height=224; width=224. Sampling: per-image. MotionBlur: kernel_size=5; angle_range=[0, 360]; direction_range=[-1, 1]. Sampling: per-image. |
| R29 RandomCrop224 → CLAHE | RandomCrop224: height=224; width=224. Sampling: per-image. CLAHE: clip_limit=[1, 4]; tile_grid_size=[8, 8]. Sampling: per-image. |
| R30 RandomCrop224 → Brightness | RandomCrop224: height=224; width=224. Sampling: per-image. Brightness: brightness_limit=[0.2, 0.2]. Sampling: per-image. |
| R31 RandomCrop224 → Contrast | RandomCrop224: height=224; width=224. Sampling: per-image. Contrast: contrast_limit=[0.2, 0.2]. Sampling: per-image. |
| R32 RandomCrop224 → Blur | RandomCrop224: height=224; width=224. Sampling: per-image. Blur: radius=5; border_mode="constant". Sampling: per-image. |
| R33 RandomCrop224 → ChannelDropout | RandomCrop224: height=224; width=224. Sampling: per-image. ChannelDropout: no parameters. Sampling: per-image. |
| Recipe prefix | Declared parameters and randomness scope |
|---|---|
| R34 RandomCrop224 → LinearIllumination | RandomCrop224: height=224; width=224. Sampling: per-image. LinearIllumination: gain=[0.01, 0.2]. Sampling: per-image. |
| R35 RandomCrop224 → CornerIllumination | RandomCrop224: height=224; width=224. Sampling: per-image. CornerIllumination: gain=[0.01, 0.2]. Sampling: per-image. |
| R36 RandomCrop224 → GaussianIllumination | RandomCrop224: height=224; width=224. Sampling: per-image. GaussianIllumination: gain=[0.01, 0.2]. Sampling: per-image. |
| R37 RandomCrop224 → Hue | RandomCrop224: height=224; width=224. Sampling: per-image. Hue: hue=20. Sampling: per-image. |
| R38 RandomCrop224 → PlasmaBrightness | RandomCrop224: height=224; width=224. Sampling: per-image. PlasmaBrightness: roughness=0.5. Sampling: per-image. |
| R39 RandomCrop224 → PlasmaContrast | RandomCrop224: height=224; width=224. Sampling: per-image. PlasmaContrast: roughness=0.5. Sampling: per-image. |
| R40 RandomCrop224 → PlasmaShadow | RandomCrop224: height=224; width=224. Sampling: per-image. PlasmaShadow: roughness=0.5. Sampling: per-image. |
| R41 RandomCrop224 → Rain | RandomCrop224: height=224; width=224. Sampling: per-image. Rain: drop_width=5; drop_height=20; brightness_coefficient=1.0. Sampling: per-image. |
| R42 RandomCrop224 → SaltAndPepper | RandomCrop224: height=224; width=224. Sampling: per-image. SaltAndPepper: amount=[0.01, 0.06]; salt_vs_pepper=[0.4, 0.6]. Sampling: per-image. |
| R43 RandomCrop224 → Saturation | RandomCrop224: height=224; width=224. Sampling: per-image. Saturation: saturation_factor=0.5. Sampling: per-image. |
| R44 RandomCrop224 → Snow | RandomCrop224: height=224; width=224. Sampling: per-image. Snow: snow_point_range=[0.5, 0.5]. Sampling: per-image. |
| R45 RandomCrop224 → OpticalDistortion | RandomCrop224: height=224; width=224. Sampling: per-image. OpticalDistortion: distort_limit=0.5; mode="fisheye". Sampling: per-image. |
| R46 RandomCrop224 → Shear | RandomCrop224: height=224; width=224. Sampling: per-image. Shear: shear=10. Sampling: per-image. |
| R47 RandomCrop224 → ThinPlateSpline | RandomCrop224: height=224; width=224. Sampling: per-image. ThinPlateSpline: num_control_points=2; distortion_scale=0.5. Sampling: per-image. |
| R48 RandomCrop224 → PhotoMetricDistort | RandomCrop224: height=224; width=224. Sampling: per-image. PhotoMetricDistort: brightness_range=[0.875, 1.125]; contrast_range=[0.5, 1.5]; saturation_range=[0.5, 1.5]; hue_range=[-0.05, 0.05]. Sampling: per-image. |
| R49 RandomCrop224 → ColorJiggle | RandomCrop224: height=224; width=224. Sampling: per-image. ColorJiggle: brightness=[0.875, 1.125]; contrast=[0.5, 1.5]; saturation=[0.5, 1.5]; hue=[-0.05, 0.05]. Sampling: per-image. |
| Recipe prefix | Declared parameters and randomness scope |
|---|---|
| R50 LongestMaxSize → RandomCrop224 | LongestMaxSize: max_size=512; interpolation="bilinear". Sampling: per-image.RandomCrop224: height=224; width=224. Sampling: per-image. |
| R51 SmallestMaxSize → RandomCrop224 | SmallestMaxSize: max_size=512; interpolation="bilinear". Sampling: per-image.RandomCrop224: height=224; width=224. Sampling: per-image. |
| R52 RandomCrop224 → Transpose | RandomCrop224: height=224; width=224. Sampling: per-image.Transpose: no parameters. Sampling: deterministic. |
| R53 RandomCrop224 → RandomRotate90 | RandomCrop224: height=224; width=224. Sampling: per-image.RandomRotate90: times=[0, 3]. Sampling: per-image. |
| R54 RandomCrop224 → RandomJigsaw | RandomCrop224: height=224; width=224. Sampling: per-image.RandomJigsaw: grid=[4, 4]. Sampling: per-image. |
| R55 RandomCrop224 → EnhanceEdge | RandomCrop224: height=224; width=224. Sampling: per-image.EnhanceEdge: mode="edge"; alpha_range=[0.5, 1.0]. Sampling: per-image. |
| R56 RandomCrop224 → EnhanceDetail | RandomCrop224: height=224; width=224. Sampling: per-image.EnhanceDetail: mode="detail"; alpha_range=[0.5, 1.0]. Sampling: per-image. |
| R57 RandomCrop224 → UnsharpMask | RandomCrop224: height=224; width=224. Sampling: per-image.UnsharpMask: blur_limit=[3, 7]; sigma_limit=0.0; alpha=[0.2, 0.5]; threshold=10. Sampling: per-image. |
C Implementation semantics that affect interpretation
Crop and resize. Resize224 requests a fixed output rather than preserving aspect ratio. TorchVision Resize enables antialiasing; API interpolation and border rules can differ. The AX, Pillow, TorchVision, and Kornia RandomCrop224 paths crop from decoded dimensions and pad small inputs. DALI always resizes the short side to 224 first. Hence its Crop recipes process a different spatial sampling of the source image. Pillow's RandomResizedCrop adapter tries ten random crops and falls back to a direct resize; fallback behavior need not match another API.
Affine and random parameters. The Affine catalog includes rotation, translation, scale, and shear. AX samples rotation over a symmetric range; Kornia uses a fixed affine module with the specified values. TorchVision converts translation to fractions of the catalog's reference size and samples its RandomAffine parameters. DALI constructs a matrix from scale and shift only. Accordingly, the Affine results compare these particular mappings, not identical affine distributions. Other analogues also have API-specific parameters: the catalog is a declaration of intended operations, while the pinned adapter source is the executable definition.
Batch execution. Kornia CPU receives each image as a batch of one. Kornia GPU uses the remaining batch module with per-image parameter sampling where the module exposes it. TorchVision GPU calls its remaining transform sequence per sample. The latter choice avoids assuming one random batched call provides independent draws, but no alternative implementation was benchmarked here. No equality of per-library random streams is asserted.
Shape validation and semantic validation. All recorded cells returned the required CUDA output. That establishes the output contract used for timing. It does not establish equal pixels, equal random distributions, equivalent border treatment, or equal effects on model quality. These limits remain part of any comparison using the results.
D Results for every measured implementation–recipe pair
Each row reports three seed observations as median, minimum, and maximum. Throughput and GPU memory are separate columns from the same three cells; their medians need not come from the same seed. Values are rounded to whole images/s and MiB. The accompanying CSV preserves every unrounded observation. Only measured pairs appear; a missing pair is not a zero-speed result. Recipe identifiers link to Appendix B.
D.1 AlbumentationsX
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 4,751 | 3,576 | 7,759 | 1,852 | 1,852 | 1,852 |
| R02 | 4,740 | 4,488 | 4,808 | 1,852 | 1,852 | 1,852 |
| R03 | 4,785 | 4,699 | 4,903 | 1,852 | 1,852 | 1,852 |
| R04 | 4,723 | 4,640 | 4,939 | 1,852 | 1,852 | 1,852 |
| R05 | 4,907 | 4,859 | 5,060 | 1,852 | 1,852 | 1,852 |
| R06 | 4,397 | 4,396 | 4,635 | 1,852 | 1,852 | 1,852 |
| R07 | 3,352 | 3,309 | 3,463 | 1,852 | 1,852 | 1,852 |
| R08 | 3,049 | 2,668 | 3,214 | 1,852 | 1,852 | 1,852 |
| R09 | 2,879 | 2,839 | 3,010 | 1,852 | 1,852 | 1,852 |
| R10 | 1,990 | 1,890 | 2,213 | 1,852 | 1,852 | 1,852 |
| R11 | 3,523 | 3,478 | 3,620 | 1,852 | 1,852 | 1,852 |
| R12 | 5,026 | 4,892 | 5,060 | 1,852 | 1,852 | 1,852 |
| R13 | 5,157 | 4,777 | 5,275 | 1,852 | 1,852 | 1,852 |
| R14 | 4,348 | 3,423 | 4,517 | 1,852 | 1,852 | 1,852 |
| R15 | 4,679 | 4,473 | 4,750 | 1,852 | 1,852 | 1,852 |
| R16 | 3,288 | 3,155 | 3,338 | 1,852 | 1,852 | 1,852 |
| R17 | 5,076 | 4,660 | 5,138 | 1,852 | 1,852 | 1,852 |
| R18 | 5,110 | 4,739 | 5,213 | 1,852 | 1,852 | 1,852 |
| R19 | 4,607 | 3,688 | 4,684 | 1,852 | 1,852 | 1,852 |
| R20 | 4,223 | 3,433 | 4,629 | 1,852 | 1,852 | 1,852 |
| R21 | 4,263 | 4,143 | 4,345 | 1,852 | 1,852 | 1,852 |
| R22 | 3,986 | 3,797 | 4,040 | 1,852 | 1,852 | 1,852 |
| R23 | 4,938 | 4,738 | 5,064 | 1,852 | 1,852 | 1,852 |
| R24 | 4,232 | 4,214 | 4,367 | 1,852 | 1,852 | 1,852 |
| R25 | 4,969 | 4,642 | 5,033 | 1,852 | 1,852 | 1,852 |
| R26 | 4,538 | 4,229 | 4,557 | 1,852 | 1,852 | 1,852 |
| R27 | 3,805 | 3,081 | 3,990 | 1,852 | 1,852 | 1,852 |
| R28 | 4,223 | 4,177 | 4,587 | 1,852 | 1,852 | 1,852 |
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R29 | 2,373 | 2,215 | 2,391 | 1,852 | 1,852 | 1,852 |
| R30 | 4,622 | 4,576 | 4,663 | 1,852 | 1,852 | 1,852 |
| R31 | 4,642 | 4,504 | 4,821 | 1,852 | 1,852 | 1,852 |
| R32 | 4,821 | 4,612 | 4,886 | 1,852 | 1,852 | 1,852 |
| R33 | 4,972 | 4,877 | 5,090 | 1,852 | 1,852 | 1,852 |
| R34 | 3,866 | 2,958 | 3,867 | 1,852 | 1,852 | 1,852 |
| R35 | 4,090 | 3,898 | 4,336 | 1,852 | 1,852 | 1,852 |
| R36 | 3,930 | 3,789 | 4,013 | 1,852 | 1,852 | 1,852 |
| R37 | 4,274 | 4,138 | 4,283 | 1,852 | 1,852 | 1,852 |
| R38 | 2,461 | 2,448 | 2,509 | 1,852 | 1,852 | 1,852 |
| R39 | 2,162 | 2,160 | 2,237 | 1,852 | 1,852 | 1,852 |
| R40 | 2,489 | 2,446 | 2,547 | 1,852 | 1,852 | 1,852 |
| R41 | 4,069 | 3,923 | 4,210 | 1,852 | 1,852 | 1,852 |
| R42 | 4,147 | 3,324 | 4,413 | 1,852 | 1,852 | 1,852 |
| R43 | 4,136 | 3,991 | 4,144 | 1,852 | 1,852 | 1,852 |
| R44 | 3,857 | 3,816 | 3,964 | 1,852 | 1,852 | 1,852 |
| R45 | 3,110 | 2,996 | 3,328 | 1,852 | 1,852 | 1,852 |
| R46 | 2,658 | 2,399 | 3,529 | 1,852 | 1,852 | 1,852 |
| R47 | 858 | 850 | 909 | 1,852 | 1,852 | 1,852 |
| R48 | 3,369 | 3,174 | 3,394 | 1,852 | 1,852 | 1,852 |
| R49 | 3,526 | 3,416 | 3,556 | 1,852 | 1,852 | 1,852 |
| R50 | 3,658 | 3,432 | 3,706 | 1,852 | 1,852 | 1,852 |
| R51 | 3,221 | 2,759 | 3,308 | 1,852 | 1,852 | 1,852 |
| R52 | 4,942 | 4,798 | 5,168 | 1,852 | 1,852 | 1,852 |
| R53 | 5,002 | 4,740 | 5,039 | 1,852 | 1,852 | 1,852 |
| R54 | 4,662 | 4,594 | 4,796 | 1,852 | 1,852 | 1,852 |
| R55 | 4,389 | 3,612 | 4,516 | 1,852 | 1,852 | 1,852 |
| R56 | 4,720 | 3,744 | 4,726 | 1,852 | 1,852 | 1,852 |
| R57 | 3,120 | 2,957 | 3,309 | 1,852 | 1,852 | 1,852 |
D.2 Pillow CPU
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 2,390 | 1,858 | 2,406 | 1,814 | 1,814 | 1,814 |
| R02 | 3,768 | 3,251 | 3,799 | 1,814 | 1,814 | 1,814 |
| R03 | 2,721 | 2,662 | 2,788 | 1,814 | 1,814 | 1,814 |
| R04 | 3,759 | 3,236 | 3,818 | 1,814 | 1,814 | 1,814 |
| R05 | 3,567 | 3,510 | 3,737 | 1,814 | 1,814 | 1,814 |
| R06 | 3,659 | 3,617 | 3,693 | 1,814 | 1,814 | 1,814 |
| R07 | 3,555 | 3,516 | 3,572 | 1,814 | 1,814 | 1,814 |
| R08 | 2,647 | 2,112 | 2,714 | 1,814 | 1,814 | 1,814 |
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R13 | 3,687 | 3,680 | 3,694 | 1,814 | 1,814 | 1,814 |
| R15 | 2,393 | 2,309 | 2,445 | 1,814 | 1,814 | 1,814 |
| R17 | 3,540 | 3,532 | 3,598 | 1,814 | 1,814 | 1,814 |
| R18 | 3,493 | 3,072 | 3,502 | 1,814 | 1,814 | 1,814 |
| R19 | 3,506 | 3,453 | 3,560 | 1,814 | 1,814 | 1,814 |
| R21 | 3,513 | 3,281 | 3,523 | 1,814 | 1,814 | 1,814 |
| R22 | 3,245 | 3,240 | 3,280 | 1,814 | 1,814 | 1,814 |
| R24 | 3,183 | 3,128 | 3,250 | 1,814 | 1,814 | 1,814 |
| R27 | 241 | 239 | 242 | 1,814 | 1,814 | 1,814 |
| R30 | 3,519 | 3,417 | 3,551 | 1,814 | 1,814 | 1,814 |
| R31 | 3,198 | 2,819 | 3,359 | 1,814 | 1,814 | 1,814 |
| R32 | 3,048 | 2,996 | 3,123 | 1,814 | 1,814 | 1,814 |
| R43 | 3,470 | 2,738 | 3,550 | 1,814 | 1,814 | 1,814 |
| R46 | 2,550 | 2,534 | 2,591 | 1,814 | 1,814 | 1,814 |
| R52 | 3,676 | 2,960 | 3,680 | 1,814 | 1,814 | 1,814 |
| R55 | 2,601 | 2,561 | 2,603 | 1,814 | 1,814 | 1,814 |
| R56 | 2,700 | 2,599 | 2,846 | 1,814 | 1,814 | 1,814 |
| R57 | 2,132 | 2,129 | 2,149 | 1,814 | 1,814 | 1,814 |
D.3 TorchVision CPU
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 3,671 | 3,577 | 3,736 | 1,814 | 1,814 | 1,814 |
| R02 | 4,424 | 4,328 | 4,522 | 1,814 | 1,814 | 1,814 |
| R03 | 3,518 | 3,496 | 3,667 | 1,814 | 1,814 | 1,814 |
| R04 | 4,207 | 3,247 | 4,432 | 1,814 | 1,814 | 1,814 |
| R05 | 4,319 | 4,094 | 4,363 | 1,814 | 1,814 | 1,814 |
| R06 | 3,685 | 2,780 | 3,720 | 1,814 | 1,814 | 1,814 |
| R07 | 2,585 | 2,558 | 2,658 | 1,814 | 1,814 | 1,814 |
| R08 | 2,384 | 2,301 | 2,485 | 1,814 | 1,814 | 1,814 |
| R09 | 2,179 | 2,138 | 2,222 | 1,814 | 1,814 | 1,814 |
| R10 | 236 | 230 | 238 | 1,814 | 1,814 | 1,814 |
| R11 | 1,203 | 943 | 1,208 | 1,814 | 1,814 | 1,814 |
| R12 | 4,225 | 3,973 | 4,457 | 1,814 | 1,814 | 1,814 |
| R13 | 3,891 | 3,885 | 4,052 | 1,814 | 1,814 | 1,814 |
| R15 | 2,447 | 2,296 | 2,464 | 1,814 | 1,814 | 1,814 |
| R17 | 4,067 | 3,329 | 4,381 | 1,814 | 1,814 | 1,814 |
| R18 | 4,336 | 4,218 | 4,363 | 1,814 | 1,814 | 1,814 |
| R19 | 3,671 | 3,646 | 3,790 | 1,814 | 1,814 | 1,814 |
| R20 | 2,117 | 1,709 | 2,200 | 1,814 | 1,814 | 1,814 |
| R21 | 2,687 | 2,274 | 2,808 | 1,814 | 1,814 | 1,814 |
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R22 | 3,064 | 3,020 | 3,137 | 1,814 | 1,814 | 1,814 |
| R23 | 4,010 | 2,933 | 4,143 | 1,814 | 1,814 | 1,814 |
| R24 | 3,448 | 3,447 | 3,523 | 1,814 | 1,814 | 1,814 |
| R30 | 3,823 | 3,788 | 3,837 | 1,814 | 1,814 | 1,814 |
| R31 | 3,377 | 2,684 | 3,487 | 1,814 | 1,814 | 1,814 |
| R48 | 1,170 | 910 | 1,192 | 1,814 | 1,814 | 1,814 |
| R49 | 1,221 | 1,215 | 1,233 | 1,814 | 1,814 | 1,814 |
D.4 TorchVision GPU
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 3,852 | 3,526 | 3,883 | 1,814 | 1,814 | 1,814 |
| R02 | 4,375 | 4,269 | 4,495 | 1,814 | 1,814 | 1,814 |
| R03 | 3,558 | 3,509 | 3,604 | 1,814 | 1,814 | 1,814 |
| R04 | 4,374 | 4,319 | 4,498 | 1,972 | 1,972 | 1,972 |
| R05 | 4,594 | 4,525 | 4,616 | 1,972 | 1,972 | 1,972 |
| R06 | 3,626 | 3,569 | 3,700 | 1,814 | 1,814 | 1,814 |
| R07 | 1,535 | 1,435 | 1,540 | 1,972 | 1,972 | 1,972 |
| R08 | 1,478 | 1,476 | 1,518 | 1,990 | 1,990 | 1,990 |
| R09 | 886 | 885 | 898 | 1,990 | 1,990 | 1,990 |
| R10 | 22 | 22 | 22 | 1,990 | 1,990 | 1,990 |
| R11 | 731 | 716 | 736 | 1,976 | 1,976 | 1,976 |
| R12 | 4,337 | 4,298 | 4,538 | 1,972 | 1,972 | 1,972 |
| R13 | 4,387 | 4,356 | 4,557 | 1,912 | 1,912 | 1,912 |
| R15 | 2,811 | 2,744 | 3,014 | 1,972 | 1,972 | 1,972 |
| R17 | 4,430 | 4,394 | 4,484 | 1,972 | 1,972 | 1,972 |
| R18 | 4,453 | 4,362 | 4,474 | 1,972 | 1,972 | 1,972 |
| R19 | 4,520 | 4,488 | 4,542 | 1,972 | 1,972 | 1,972 |
| R20 | 3,239 | 3,228 | 3,509 | 1,972 | 1,972 | 1,972 |
| R21 | 3,859 | 3,854 | 3,902 | 1,972 | 1,972 | 1,972 |
| R22 | 1,591 | 1,454 | 1,628 | 1,972 | 1,972 | 1,972 |
| R23 | 2,907 | 2,858 | 2,956 | 1,972 | 1,972 | 1,972 |
| R30 | 4,434 | 4,386 | 4,663 | 1,972 | 1,972 | 1,972 |
| R31 | 3,333 | 3,288 | 3,349 | 1,972 | 1,972 | 1,972 |
| R48 | 670 | 669 | 672 | 1,976 | 1,976 | 1,976 |
| R49 | 742 | 734 | 745 | 1,976 | 1,976 | 1,976 |
D.5 Kornia CPU
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 2,063 | 1,961 | 2,636 | 1,776 | 1,776 | 1,776 |
| R02 | 2,073 | 2,050 | 2,189 | 1,776 | 1,776 | 1,776 |
| R03 | 1,776 | 1,760 | 1,814 | 1,776 | 1,776 | 1,776 |
| R04 | 2,011 | 2,007 | 2,031 | 1,776 | 1,776 | 1,776 |
| R05 | 1,980 | 1,531 | 2,007 | 1,776 | 1,776 | 1,776 |
| R07 | 1,466 | 1,442 | 1,491 | 1,776 | 1,776 | 1,776 |
| R08 | 1,445 | 1,163 | 1,499 | 1,776 | 1,776 | 1,776 |
| R09 | 1,303 | 1,267 | 1,305 | 1,776 | 1,776 | 1,776 |
| R10 | 102 | 77 | 106 | 1,776 | 1,776 | 1,776 |
| R11 | 1,006 | 956 | 1,018 | 1,776 | 1,776 | 1,776 |
| R12 | 1,944 | 1,814 | 1,991 | 1,776 | 1,776 | 1,776 |
| R13 | 1,892 | 1,843 | 2,050 | 1,776 | 1,776 | 1,776 |
| R14 | 1,889 | 1,867 | 1,890 | 1,776 | 1,776 | 1,776 |
| R15 | 1,189 | 1,173 | 1,197 | 1,776 | 1,776 | 1,776 |
| R16 | 1,662 | 1,606 | 1,671 | 1,776 | 1,776 | 1,776 |
| R17 | 1,920 | 1,851 | 2,085 | 1,776 | 1,776 | 1,776 |
| R18 | 1,751 | 1,716 | 1,754 | 1,776 | 1,776 | 1,776 |
| R19 | 1,655 | 1,627 | 1,711 | 1,776 | 1,776 | 1,776 |
| R20 | 1,241 | 959 | 1,282 | 1,776 | 1,776 | 1,776 |
| R21 | 1,697 | 1,684 | 1,719 | 1,776 | 1,776 | 1,776 |
| R22 | 1,265 | 1,260 | 1,286 | 1,776 | 1,776 | 1,776 |
| R23 | 1,558 | 1,234 | 1,567 | 1,776 | 1,776 | 1,776 |
| R24 | 684 | 676 | 691 | 1,776 | 1,776 | 1,776 |
| R25 | 1,686 | 1,612 | 1,706 | 1,776 | 1,776 | 1,776 |
| R26 | 1,857 | 1,806 | 1,915 | 1,776 | 1,776 | 1,776 |
| R27 | 124 | 123 | 127 | 1,776 | 1,776 | 1,776 |
| R28 | 1,210 | 1,190 | 1,241 | 1,776 | 1,776 | 1,776 |
| R29 | 692 | 636 | 708 | 1,776 | 1,776 | 1,776 |
| R30 | 1,872 | 1,464 | 1,900 | 1,776 | 1,776 | 1,776 |
| R31 | 1,868 | 1,857 | 1,906 | 1,776 | 1,776 | 1,776 |
| R32 | 1,284 | 1,239 | 1,308 | 1,776 | 1,776 | 1,776 |
| R33 | 1,911 | 1,908 | 1,992 | 1,776 | 1,776 | 1,776 |
| R34 | 1,698 | 1,314 | 1,754 | 1,776 | 1,776 | 1,776 |
| R35 | 1,481 | 1,459 | 1,529 | 1,776 | 1,776 | 1,776 |
| R36 | 1,492 | 1,469 | 1,514 | 1,776 | 1,776 | 1,776 |
| R37 | 1,126 | 1,113 | 1,139 | 1,776 | 1,776 | 1,776 |
| R38 | 469 | 467 | 475 | 1,776 | 1,776 | 1,776 |
| R39 | 477 | 474 | 480 | 1,776 | 1,776 | 1,776 |
| R40 | 832 | 812 | 842 | 1,776 | 1,776 | 1,776 |
| R41 | 1,455 | 1,133 | 1,479 | 1,776 | 1,776 | 1,776 |
| R42 | 1,479 | 1,469 | 1,541 | 1,776 | 1,776 | 1,776 |
| R43 | 1,124 | 1,032 | 1,166 | 1,776 | 1,776 | 1,776 |
| R44 | 1,131 | 1,096 | 1,162 | 1,776 | 1,776 | 1,776 |
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R45 | 1,433 | 1,428 | 1,470 | 1,776 | 1,776 | 1,776 |
| R46 | 1,508 | 1,504 | 1,565 | 1,776 | 1,776 | 1,776 |
| R47 | 696 | 683 | 699 | 1,776 | 1,776 | 1,776 |
| R49 | 758 | 756 | 762 | 1,776 | 1,776 | 1,776 |
| R50 | 1,073 | 1,059 | 1,086 | 1,776 | 1,776 | 1,776 |
| R51 | 845 | 678 | 868 | 1,776 | 1,776 | 1,776 |
| R53 | 1,462 | 1,431 | 1,492 | 1,776 | 1,776 | 1,776 |
| R54 | 1,751 | 1,690 | 1,762 | 1,776 | 1,776 | 1,776 |
D.6 Kornia GPU
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 1,990 | 1,944 | 2,023 | 1,776 | 1,776 | 1,776 |
| R02 | 2,107 | 2,063 | 2,172 | 1,776 | 1,776 | 1,776 |
| R03 | 1,746 | 1,446 | 1,799 | 1,776 | 1,776 | 1,776 |
| R04 | 2,084 | 2,032 | 2,142 | 1,850 | 1,850 | 1,850 |
| R05 | 2,151 | 2,086 | 2,229 | 1,850 | 1,850 | 1,850 |
| R07 | 2,122 | 2,108 | 2,124 | 1,900 | 1,900 | 1,900 |
| R08 | 2,138 | 2,014 | 2,157 | 1,900 | 1,900 | 1,900 |
| R10 | 271 | 266 | 271 | 2,156 | 2,156 | 2,156 |
| R11 | 2,047 | 1,597 | 2,076 | 3,328 | 3,324 | 3,332 |
| R12 | 2,120 | 2,081 | 2,231 | 1,850 | 1,850 | 1,850 |
| R13 | 2,113 | 2,104 | 2,154 | 1,902 | 1,902 | 1,902 |
| R14 | 2,149 | 2,060 | 2,195 | 1,850 | 1,850 | 1,850 |
| R15 | 2,155 | 2,091 | 2,212 | 2,000 | 2,000 | 2,000 |
| R16 | 2,022 | 1,582 | 2,133 | 1,924 | 1,924 | 1,924 |
| R17 | 2,167 | 2,046 | 2,185 | 1,850 | 1,850 | 1,850 |
| R18 | 2,135 | 1,599 | 2,158 | 1,934 | 1,934 | 1,934 |
| R19 | 2,142 | 1,603 | 2,158 | 2,184 | 2,184 | 2,184 |
| R20 | 2,144 | 2,129 | 2,213 | 2,342 | 2,342 | 2,342 |
| R21 | 2,092 | 2,087 | 2,095 | 1,924 | 1,924 | 1,924 |
| R22 | 523 | 522 | 532 | 1,934 | 1,934 | 1,934 |
| R24 | 2,151 | 2,044 | 2,228 | 2,450 | 2,450 | 2,450 |
| R25 | 2,114 | 2,111 | 2,127 | 1,924 | 1,924 | 1,924 |
| R26 | 2,125 | 2,082 | 2,170 | 2,172 | 2,172 | 2,172 |
| R27 | 1,015 | 1,013 | 1,022 | 3,982 | 3,982 | 3,982 |
| R28 | 2,127 | 2,110 | 2,152 | 1,928 | 1,928 | 1,928 |
| R29 | 104 | 104 | 104 | 3,406 | 3,406 | 3,406 |
| R30 | 2,101 | 2,067 | 2,169 | 1,924 | 1,924 | 1,924 |
| R31 | 2,092 | 2,052 | 2,102 | 1,924 | 1,924 | 1,924 |
| R32 | 2,147 | 2,004 | 2,154 | 2,000 | 2,000 | 2,000 |
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R33 | 2,084 | 1,677 | 2,102 | 1,850 | 1,850 | 1,850 |
| R36 | 247 | 245 | 249 | 1,850 | 1,850 | 1,850 |
| R37 | 2,100 | 2,014 | 2,233 | 3,262 | 3,262 | 3,262 |
| R38 | 2,083 | 2,070 | 2,106 | 3,082 | 3,082 | 3,082 |
| R39 | 2,103 | 2,091 | 2,157 | 3,082 | 3,082 | 3,082 |
| R40 | 2,123 | 2,120 | 2,164 | 2,296 | 2,296 | 2,296 |
| R41 | 517 | 516 | 519 | 1,850 | 1,850 | 1,850 |
| R42 | 437 | 435 | 437 | 1,888 | 1,888 | 1,888 |
| R43 | 2,083 | 2,006 | 2,099 | 3,262 | 3,262 | 3,262 |
| R44 | 2,059 | 1,622 | 2,087 | 2,484 | 2,484 | 2,484 |
| R45 | 2,100 | 2,079 | 2,128 | 2,004 | 2,004 | 2,004 |
| R47 | 2,121 | 2,097 | 2,175 | 2,594 | 2,594 | 2,594 |
| R49 | 2,106 | 2,094 | 2,141 | 3,332 | 3,328 | 3,332 |
| R50 | 1,066 | 1,064 | 1,089 | 1,776 | 1,776 | 1,776 |
| R51 | 834 | 834 | 842 | 1,776 | 1,776 | 1,776 |
| R53 | 2,106 | 2,070 | 2,149 | 1,900 | 1,900 | 1,900 |
| R54 | 2,117 | 1,675 | 2,162 | 1,998 | 1,998 | 1,998 |
D.7 DALI GPU
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R01 | 5,070 | 5,010 | 5,076 | 1,766 | 1,766 | 1,958 |
| R02 | 5,029 | 5,025 | 5,036 | 1,958 | 1,958 | 2,022 |
| R03 | 5,091 | 5,076 | 5,121 | 2,022 | 2,022 | 2,022 |
| R04 | 4,990 | 4,985 | 5,044 | 2,022 | 2,022 | 2,022 |
| R05 | 4,992 | 4,969 | 5,041 | 2,022 | 2,022 | 2,022 |
| R06 | 4,993 | 4,972 | 4,995 | 2,086 | 2,086 | 2,086 |
| R07 | 5,025 | 5,019 | 5,035 | 2,086 | 2,086 | 2,086 |
| R08 | 5,031 | 5,023 | 5,048 | 2,086 | 2,086 | 2,086 |
| R11 | 5,047 | 5,004 | 5,049 | 2,086 | 2,086 | 2,086 |
| R15 | 4,990 | 4,982 | 5,008 | 2,150 | 2,150 | 2,150 |
| R16 | 5,025 | 5,016 | 5,056 | 2,150 | 2,150 | 2,150 |
| R22 | 5,033 | 4,993 | 5,039 | 2,150 | 2,150 | 2,150 |
| R23 | 5,025 | 5,022 | 5,075 | 2,150 | 2,150 | 2,150 |
| R24 | 4,997 | 4,997 | 5,043 | 2,150 | 2,150 | 2,150 |
| R29 | 4,840 | 4,837 | 4,848 | 2,150 | 2,150 | 2,150 |
| R30 | 5,041 | 5,017 | 5,060 | 2,150 | 2,150 | 2,150 |
| R31 | 5,025 | 5,022 | 5,050 | 2,150 | 2,150 | 2,150 |
| R37 | 5,047 | 5,033 | 5,057 | 2,150 | 2,150 | 2,150 |
| R42 | 5,009 | 4,965 | 5,027 | 2,150 | 2,150 | 2,150 |
| R43 | 5,047 | 5,009 | 5,050 | 2,150 | 2,150 | 2,150 |
| Recipe | Throughput (images/s) | GPU memory (MiB) | ||||
|---|---|---|---|---|---|---|
| Median | Min | Max | Median | Min | Max | |
| R46 | 5,052 | 5,018 | 5,057 | 2,150 | 2,150 | 2,150 |
| R49 | 4,953 | 4,943 | 4,983 | 2,150 | 2,150 | 2,150 |
E Catalog correspondences used for coverage
Each row is an AX catalog entry. A dash means the census records no corresponding API in that library. Repeated competing API names are retained: the unit counted is the AX entry. The table reflects the versioned maintainer mapping, including approximate correspondences; it is not a conformance test. Unmeasured catalog entries remain visible here without affecting speed summaries.
| AX entry | Kornia | TorchVision | Pillow |
|---|---|---|---|
| AdditiveNoise | — | — | — |
| AdvancedBlur | — | — | — |
| Affine | RandomAffine / Random Shear | RandomAffine | Image.transform(AFFINE) |
| AtLeastOneBBoxRandom Crop | — | RandomIoUCrop | — |
| AtmosphericFog | — | — | — |
| AutoContrast | RandomAutoContrast | RandomAutocontrast | ImageOps. autocontrast |
| BBoxSafeRandomCrop | — | RandomIoUCrop | — |
| Blur | RandomBoxBlur | — | ImageFilter.BoxBlur |
| CLAHE | RandomClahe | — | — |
| CenterCrop | CenterCrop | — | — |
| ChannelDropout | RandomChannelDropout | — | — |
| ChannelShuffle | RandomChannelShuffle | RandomChannel Permutation | — |
| ChannelSwap | — | — | — |
| ChromaticAberration | — | — | — |
| CoarseDropout | — | RandomErasing | — |
| ColorJitter | ColorJitter / ColorJiggle | ColorJitter | — |
| Colorize | — | — | ImageOps.colorize |
| ConstrainedCoarse Dropout | — | — | — |
| CopyAndPaste | — | — | — |
| Crop | — | — | — |
| CropAndPad | — | RandomZoomOut | — |
| CropNonEmptyMaskIf Exists | — | — | — |
| D4 | — | — | — |
| Defocus | — | — | — |
| AX entry | Kornia | TorchVision | Pillow |
|---|---|---|---|
| Dithering | — | — | |
| Downscale | — | — | — |
| ElasticTransform | RandomElasticTransform | ElasticTransform | — |
| Emboss | — | — | — |
| Enhance | — | — | ImageFilter.EDGE_ENHANCE_MORE / ImageFilter.Detail |
| Equalize | RandomEqualize | RandomEqualize | ImageOps.equalize |
| Erasing | RandomErasing | RandomErasing | — |
| FDA | — | — | — |
| FancyPCA | — | — | — |
| FilmGrain | — | — | — |
| GaussNoise | RandomGaussianNoise | GaussianNoise | — |
| GaussianBlur | RandomGaussianBlur | GaussianBlur | ImageFilter.GaussianBlur |
| GlassBlur | — | — | — |
| GridDistortion | — | — | — |
| GridDropout | — | — | — |
| GridElasticDeform | — | — | — |
| GridMask | — | — | — |
| HEStain | — | — | — |
| Halftone | — | — | — |
| HistogramMatching | — | — | — |
| HorizontalFlip | RandomHorizontalFlip | RandomHorizontalFlip | |
| HueSaturationValue | RandomHue / Random Saturation | ColorJitter | ImageEnhance.Color |
| ISONoise | — | — | — |
| Illumination | RandomLinear Illumination / Random LinearCornerIllumination / RandomGaussian Illumination | — | — |
| ImageCompression | RandomJPEG | JPEG | JPEG save/load roundtrip |
| InvertImg | RandomInvert | RandomInvert | ImageOps.invert |
| LensFlare | — | — | — |
| LetterBox | — | — | — |
| LongestMaxSize | LongestMaxSize | Resize / Random ShortestSize | — |
| MaskDropout | — | — | — |
| MedianBlur | RandomMedianBlur | — | ImageFilter.Median Filter |
| AX entry | Kornia | TorchVision | Pillow |
|---|---|---|---|
| ModeFilter | — | — | — |
| Morphological | — | — | — |
| Mosaic | — | — | — |
| MotionBlur | RandomMotionBlur | — | — |
| MultiplicativeNoise | — | — | — |
| Normalize | Normalize | Normalize | — |
| OpticalDistortion | RandomFisheye | — | — |
| OverlayElements | — | — | — |
| Pad | — | Pad | ImageOps.expand |
| PadIfNeeded | — | Pad | — |
| Perspective | RandomPerspective | RandomPerspective | — |
| PhotoMetricDistort | — | RandomPhotometric Distort | — |
| PiecewiseAffine | — | — | — |
| PixelDistribution Adaptation | — | — | — |
| PixelDropout | — | — | — |
| PixelSpread | — | — | — |
| PlanckianJitter | RandomPlanckianJitter | — | — |
| PlasmaBrightnessContrast | RandomPlasma Brightness / Random PlasmaContrast | — | — |
| PlasmaShadow | RandomPlasmaShadow | — | — |
| Posterize | RandomPosterize | RandomPosterize | ImageOps.posterize |
| RGBShift | RandomRGBShift | — | — |
| RandomBrightness Contrast | RandomBrightness / RandomContrast | ColorJitter | ImageEnhance. Brightness / Image Enhance.Contrast |
| RandomCrop | RandomCrop | RandomCrop | — |
| RandomCropFromBorders | — | — | — |
| RandomCropNearBBox | — | — | — |
| RandomFog | — | — | — |
| RandomGamma | RandomGamma | — | — |
| RandomGravel | — | — | — |
| RandomGridShuffle | RandomJigsaw | — | — |
| RandomRain | RandomRain | — | — |
| RandomResizedCrop | RandomResizedCrop | RandomResizedCrop | — |
| RandomRotate90 | RandomRotation90 | — | — |
| RandomScale | — | ScaleJitter / Random Resize | — |
| RandomShadow | — | — | — |
| Random SizedBBoxSafe Crop | — | RandomIoUCrop + RandomResizedCrop | — |
| Random SizedCrop | — | RandomResizedCrop | — |
| RandomSnow | RandomSnow | — | — |
| RandomSunFlare | — | — | — |
| AX entry | Kornia | TorchVision | Pillow |
|---|---|---|---|
| RandomToneCurve | — | — | — |
| Resize | Resize | Resize | Image.resize |
| RingingOvershoot | — | — | — |
| Rotate | RandomRotation | RandomRotation | Image.rotate |
| SafeRotate | — | — | — |
| SaltAndPepper | RandomSaltAndPepper Noise | — | — |
| Sharpen | RandomSharpness | RandomAdjust Sharpness | — |
| ShiftScaleRotate | — | RandomAffine | — |
| ShotNoise | — | — | — |
| SmallestMaxSize | SmallestMaxSize | Resize / Random ShortestSize | — |
| Solarize | RandomSolarize | RandomSolarize | ImageOps.solarize |
| Spatter | — | — | — |
| SquareSymmetry | — | — | — |
| Superpixels | — | — | — |
| TextImage | — | — | — |
| ThinPlateSpline | RandomThinPlateSpline | — | — |
| ToGray | RandomGrayscale | Grayscale | ImageOps.grayscale(...).convert("RGB") |
| ToSepia | — | — | — |
| Transpose | — | — | Image.transpose(TRANSPOSE) |
| UnsharpMask | — | — | ImageFilter.Unsharp Mask |
| VerticalFlip | RandomVerticalFlip | RandomVerticalFlip | Image.transpose(FLIP_TOP_BOTTOM) |
| Vignetting | — | — | — |
| WaterRefraction | — | — | — |
| XYMasking | — | — | — |
| ZoomBlur | — | — | — |