AlbumentationsX vs Torchvision Benchmark
Compare JPEG-to-CUDA throughput and peak GPU memory. The Summary page covers library tradeoffs, and the Transform Mapping page covers supported operations.
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.
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.
Higher throughput is better. Values are medians across seeds. Hover for the observed range. A dash means no measured result.
| R01Resize224 | 3,193 | 2,694 | 3,084 |
|---|---|---|---|
| R02RandomCrop224 | 3,418 | 2,976 | 3,849 |
| R03RandomResizedCrop | 3,161 | 2,529 | 2,101 |
| R04HorizontalFlip | 3,390 | 2,891 | 3,023 |
| R05VerticalFlip | 3,245 | 2,921 | 3,147 |
| R06Pad+RandomCrop224 | 3,225 | 2,577 | 2,704 |
| R07Rotate | 2,923 | 1,690 | 1,169 |
| R08Affine | 2,978 | 1,946 | 1,330 |
| R09Perspective | 2,749 | 1,802 | 888 |
| R10Elastic | 2,101 | 164 | 22 |
| R11ColorJitter | 2,499 | 860 | 635 |
| R12ChannelShuffle | 3,223 | 2,815 | 2,639 |
| R13Grayscale | 3,226 | 2,704 | 2,811 |
| R14RGBShift | 3,036 | — | — |
| R15GaussianBlur | 3,050 | 1,702 | 1,731 |
| R16GaussianNoise | 2,282 | 910 | 2,661 |
| R17Invert | 3,365 | 2,944 | 2,983 |
| R18Posterize | 3,308 | 2,907 | 2,989 |
| R19Solarize | 3,191 | 2,512 | 2,937 |
| R20Sharpen | 3,076 | 1,487 | 2,064 |
| R21AutoContrast | 2,859 | 1,982 | 2,130 |
| R22Equalize | 2,768 | 2,118 | 1,175 |
| R23Erasing | 3,231 | 2,729 | 1,790 |
| R24JpegCompression | 2,865 | 2,398 | 2,095 |
| R25RandomGamma | 3,195 | 2,164 | 3,335 |
| R26PlankianJitter | 3,014 | — | — |
| R27MedianBlur | 2,941 | — | — |
| R28MotionBlur | 2,968 | — | — |
| R29CLAHE | 2,199 | — | — |
| R30Brightness | 3,175 | 2,636 | 3,104 |
| R31Contrast | 3,124 | 2,438 | 2,412 |
| R32Blur | 3,189 | — | — |
| R33ChannelDropout | 3,260 | — | — |
| R34LinearIllumination | 2,738 | — | — |
| R35CornerIllumination | 2,813 | — | — |
| R36GaussianIllumination | 2,662 | — | — |
| R37Hue | 2,737 | 1,008 | 762 |
| R38PlasmaBrightness | 1,792 | — | — |
| R39PlasmaContrast | 1,588 | — | — |
| R40PlasmaShadow | 1,733 | — | — |
| R41Rain | 2,702 | — | — |
| R42SaltAndPepper | 3,166 | — | — |
| R43Saturation | 3,033 | — | — |
| R44Snow | 2,406 | — | — |
| R45OpticalDistortion | 2,721 | — | — |
| R46Shear | 2,957 | 1,987 | 1,381 |
| R47ThinPlateSpline | 2,104 | — | — |
| R48PhotoMetricDistort | 2,439 | 829 | 595 |
| R49ColorJiggle | 2,504 | 860 | 635 |
| R50LongestMaxSize+RandomCrop224 | 2,736 | 2,359 | 2,367 |
| R51SmallestMaxSize+RandomCrop224 | 2,542 | 2,184 | 2,356 |
| R52Transpose | 3,333 | — | — |
| R53RandomRotate90 | 3,249 | 2,926 | 3,297 |
| R54RandomJigsaw | 3,076 | — | — |
| R55EnhanceEdge | 3,095 | — | — |
| R56EnhanceDetail | 3,118 | — | — |
| R57UnsharpMask | 2,928 | — | — |
| R58CenterCrop | 3,409 | 3,012 | 4,796 |
| R59Resize256+Crop | 3,111 | 2,581 | 2,980 |
| R60Resize224+CropAndPad | 3,144 | 2,612 | 2,664 |
| R61LetterBox | 3,151 | — | — |
| R62PadIfNeeded+RandomCrop224 | 3,240 | 2,958 | 3,468 |
| R63Resize224+RGBToBGR | 3,059 | 2,551 | 2,500 |
| R64Resize224+Dithering | 617 | — | — |
| R65Resize224+MorphologicalDilation | 3,082 | — | — |
| R66Resize224+MorphologicalErosion | 3,067 | — | — |
| R67RandomScale+RandomCrop224 | 2,673 | 2,302 | 2,276 |
| R68Resize224+RandomSizedCrop | 3,013 | 2,337 | 1,811 |
| R69Resize224+CoarseDropout | 2,950 | 2,524 | 1,742 |
| R70Resize224+Emboss | 2,925 | — | — |
| R71Resize224+PixelSpread | 2,493 | — | — |
| R72Resize224+ShiftScaleRotate | 2,823 | 1,815 | 1,289 |
Measurement setup and limits
The timeline illustrates input stalls with a fixed model step duration.
g2-standard-16, nvidia-l4; 49,999 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, 140, 141. Each observation follows 30 warm-up batches and times 100 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 d84d75894f2a0b5ad879c5df1c06ca1ec82690486652c62ed50295a241e19a1a · 2105 measurements · measured source fd09812 · machine-readable results · paper and methodology. This is the run reported in the paper.

