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 augmentation runs; normalization runs on GPU for every path.

Mean relative throughput on the same 22 recipes. AlbumentationsX = 1×; higher is faster.
Mean relative throughput on the same 22 recipes. AlbumentationsX = 1×; higher is faster. Scroll horizontally to see the full chart. Open the image for full size.
Same 22 recipes for every row. Throughput is the arithmetic mean of per-recipe ratios to AlbumentationsX; memory is the median of per-recipe peak-memory medians.
Measured pathThroughput / AXGPU memory (MiB)
DALI GPU1.28×2,150
AlbumentationsX CPU1.00×1,852

Each comparison uses its own shared recipe set. Averages from different sets cannot rank all libraries. 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,7515,070
R02RandomCrop2244,7405,029
R03RandomResizedCrop4,7855,091
R04HorizontalFlip4,7234,990
R05VerticalFlip4,9074,992
R06Pad+RandomCrop2244,3974,993
R07Rotate3,3525,025
R08Affine3,0495,031
R09Perspective2,879—
R10Elastic1,990—
R11ColorJitter3,5235,047
R12ChannelShuffle5,026—
R13Grayscale5,157—
R14RGBShift4,348—
R15GaussianBlur4,6794,990
R16GaussianNoise3,2885,025
R17Invert5,076—
R18Posterize5,110—
R19Solarize4,607—
R20Sharpen4,223—
R21AutoContrast4,263—
R22Equalize3,9865,033
R23Erasing4,9385,025
R24JpegCompression4,2324,997
R25RandomGamma4,969—
R26PlankianJitter4,538—
R27MedianBlur3,805—
R28MotionBlur4,223—
R29CLAHE2,3734,840
R30Brightness4,6225,041
R31Contrast4,6425,025
R32Blur4,821—
R33ChannelDropout4,972—
R34LinearIllumination3,866—
R35CornerIllumination4,090—
R36GaussianIllumination3,930—
R37Hue4,2745,047
R38PlasmaBrightness2,461—
R39PlasmaContrast2,162—
R40PlasmaShadow2,489—
R41Rain4,069—
R42SaltAndPepper4,1475,009
R43Saturation4,1365,047
R44Snow3,857—
R45OpticalDistortion3,110—
R46Shear2,6585,052
R47ThinPlateSpline858—
R48PhotoMetricDistort3,369—
R49ColorJiggle3,5264,953
R50LongestMaxSize+RandomCrop2243,658—
R51SmallestMaxSize+RandomCrop2243,221—
R52Transpose4,942—
R53RandomRotate905,002—
R54RandomJigsaw4,662—
R55EnhanceEdge4,389—
R56EnhanceDetail4,720—
R57UnsharpMask3,120—

Measurement setup and limits

Throughput measures batch consumption and final CUDA synchronization. GPU memory is sampled from pipeline construction through cleanup.
Throughput measures batch consumption and final CUDA synchronization. GPU memory is sampled from pipeline construction through cleanup. Scroll horizontally to see the full chart. Open the image for full size.

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.

In this published run, DALI Crop includes resizing the short side, and DALI Affine omits rotation and shear.

Run 3f8e2e315710528399b8e82e2359ab85c58c809644595b68a92fb9d83492cc8c · 759 measurements · measured source 5fc35f6 · machine-readable results · paper and methodology. This is the run reported in the paper.

Related Pages