AlbumentationsX vs DALI Benchmark

Compare AlbumentationsX and NVIDIA DALI JPEG-to-CUDA throughput and peak GPU memory from the selected RGB benchmark run.

RGB input pipeline results

Every path reads RGB JPEGs, prepares the recipe, and delivers a synchronized CUDA batch. CPU and GPU labels identify where most augmentation stages run. Every path normalizes on GPU.

AX vs DALI on 52 shared recipes
AX vs DALI on 52 shared recipes Scroll horizontally to see the full chart. Open the image for full size.

Each comparison uses its own shared recipe set. Compare paths within each chart. The table below includes every measured recipe for these paths, including recipes outside the summary set. Recipe names are shortened; hover over a name for its full pipeline.

Benchmark metric

Higher throughput is better. Values are medians across seeds. Hover for the observed range. A dash means no measured result.

R01Resize2244,6915,056
R02RandomCrop2244,4216,387
R03RandomResizedCrop4,7066,065
R04HorizontalFlip3,9556,417
R05VerticalFlip4,2796,401
R06Pad+RandomCrop2244,2444,996
R07Rotate4,4096,379
R08Affine4,1066,433
R09Perspective4,1806,127
R10Elastic3,032—
R11ColorJitter3,5693,511
R12ChannelShuffle4,7516,251
R13Grayscale4,8046,416
R14RGBShift4,6556,190
R15GaussianBlur4,3996,329
R16GaussianNoise3,3766,372
R17Invert4,9286,392
R18Posterize4,9686,371
R19Solarize4,6226,401
R20Sharpen4,481—
R21AutoContrast4,160—
R22Equalize3,9766,388
R23Erasing4,7266,293
R24JpegCompression3,8686,340
R25RandomGamma4,5866,427
R26PlankianJitter4,340—
R27MedianBlur3,7585,080
R28MotionBlur4,213—
R29CLAHE3,1095,955
R30Brightness4,6336,344
R31Contrast4,3806,300
R32Blur4,8516,349
R33ChannelDropout4,7326,289
R34LinearIllumination3,826—
R35CornerIllumination3,991—
R36GaussianIllumination3,789—
R37Hue4,0646,357
R38PlasmaBrightness2,603—
R39PlasmaContrast2,202—
R40PlasmaShadow2,502—
R41Rain3,979—
R42SaltAndPepper4,7506,332
R43Saturation4,3546,323
R44Snow3,733—
R45OpticalDistortion3,817—
R46Shear3,7566,436
R47ThinPlateSpline3,139—
R48PhotoMetricDistort3,482—
R49ColorJiggle3,6403,461
R50LongestMaxSize+RandomCrop2243,7295,023
R51SmallestMaxSize+RandomCrop2243,1875,025
R52Transpose4,9456,383
R53RandomRotate904,8466,383
R54RandomJigsaw4,442—
R55EnhanceEdge4,480—
R56EnhanceDetail4,412—
R57UnsharpMask4,252—
R58CenterCrop4,6586,506
R59Resize256+Crop4,5955,091
R60Resize224+CropAndPad4,2845,066
R61LetterBox4,6495,054
R62PadIfNeeded+RandomCrop2244,4045,007
R63Resize224+ChannelSwap4,5695,063
R64Resize224+Colorize4,2675,058
R65Resize224+Dithering895—
R66Resize224+MorphologicalDilation4,4965,049
R67Resize224+MorphologicalErosion4,4295,073
R68RandomScale+RandomCrop2243,6634,966
R69Resize224+RandomSizedCrop4,3135,022
R70Resize224+CoarseDropout4,3625,031
R71Resize224+Emboss4,1595,042
R72Resize224+PixelSpread3,5245,083
R73Resize224+ShiftScaleRotate3,8425,067

Measurement setup and limits

When a batch arrives late, the GPU sits idle and completes fewer steps in the same time.
When a batch arrives late, the GPU sits idle and completes fewer steps in the same time. Scroll horizontally to see the full chart. Open the image for full size.

The timeline illustrates input stalls with a fixed model step duration.

g2-standard-16, nvidia-l4; 10,000 selected ImageNet JPEGs. Batch size 256, 15 workers, prefetch factor 2; persistent workers enabled. Output: cuda float16, BCHW 256×3×224×224.

Seeds: 137, 138, 139. Each observation follows 1 warm-up batch and times 32 batches, ending with CUDA synchronization. Pipeline construction and worker startup are outside throughput timing; prefetch effects remain. JPEG files are prewarmed, so this measures filesystem reads and decoding with a warm page cache.

NVML samples peak process GPU memory every 50 ms, from pipeline construction through final synchronization and cleanup. Brief peaks can be missed. The measurements include no model and do not establish training speed or augmentation quality. Seeds do not guarantee identical augmentation draws across libraries. Observed ranges describe variation between runs; they are not confidence intervals.

Run 03b5fd6c6fab74fd1029fc88012e03cb4b51d0a2e3c4b8be59ead6928efae6ee · 1323 measurements · measured source 3859d93 · machine-readable results · paper and methodology. This selected run differs from the paper's frozen results.

Related Pages