π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
bench: add Apple M4 CPU and MPS results (#3985)
Yuxuan Zhangb4f5a78a1389
diff --git a/benchmarks/results/0.9.0rc1/augmentation--apple-m4--cpu.json b/benchmarks/results/0.9.0rc1/augmentation--apple-m4--cpu.jsonnew file mode 100644index 000000000..756203361--- /dev/null+++ b/benchmarks/results/0.9.0rc1/augmentation--apple-m4--cpu.json@@ -0,0 +1,953 @@+{+ "metadata": {+ "albumentations": "2.0.8",+ "device": "cpu",+ "git_commit": "f0a06c70",+ "kornia": "0.9.0rc1",+ "kornia_rs": "0.1.10",+ "load": {+ "cpu_count": 10,+ "load_avg_15m": 8.00732421875,+ "load_avg_1m": 5.36279296875,+ "load_avg_5m": 6.30029296875,+ "mem_available_bytes": 9763241984,+ "mem_total_bytes": 34359738368+ },+ "machine": "arm64",+ "numpy": "2.4.0",+ "opencv": "5.0.0",+ "pillow": "12.3.0",+ "platform": "macOS-26.5.1-arm64-arm-64bit-Mach-O",+ "python": "3.13.5",+ "timestamp_utc": "2026-08-18T13:37:17+00:00",+ "torch": "2.9.1",+ "torch_num_threads": 4,+ "torchvision": "0.24.1"+ },+ "results": [+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.7084160170052218,+ "median_us": 24.289708002470434,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 41169.7003479125,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.3601659991545602,+ "median_us": 19.725582998944446,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 50695.58654127039,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.11684350465657223,+ "median_us": 5.239833495579661,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 190845.75890504976,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.07039599586278202,+ "median_us": 4.06887500139419,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 245768.17908079075,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.6053174365661129,+ "median_us": 42.7281250449596,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 23403.788463635487,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 16.793749819044066,+ "median_us": 763.5000001755543,+ "op": "RandomAffine",+ "throughput_per_s": 1309.7576945252997,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.903151006554318,+ "median_us": 527.5374998745974,+ "op": "RandomAffine",+ "throughput_per_s": 1895.599839324623,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 9.23416009754873,+ "median_us": 104.45708001498133,+ "op": "RandomAffine",+ "throughput_per_s": 9573.309916920702,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 17.981224664254135,+ "median_us": 779.6458005032036,+ "op": "RandomPerspective",+ "throughput_per_s": 1282.633728488724,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 59.03073906665668,+ "median_us": 1004.0000051958486,+ "op": "RandomPerspective",+ "throughput_per_s": 996.0159311004502,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.996669981162995,+ "median_us": 100.40541994385421,+ "op": "RandomPerspective",+ "throughput_per_s": 9959.62170726631,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 8.491980115650218,+ "median_us": 214.5933350402629,+ "op": "RandomResizedCrop",+ "throughput_per_s": 4659.976973713447,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.1835399093106216,+ "median_us": 121.26041008741595,+ "op": "RandomResizedCrop",+ "throughput_per_s": 8246.714647254661,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.3908232574758569,+ "median_us": 21.840562505531125,+ "op": "RandomResizedCrop",+ "throughput_per_s": 45786.366525438614,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 36.52187588159021,+ "median_us": 2290.231300867163,+ "op": "ColorJiggle",+ "throughput_per_s": 436.63712028621933,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 33.7083238264313,+ "median_us": 1633.0792001099326,+ "op": "ColorJiggle",+ "throughput_per_s": 612.3401730502011,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.4870850756997047,+ "median_us": 259.1379199293442,+ "op": "ColorJiggle",+ "throughput_per_s": 3858.948934500428,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.357089878292763,+ "median_us": 264.75292004761286,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 3777.1065936502655,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 17.053862393367982,+ "median_us": 336.0964549938217,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 2975.3363510435793,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.2270750085008282,+ "median_us": 110.835000014049,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 9022.420714334317,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.0132325405720561,+ "median_us": 43.54124503151979,+ "op": "RandomBrightness",+ "throughput_per_s": 22966.729575052195,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.0009400284616303,+ "median_us": 41.58374504186213,+ "op": "RandomBrightness",+ "throughput_per_s": 24047.85809919971,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.2786985060083677,+ "median_us": 21.956083503027912,+ "op": "RandomBrightness",+ "throughput_per_s": 45545.463509559544,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3351024972507652,+ "median_us": 47.748329961905256,+ "op": "RandomGrayscale",+ "throughput_per_s": 20943.140855351874,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.18512499809730754,+ "median_us": 26.861374994041398,+ "op": "RandomGrayscale",+ "throughput_per_s": 37228.17615337368,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.311417010379955,+ "median_us": 11.879957994096912,+ "op": "RandomGrayscale",+ "throughput_per_s": 84175.38180664399,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.3560834957170293,+ "median_us": 7.324916492507328,+ "op": "RandomGrayscale",+ "throughput_per_s": 136520.3277092513,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.7637079979758719,+ "median_us": 34.53270900354255,+ "op": "RandomGrayscale",+ "throughput_per_s": 28958.052491549814,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.6603049263940086,+ "median_us": 135.98291494417936,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 58830.92007024544,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.988019922573555,+ "median_us": 130.9983350802213,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 61069.47844108803,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.5012500080047209,+ "median_us": 42.9745799920056,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 186156.560494325,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.37000049633206566,+ "median_us": 32.22491701308172,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 248255.1001373377,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 4.39541996456684,+ "median_us": 345.1675000542309,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 23177.153117669197,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 313.32276557805017,+ "median_us": 5098.083500342909,+ "op": "RandomAffine",+ "throughput_per_s": 1569.2171380601947,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 31.59892403345986,+ "median_us": 2553.3437496051192,+ "op": "RandomAffine",+ "throughput_per_s": 3133.146487321662,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 87.15000003576276,+ "median_us": 802.9667005757801,+ "op": "RandomAffine",+ "throughput_per_s": 9963.053255214036,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 84.33299080934376,+ "median_us": 4964.000007021241,+ "op": "RandomPerspective",+ "throughput_per_s": 1611.6035432482963,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 158.70798961259425,+ "median_us": 4564.58400003612,+ "op": "RandomPerspective",+ "throughput_per_s": 1752.6241164444984,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 83.32817415066526,+ "median_us": 782.1250001143198,+ "op": "RandomPerspective",+ "throughput_per_s": 10228.54402919057,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 17.59687474987034,+ "median_us": 1000.4832998674827,+ "op": "RandomResizedCrop",+ "throughput_per_s": 7996.135468787561,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 47.36239934572946,+ "median_us": 856.3249997678213,+ "op": "RandomResizedCrop",+ "throughput_per_s": 9342.247396921814,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.066460049012693,+ "median_us": 174.50728999392598,+ "op": "RandomResizedCrop",+ "throughput_per_s": 45843.35703269734,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 801.8964981602039,+ "median_us": 18747.97899654368,+ "op": "ColorJiggle",+ "throughput_per_s": 426.7126606806449,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 327.041998389177,+ "median_us": 14225.042003090493,+ "op": "ColorJiggle",+ "throughput_per_s": 562.3884975708291,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 28.98649945564085,+ "median_us": 2112.1666497492697,+ "op": "ColorJiggle",+ "throughput_per_s": 3787.579924600013,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 21.904100867686708,+ "median_us": 1816.4249995606951,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 4404.255613050256,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 113.52149886079133,+ "median_us": 5346.207995899022,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 1496.3877211916658,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 10.483300138730534,+ "median_us": 889.5790990209207,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 8993.01704458308,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 8.702702361915724,+ "median_us": 235.34145497251302,+ "op": "RandomBrightness",+ "throughput_per_s": 33993.161132340116,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.363962448725932,+ "median_us": 237.9750000545755,+ "op": "RandomBrightness",+ "throughput_per_s": 33616.976565459976,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3229101023171022,+ "median_us": 176.01458996068686,+ "op": "RandomBrightness",+ "throughput_per_s": 45450.777698523816,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.7552076173596993,+ "median_us": 266.2699999928009,+ "op": "RandomGrayscale",+ "throughput_per_s": 30044.691479386696,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.2435449752956595,+ "median_us": 141.81124992319383,+ "op": "RandomGrayscale",+ "throughput_per_s": 56413.01380766948,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.3445799888577254,+ "median_us": 98.57999990344979,+ "op": "RandomGrayscale",+ "throughput_per_s": 81152.36364207018,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.43385505705373334,+ "median_us": 57.89103997813072,+ "op": "RandomGrayscale",+ "throughput_per_s": 138190.64233467096,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3954199675935883,+ "median_us": 275.43624993995763,+ "op": "RandomGrayscale",+ "throughput_per_s": 29044.83342967355,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 29.295849526533793,+ "median_us": 806.1958011239767,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 39692.590752006465,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 36.542748784995574,+ "median_us": 808.9229006145615,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 39558.77621425812,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 4.008230062026998,+ "median_us": 178.70813004265074,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 179062.92227646743,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3575024422607644,+ "median_us": 135.39395498810336,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 236347.33177571878,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 22.25934913440146,+ "median_us": 1430.6020995718425,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 22368.204275372667,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 814.3739978550002,+ "median_us": 20268.500011297874,+ "op": "RandomAffine",+ "throughput_per_s": 1578.8045480505643,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 820.7500068238005,+ "median_us": 9687.50000174623,+ "op": "RandomAffine",+ "throughput_per_s": 3303.2258058561865,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 492.70849194726907,+ "median_us": 3262.2500002617016,+ "op": "RandomAffine",+ "throughput_per_s": 9809.180779349505,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 214.917010453064,+ "median_us": 19897.707999916747,+ "op": "RandomPerspective",+ "throughput_per_s": 1608.2254297898978,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 588.333004998276,+ "median_us": 17455.541499657556,+ "op": "RandomPerspective",+ "throughput_per_s": 1833.2287199814327,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 126.22500071302056,+ "median_us": 3069.816700008232,+ "op": "RandomPerspective",+ "throughput_per_s": 10424.07515729333,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 111.7919891839847,+ "median_us": 3693.7080003554,+ "op": "RandomResizedCrop",+ "throughput_per_s": 8663.381078558736,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 493.8457499520151,+ "median_us": 3820.4771000891924,+ "op": "RandomResizedCrop",+ "throughput_per_s": 8375.917237994421,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 16.727000183891548,+ "median_us": 693.2145493919961,+ "op": "RandomResizedCrop",+ "throughput_per_s": 46161.754723795864,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1839.50099744834,+ "median_us": 77314.70800354145,+ "op": "ColorJiggle",+ "throughput_per_s": 413.8927873663342,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 655.8750028489158,+ "median_us": 60075.95801202115,+ "op": "ColorJiggle",+ "throughput_per_s": 532.6590046819865,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 141.8542378814891,+ "median_us": 8644.792003906332,+ "op": "ColorJiggle",+ "throughput_per_s": 3701.6506568972536,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 209.3740040436387,+ "median_us": 8047.66699729953,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 3976.3076691341603,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 553.4374940907583,+ "median_us": 17128.625499026384,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 1868.2176221214554,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 91.56249871011823,+ "median_us": 3586.937498766929,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 8921.25943398806,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 55.224999960046176,+ "median_us": 1345.6041997415014,+ "op": "RandomBrightness",+ "throughput_per_s": 23781.138618731566,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 61.45209990791054,+ "median_us": 1194.3916993914172,+ "op": "RandomBrightness",+ "throughput_per_s": 26791.88076767871,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 20.15829959418631,+ "median_us": 736.2749995081685,+ "op": "RandomBrightness",+ "throughput_per_s": 43462.02169213404,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 18.76255046227024,+ "median_us": 1101.2957998900674,+ "op": "RandomGrayscale",+ "throughput_per_s": 29056.680324390847,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 36.62507369881494,+ "median_us": 566.9167003361508,+ "op": "RandomGrayscale",+ "throughput_per_s": 56445.68237454592,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 26.252150564687337,+ "median_us": 483.9645996980834,+ "op": "RandomGrayscale",+ "throughput_per_s": 66120.53860956542,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3927048712503056,+ "median_us": 233.5004199994728,+ "op": "RandomGrayscale",+ "throughput_per_s": 137044.7213759712,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 43.66670036688443,+ "median_us": 1120.4916998394765,+ "op": "RandomGrayscale",+ "throughput_per_s": 28558.890712518776,+ "width": 256+ }+ ]+}diff --git a/benchmarks/results/0.9.0rc1/augmentation--apple-m4--mps.json b/benchmarks/results/0.9.0rc1/augmentation--apple-m4--mps.jsonnew file mode 100644index 000000000..f46e553fd--- /dev/null+++ b/benchmarks/results/0.9.0rc1/augmentation--apple-m4--mps.json@@ -0,0 +1,953 @@+{+ "metadata": {+ "albumentations": "2.0.8",+ "device": "mps",+ "git_commit": "f0a06c70",+ "kornia": "0.9.0rc1",+ "kornia_rs": "0.1.10",+ "load": {+ "cpu_count": 10,+ "load_avg_15m": 7.943359375,+ "load_avg_1m": 6.90771484375,+ "load_avg_5m": 6.64111328125,+ "mem_available_bytes": 9695756288,+ "mem_total_bytes": 34359738368+ },+ "machine": "arm64",+ "numpy": "2.4.0",+ "opencv": "5.0.0",+ "pillow": "12.3.0",+ "platform": "macOS-26.5.1-arm64-arm-64bit-Mach-O",+ "python": "3.13.5",+ "timestamp_utc": "2026-08-18T13:39:02+00:00",+ "torch": "2.9.1",+ "torch_num_threads": 4,+ "torchvision": "0.24.1"+ },+ "results": [+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 9.583003702573478,+ "median_us": 222.04199922271073,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 4503.65247791247,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 23.970104957697917,+ "median_us": 201.84104003419637,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 4954.393813223405,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.11954200454056264,+ "median_us": 5.277709002257325,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 189476.15330293708,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.05250098183751144,+ "median_us": 4.085958993528038,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 244740.58637983195,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.6181198841659352,+ "median_us": 43.07291492295917,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 23216.445921726317,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 308.65551525494084,+ "median_us": 3341.6255027987063,+ "op": "RandomAffine",+ "throughput_per_s": 299.25555666320827,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 67.14550545439124,+ "median_us": 1107.0420005125925,+ "op": "RandomAffine",+ "throughput_per_s": 903.3080944869039,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 7.776249840389942,+ "median_us": 102.89874990121461,+ "op": "RandomAffine",+ "throughput_per_s": 9718.29104785068,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 140.93648496782407,+ "median_us": 2187.749996664934,+ "op": "RandomPerspective",+ "throughput_per_s": 457.09061891186263,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 96.41599899623543,+ "median_us": 1503.9580030133948,+ "op": "RandomPerspective",+ "throughput_per_s": 664.9121837154742,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 7.398955058306447,+ "median_us": 97.84833498997614,+ "op": "RandomPerspective",+ "throughput_per_s": 10219.897968651616,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 94.37500557396561,+ "median_us": 1456.7500038538128,+ "op": "RandomResizedCrop",+ "throughput_per_s": 686.4595828759316,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 22.025835060048866,+ "median_us": 190.81833001109771,+ "op": "RandomResizedCrop",+ "throughput_per_s": 5240.586687567392,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.4690932619269,+ "median_us": 21.864770504180342,+ "op": "RandomResizedCrop",+ "throughput_per_s": 45735.67327444893,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 280.8652425301261,+ "median_us": 3685.8544990536757,+ "op": "ColorJiggle",+ "throughput_per_s": 271.307508274335,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 84.28075307165273,+ "median_us": 912.3329946305603,+ "op": "ColorJiggle",+ "throughput_per_s": 1096.0910170797226,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.277300020272395,+ "median_us": 262.7929150185082,+ "op": "ColorJiggle",+ "throughput_per_s": 3805.277626794357,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 86.52050019009039,+ "median_us": 1099.290995625779,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 909.6772410391145,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 20.332998246885836,+ "median_us": 350.83300463156775,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 2850.3589650870053,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.467087422497577,+ "median_us": 111.22708507173229,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 8990.615903986718,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 25.000001187436283,+ "median_us": 638.1249986588955,+ "op": "RandomBrightness",+ "throughput_per_s": 1567.091090462892,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 22.765102512494156,+ "median_us": 262.8545849438524,+ "op": "RandomBrightness",+ "throughput_per_s": 3804.384847285837,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.27950050207437116,+ "median_us": 22.15004150639288,+ "op": "RandomBrightness",+ "throughput_per_s": 45146.642263012596,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 31.49999974993989,+ "median_us": 474.1249867947772,+ "op": "RandomGrayscale",+ "throughput_per_s": 2109.148490064383,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 21.176977570576113,+ "median_us": 218.48145996045787,+ "op": "RandomGrayscale",+ "throughput_per_s": 4577.047407963066,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.13429099635686564,+ "median_us": 11.828125003376044,+ "op": "RandomGrayscale",+ "throughput_per_s": 84544.25360862985,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.2198124893766356,+ "median_us": 7.289041495823767,+ "op": "RandomGrayscale",+ "throughput_per_s": 137192.2495670997,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.7605410064570604,+ "median_us": 34.40650000993628,+ "op": "RandomGrayscale",+ "throughput_per_s": 29064.27563719673,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 25.29300400055945,+ "median_us": 415.0830063736066,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 19273.253487037204,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 18.906250043073662,+ "median_us": 415.98833005991764,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 19231.308721683865,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.8544850061298375,+ "median_us": 42.51270496752113,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 188179.03979791084,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.22735399397788514,+ "median_us": 32.32016699621454,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 247523.47353084505,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 4.418340104166412,+ "median_us": 347.00667005381547,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 23054.311891927962,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 314.5417504129,+ "median_us": 4505.916498601437,+ "op": "RandomAffine",+ "throughput_per_s": 1775.4434647164612,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 111.70799552928656,+ "median_us": 1807.5829866575077,+ "op": "RandomAffine",+ "throughput_per_s": 4425.799567185129,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 65.80004992429156,+ "median_us": 813.029200071469,+ "op": "RandomAffine",+ "throughput_per_s": 9839.7449923038,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1447.938004275784,+ "median_us": 3953.3329982077703,+ "op": "RandomPerspective",+ "throughput_per_s": 2023.608940513428,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1281.5722438972443,+ "median_us": 2764.83349443879,+ "op": "RandomPerspective",+ "throughput_per_s": 2893.4834651313613,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 61.616698803845644,+ "median_us": 759.1020999825558,+ "op": "RandomPerspective",+ "throughput_per_s": 10538.76678800367,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 129.33301331941038,+ "median_us": 1773.2499982230365,+ "op": "RandomResizedCrop",+ "throughput_per_s": 4511.490206128156,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 26.39801994519075,+ "median_us": 303.5829199507134,+ "op": "RandomResizedCrop",+ "throughput_per_s": 26351.943651173784,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 5.068340105935927,+ "median_us": 178.42957997345366,+ "op": "RandomResizedCrop",+ "throughput_per_s": 44835.61526732407,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 560.9785148408264,+ "median_us": 12475.75000161305,+ "op": "ColorJiggle",+ "throughput_per_s": 641.2440133030592,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 155.53099729004316,+ "median_us": 6483.479002781678,+ "op": "ColorJiggle",+ "throughput_per_s": 1233.9054382018778,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 14.982274296926075,+ "median_us": 2117.6062000449747,+ "op": "ColorJiggle",+ "throughput_per_s": 3777.8506692274004,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 97.85373549675569,+ "median_us": 1701.6250058077276,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 4701.388362709537,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 26.833004085347056,+ "median_us": 735.7499998761341,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 10873.258581511147,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 12.082299144822152,+ "median_us": 893.5687503253575,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 8952.86456368032,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 70.87449557729997,+ "median_us": 1105.9789976570755,+ "op": "RandomBrightness",+ "throughput_per_s": 7233.410414616674,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 32.961500983219615,+ "median_us": 524.1771003056783,+ "op": "RandomBrightness",+ "throughput_per_s": 15262.017351263023,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.5599998955149212,+ "median_us": 177.4462500179652,+ "op": "RandomBrightness",+ "throughput_per_s": 45084.074750467,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 215.10449369088747,+ "median_us": 788.5209925007075,+ "op": "RandomGrayscale",+ "throughput_per_s": 10145.576434977185,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 179.17605000548062,+ "median_us": 519.2583499592728,+ "op": "RandomGrayscale",+ "throughput_per_s": 15406.589033430982,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.9483350479276775,+ "median_us": 97.71083001396619,+ "op": "RandomGrayscale",+ "throughput_per_s": 81874.24054075203,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.4776023706654081,+ "median_us": 58.93812995054759,+ "op": "RandomGrayscale",+ "throughput_per_s": 135735.55874121643,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 4.592910081555621,+ "median_us": 279.8843799973838,+ "op": "RandomGrayscale",+ "throughput_per_s": 28583.231404606355,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 58.20898513775319,+ "median_us": 888.7500007404014,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 36005.62584904797,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 41.99069990136191,+ "median_us": 887.2229009284638,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 36067.599209299646,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.3058400731533713,+ "median_us": 176.44749997998588,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 181357.0609027031,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.6801025160239034,+ "median_us": 136.00937505543698,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 235277.89894598743,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 21.135399947525002,+ "median_us": 1402.1625494933685,+ "op": "RandomHorizontalFlip",+ "throughput_per_s": 22821.890380371584,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 417.73999691940844,+ "median_us": 8474.583504721522,+ "op": "RandomAffine",+ "throughput_per_s": 3775.996776970992,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 261.58400578424335,+ "median_us": 3779.416991164908,+ "op": "RandomAffine",+ "throughput_per_s": 8466.914361343554,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 388.70799471624196,+ "median_us": 3228.4160115523264,+ "op": "RandomAffine",+ "throughput_per_s": 9911.981567893838,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 339.45774703170173,+ "median_us": 8475.667003949638,+ "op": "RandomPerspective",+ "throughput_per_s": 3775.5140669268962,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 296.6249958262779,+ "median_us": 6309.1250049183145,+ "op": "RandomPerspective",+ "throughput_per_s": 5072.018699115047,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 417.45800990611315,+ "median_us": 3148.3749917242676,+ "op": "RandomPerspective",+ "throughput_per_s": 10163.973505098447,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 343.16749224672094,+ "median_us": 2998.7500092829578,+ "op": "RandomResizedCrop",+ "throughput_per_s": 10671.112930701296,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 51.46254916326147,+ "median_us": 514.2333502590191,+ "op": "RandomResizedCrop",+ "throughput_per_s": 62228.55826811236,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 20.156300888629673,+ "median_us": 706.5291494654957,+ "op": "RandomResizedCrop",+ "throughput_per_s": 45291.83265008766,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1000.6259835790843,+ "median_us": 47587.707987986505,+ "op": "ColorJiggle",+ "throughput_per_s": 672.4425561339997,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 591.8329989071935,+ "median_us": 27463.2499931613,+ "op": "ColorJiggle",+ "throughput_per_s": 1165.1934861303164,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 292.5415101344697,+ "median_us": 8618.874999228865,+ "op": "ColorJiggle",+ "throughput_per_s": 3712.7815408464626,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 198.18700093310326,+ "median_us": 3650.3750015981495,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 8766.222644520156,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 73.70799721684307,+ "median_us": 1857.3330016806722,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 17229.005230103427,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 36.12080035964027,+ "median_us": 3565.8084001624957,+ "op": "RandomGaussianBlur",+ "throughput_per_s": 8974.122108900116,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 115.29100447660312,+ "median_us": 2144.6669998113066,+ "op": "RandomBrightness",+ "throughput_per_s": 14920.731285003892,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 70.18545002210894,+ "median_us": 1471.4000004460104,+ "op": "RandomBrightness",+ "throughput_per_s": 21747.995100108856,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 13.802024841424966,+ "median_us": 732.6666498556733,+ "op": "RandomBrightness",+ "throughput_per_s": 43676.070155921014,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 80.95798330032267,+ "median_us": 1834.0629976592027,+ "op": "RandomGrayscale",+ "throughput_per_s": 17447.60133149259,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 107.8311499441043,+ "median_us": 1187.8146004164591,+ "op": "RandomGrayscale",+ "throughput_per_s": 26940.231235396917,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 10.221665106655497,+ "median_us": 397.4035399733111,+ "op": "RandomGrayscale",+ "throughput_per_s": 80522.68483101348,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.2170900047058053,+ "median_us": 235.4570900206454,+ "op": "RandomGrayscale",+ "throughput_per_s": 135905.8671675343,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 11.280199396423866,+ "median_us": 1114.8541503644083,+ "op": "RandomGrayscale",+ "throughput_per_s": 28703.306158514348,+ "width": 256+ }+ ]+}diff --git a/benchmarks/results/0.9.0rc1/filters--apple-m4--cpu.json b/benchmarks/results/0.9.0rc1/filters--apple-m4--cpu.jsonnew file mode 100644index 000000000..500d59a59--- /dev/null+++ b/benchmarks/results/0.9.0rc1/filters--apple-m4--cpu.json@@ -0,0 +1,656 @@+{+ "metadata": {+ "albumentations": "2.0.8",+ "device": "cpu",+ "git_commit": "f0a06c70",+ "kornia": "0.9.0rc1",+ "kornia_rs": "0.1.10",+ "load": {+ "cpu_count": 10,+ "load_avg_15m": 7.8115234375,+ "load_avg_1m": 6.64013671875,+ "load_avg_5m": 6.70654296875,+ "mem_available_bytes": 9104031744,+ "mem_total_bytes": 34359738368+ },+ "machine": "arm64",+ "numpy": "2.4.0",+ "opencv": "5.0.0",+ "pillow": "12.3.0",+ "platform": "macOS-26.5.1-arm64-arm-64bit-Mach-O",+ "python": "3.13.5",+ "timestamp_utc": "2026-08-18T13:40:53+00:00",+ "torch": "2.9.1",+ "torch_num_threads": 4,+ "torchvision": "0.24.1"+ },+ "results": [+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 13.47899524262175,+ "median_us": 252.62500275857747,+ "op": "gaussian_blur2d",+ "throughput_per_s": 3958.4363743902886,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 11.654225090751424,+ "median_us": 337.9187997779809,+ "op": "gaussian_blur2d",+ "throughput_per_s": 2959.2908138198263,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.916997229680419,+ "median_us": 114.49999874457717,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8733.62454990735,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.832917464023922,+ "median_us": 51.504999937606044,+ "op": "gaussian_blur2d",+ "throughput_per_s": 19415.590742867982,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 11.83757558465004,+ "median_us": 743.118699756451,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1345.6800378294063,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 11.020801321137686,+ "median_us": 458.74170027673244,+ "op": "sobel",+ "throughput_per_s": 2179.875950664083,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.5697875531040988,+ "median_us": 174.22333497961517,+ "op": "sobel",+ "throughput_per_s": 5739.759258522999,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.993749993853269,+ "median_us": 345.73165990877897,+ "op": "laplacian",+ "throughput_per_s": 2892.4166223707984,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 5.364370008464919,+ "median_us": 183.2862499577459,+ "op": "laplacian",+ "throughput_per_s": 5455.946642099646,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 848.1870027026162,+ "median_us": 54224.91599165369,+ "op": "median_blur",+ "throughput_per_s": 18.441706763619887,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 20.110625009692757,+ "median_us": 111.90854500455316,+ "op": "median_blur",+ "throughput_per_s": 8935.868123022363,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 14.422715030377727,+ "median_us": 101.56167001696303,+ "op": "median_blur",+ "throughput_per_s": 9846.234310965723,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 150.26100663817488,+ "median_us": 33454.1455085855,+ "op": "median_blur",+ "throughput_per_s": 29.8916616998442,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.8833015928976238,+ "median_us": 332.8917009639554,+ "op": "box_blur",+ "throughput_per_s": 3003.979964367683,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.7211449701571848,+ "median_us": 35.23457999108359,+ "op": "box_blur",+ "throughput_per_s": 28381.209602982595,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.4489997518248914,+ "median_us": 31.495416995312556,+ "op": "box_blur",+ "throughput_per_s": 31750.651218519488,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.5629099875222154,+ "median_us": 290.49834003672004,+ "op": "box_blur",+ "throughput_per_s": 3442.360461934469,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 122.37500050105155,+ "median_us": 7652.832995518111,+ "op": "canny",+ "throughput_per_s": 130.67056351362314,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 5.965009913779814,+ "median_us": 191.26749990391545,+ "op": "canny",+ "throughput_per_s": 5228.279767876701,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 142.90674880612642,+ "median_us": 2502.0629982464015,+ "op": "gaussian_blur2d",+ "throughput_per_s": 3197.3615395003594,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 94.62524758419022,+ "median_us": 5307.978499331512,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1507.1651102218148,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.747925075003921,+ "median_us": 900.1145503134467,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8887.757671747626,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 37.15217535500416,+ "median_us": 409.139600378694,+ "op": "gaussian_blur2d",+ "throughput_per_s": 19553.228268775034,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 33.46750600030646,+ "median_us": 5960.645998129621,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1342.1364064415675,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 76.59364928258627,+ "median_us": 3725.204100192059,+ "op": "sobel",+ "throughput_per_s": 2147.5333390692736,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.8125253164905315,+ "median_us": 1394.3229001597501,+ "op": "sobel",+ "throughput_per_s": 5737.551896396039,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 107.7605047612451,+ "median_us": 5362.937503377907,+ "op": "laplacian",+ "throughput_per_s": 1491.7197888211656,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 14.789551278226922,+ "median_us": 1476.8938002816867,+ "op": "laplacian",+ "throughput_per_s": 5416.774041893986,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6626.249494729564,+ "median_us": 465630.5000098655,+ "op": "median_blur",+ "throughput_per_s": 17.181005109911187,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 133.37609962036365,+ "median_us": 888.2708505552728,+ "op": "median_blur",+ "throughput_per_s": 9006.261992047885,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 97.72080084076147,+ "median_us": 835.2207994903438,+ "op": "median_blur",+ "throughput_per_s": 9578.305526971602,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3241.5519999631215,+ "median_us": 268214.3544952851,+ "op": "median_blur",+ "throughput_per_s": 29.826889821218092,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 85.87601769249886,+ "median_us": 5299.9589970568195,+ "op": "box_blur",+ "throughput_per_s": 1509.4456399460016,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.8673000633716494,+ "median_us": 279.37938008108176,+ "op": "box_blur",+ "throughput_per_s": 28634.89781414159,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.227499983040553,+ "median_us": 252.88604498200587,+ "op": "box_blur",+ "throughput_per_s": 31634.80215197023,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 46.41034975065876,+ "median_us": 2420.30005028937,+ "op": "box_blur",+ "throughput_per_s": 3305.3752980104773,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1081.5517525770701,+ "median_us": 90079.85450443812,+ "op": "canny",+ "throughput_per_s": 88.81009015845879,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 39.30005077563709,+ "median_us": 1920.0187998649199,+ "op": "canny",+ "throughput_per_s": 4166.625868748175,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1368.6252532352228,+ "median_us": 28435.562504455447,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1125.3513973914198,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 396.97826287010685,+ "median_us": 17193.000006955117,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1861.2225898362694,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 48.90674972557463,+ "median_us": 3626.770499977283,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8823.276796863887,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 70.93750027706834,+ "median_us": 1632.8291996615008,+ "op": "gaussian_blur2d",+ "throughput_per_s": 19597.885686165995,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 260.6049893074669,+ "median_us": 23934.625001857057,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1336.9751979618297,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 348.56200363719836,+ "median_us": 15780.31249664491,+ "op": "sobel",+ "throughput_per_s": 2027.8432386433155,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 60.79199374653399,+ "median_us": 5605.7920010061935,+ "op": "sobel",+ "throughput_per_s": 5708.381615703234,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 294.04150700429454,+ "median_us": 17206.125005031936,+ "op": "laplacian",+ "throughput_per_s": 1859.802831296506,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 65.45899668708444,+ "median_us": 5904.457997530699,+ "op": "laplacian",+ "throughput_per_s": 5419.633777288738,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.0,+ "median_us": 1952075.4580007633,+ "op": "median_blur",+ "throughput_per_s": 16.392808930026252,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1284.3750009778887,+ "median_us": 3237.0840053772554,+ "op": "median_blur",+ "throughput_per_s": 9885.4400895508,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 865.3960030642338,+ "median_us": 3361.1664912314154,+ "op": "median_blur",+ "throughput_per_s": 9520.504290246065,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.0,+ "median_us": 1073035.000008531,+ "op": "median_blur",+ "throughput_per_s": 29.82195361730567,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 287.2500044759363,+ "median_us": 16965.83299781196,+ "op": "box_blur",+ "throughput_per_s": 1886.1437575229559,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 14.270801329985261,+ "median_us": 1120.7042000023648,+ "op": "box_blur",+ "throughput_per_s": 28553.47557360138,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 7.01669923728319,+ "median_us": 1009.8750004544853,+ "op": "box_blur",+ "throughput_per_s": 31687.08997212396,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 257.2184894233942,+ "median_us": 9397.333000379149,+ "op": "box_blur",+ "throughput_per_s": 3405.2214600364714,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1112.707999709528,+ "median_us": 452713.04200286977,+ "op": "canny",+ "throughput_per_s": 70.68495278692932,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 245.83326376159675,+ "median_us": 7937.499998661224,+ "op": "canny",+ "throughput_per_s": 4031.496063672097,+ "width": 256+ }+ ]+}diff --git a/benchmarks/results/0.9.0rc1/filters--apple-m4--mps.json b/benchmarks/results/0.9.0rc1/filters--apple-m4--mps.jsonnew file mode 100644index 000000000..092e0a728--- /dev/null+++ b/benchmarks/results/0.9.0rc1/filters--apple-m4--mps.json@@ -0,0 +1,656 @@+{+ "metadata": {+ "albumentations": "2.0.8",+ "device": "mps",+ "git_commit": "f0a06c70",+ "kornia": "0.9.0rc1",+ "kornia_rs": "0.1.10",+ "load": {+ "cpu_count": 10,+ "load_avg_15m": 7.82177734375,+ "load_avg_1m": 7.86767578125,+ "load_avg_5m": 7.0068359375,+ "mem_available_bytes": 9815982080,+ "mem_total_bytes": 34359738368+ },+ "machine": "arm64",+ "numpy": "2.4.0",+ "opencv": "5.0.0",+ "pillow": "12.3.0",+ "platform": "macOS-26.5.1-arm64-arm-64bit-Mach-O",+ "python": "3.13.5",+ "timestamp_utc": "2026-08-18T13:42:15+00:00",+ "torch": "2.9.1",+ "torch_num_threads": 4,+ "torchvision": "0.24.1"+ },+ "results": [+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 120.61425877618603,+ "median_us": 1137.291495979298,+ "op": "gaussian_blur2d",+ "throughput_per_s": 879.2820517302127,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 10.187497537117451,+ "median_us": 342.41599496454,+ "op": "gaussian_blur2d",+ "throughput_per_s": 2920.4243221861125,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.184580007451591,+ "median_us": 112.08896001335233,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8921.485219247974,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 3.7320850969990658,+ "median_us": 51.232090045232326,+ "op": "gaussian_blur2d",+ "throughput_per_s": 19519.016286805974,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.8791750082744847,+ "median_us": 744.9812001141254,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1342.3157521918777,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 17.291997210122645,+ "median_us": 577.2500007878989,+ "op": "sobel",+ "throughput_per_s": 1732.351665023962,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.3791574636125201,+ "median_us": 174.45062498154584,+ "op": "sobel",+ "throughput_per_s": 5732.280982689425,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 13.145509001333266,+ "median_us": 300.9999927598983,+ "op": "laplacian",+ "throughput_per_s": 3322.2592161245666,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.2372950004646641,+ "median_us": 181.96959004853852,+ "op": "laplacian",+ "throughput_per_s": 5495.423711913953,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 5664.436997903977,+ "median_us": 346430.99999811966,+ "op": "median_blur",+ "throughput_per_s": 2.886577702357548,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 12.916464984300545,+ "median_us": 114.144589897478,+ "op": "median_blur",+ "throughput_per_s": 8760.81819469654,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 13.929579872637992,+ "median_us": 104.76915995241143,+ "op": "median_blur",+ "throughput_per_s": 9544.793529452973,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 176.93725385470316,+ "median_us": 33446.041503339075,+ "op": "median_blur",+ "throughput_per_s": 29.898904475740885,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 15.999990864656866,+ "median_us": 433.8750004535541,+ "op": "box_blur",+ "throughput_per_s": 2304.8112911659887,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.31016599677969203,+ "median_us": 35.11512499244418,+ "op": "box_blur",+ "throughput_per_s": 28477.757097979087,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.1147604998550316,+ "median_us": 31.487854001170486,+ "op": "box_blur",+ "throughput_per_s": 31758.277333311675,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.950209964183183,+ "median_us": 288.5587500350084,+ "op": "box_blur",+ "throughput_per_s": 3465.4987931527926,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 575.2499928348698,+ "median_us": 5455.791993881576,+ "op": "canny",+ "throughput_per_s": 183.29144533395973,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 10.322297421225805,+ "median_us": 192.6995850226376,+ "op": "canny",+ "throughput_per_s": 5189.4247716336495,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 118.97850345121697,+ "median_us": 1738.16698952578,+ "op": "gaussian_blur2d",+ "throughput_per_s": 4602.549725203688,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 19.667244487209246,+ "median_us": 727.1455033333041,+ "op": "gaussian_blur2d",+ "throughput_per_s": 11001.92459875945,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 8.316699677379802,+ "median_us": 901.716599764768,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8871.967092639718,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 33.675000304356196,+ "median_us": 406.30829898873344,+ "op": "gaussian_blur2d",+ "throughput_per_s": 19689.4821491742,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 139.76048649055883,+ "median_us": 5974.937506834976,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1338.9261378631109,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 104.49999535921961,+ "median_us": 1856.9170060800388,+ "op": "sobel",+ "throughput_per_s": 4308.216238962688,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 5.305225204210685,+ "median_us": 1392.9604494478554,+ "op": "sobel",+ "throughput_per_s": 5743.163779826668,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 28.9239742414793,+ "median_us": 734.1687494772486,+ "op": "laplacian",+ "throughput_per_s": 10896.677372465463,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 45.70415039779614,+ "median_us": 1491.4540995960124,+ "op": "laplacian",+ "throughput_per_s": 5363.892862788702,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.0,+ "median_us": 2744905.750005273,+ "op": "median_blur",+ "throughput_per_s": 2.9144898690909993,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 103.91662617621473,+ "median_us": 915.0500503892545,+ "op": "median_blur",+ "throughput_per_s": 8742.691174758002,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 96.65624929766636,+ "median_us": 846.9854001305066,+ "op": "median_blur",+ "throughput_per_s": 9445.263163647604,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 8829.99025270692,+ "median_us": 278754.9790009507,+ "op": "median_blur",+ "throughput_per_s": 28.69903895052119,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 71.66700379457325,+ "median_us": 879.166997037828,+ "op": "box_blur",+ "throughput_per_s": 9099.522646953708,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.345422424492448,+ "median_us": 280.90479005186353,+ "op": "box_blur",+ "throughput_per_s": 28479.400435012012,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.453962515573888,+ "median_us": 252.40895993192677,+ "op": "box_blur",+ "throughput_per_s": 31694.595953160908,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 44.30830085766502,+ "median_us": 2342.633299122099,+ "op": "box_blur",+ "throughput_per_s": 3414.960422101913,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2026.7919899197295,+ "median_us": 27646.999995340593,+ "op": "canny",+ "throughput_per_s": 289.36231784093235,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 77.17499975115052,+ "median_us": 2021.762500226032,+ "op": "canny",+ "throughput_per_s": 3956.9435080063085,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 222.1452559751924,+ "median_us": 3717.437502928078,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8608.080155966272,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 71.95900252554566,+ "median_us": 1892.6250049844384,+ "op": "gaussian_blur2d",+ "throughput_per_s": 16907.73392284496,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 24.44725760142319,+ "median_us": 3630.2290100138634,+ "op": "gaussian_blur2d",+ "throughput_per_s": 8814.87088327736,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 58.50634952366809,+ "median_us": 1640.6875001848675,+ "op": "gaussian_blur2d",+ "throughput_per_s": 19504.01889232065,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 341.62524752900936,+ "median_us": 23981.208498298656,+ "op": "gaussian_blur2d",+ "throughput_per_s": 1334.3781236992388,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 148.95849744789302,+ "median_us": 5898.62500783056,+ "op": "sobel",+ "throughput_per_s": 5424.9931055999095,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 61.457991250790656,+ "median_us": 5587.999999988824,+ "op": "sobel",+ "throughput_per_s": 5726.5569076707225,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 87.98437556833939,+ "median_us": 1909.8812495940365,+ "op": "laplacian",+ "throughput_per_s": 16754.96840801066,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 31.520758057013154,+ "median_us": 5885.7290059677325,+ "op": "laplacian",+ "throughput_per_s": 5436.879606171837,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.0,+ "median_us": 10980079.583998304,+ "op": "median_blur",+ "throughput_per_s": 2.914368676037179,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 696.8750130909029,+ "median_us": 3803.562496614177,+ "op": "median_blur",+ "throughput_per_s": 8413.165296609557,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 284.66359945014153,+ "median_us": 3439.4292000797573,+ "op": "median_blur",+ "throughput_per_s": 9303.86937438862,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.0,+ "median_us": 1082136.7080061464,+ "op": "median_blur",+ "throughput_per_s": 29.57112512980037,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 134.91649588104337,+ "median_us": 1980.6250056717545,+ "op": "box_blur",+ "throughput_per_s": 16156.51620491724,+ "width": 256+ },+ {+ "backend": "albumentations",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 45.24995019892218,+ "median_us": 1130.5395506497007,+ "op": "box_blur",+ "throughput_per_s": 28305.06901028821,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 29.09172471845514,+ "median_us": 1017.9562501434701,+ "op": "box_blur",+ "throughput_per_s": 31435.535658325138,+ "width": 256+ },+ {+ "backend": "PIL",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 157.14551409473643,+ "median_us": 9382.625008584,+ "op": "box_blur",+ "throughput_per_s": 3410.55940855824,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1483.239742810838,+ "median_us": 103163.02050341619,+ "op": "canny",+ "throughput_per_s": 310.18866880638046,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 384.79075737996027,+ "median_us": 7906.416511104908,+ "op": "canny",+ "throughput_per_s": 4047.345590136138,+ "width": 256+ }+ ]+}diff --git a/benchmarks/results/0.9.0rc1/geometry--apple-m4--cpu.json b/benchmarks/results/0.9.0rc1/geometry--apple-m4--cpu.jsonnew file mode 100644index 000000000..36408e8c8--- /dev/null+++ b/benchmarks/results/0.9.0rc1/geometry--apple-m4--cpu.json@@ -0,0 +1,425 @@+{+ "metadata": {+ "albumentations": "2.0.8",+ "device": "cpu",+ "git_commit": "f0a06c70",+ "kornia": "0.9.0rc1",+ "kornia_rs": "0.1.10",+ "load": {+ "cpu_count": 10,+ "load_avg_15m": 7.798828125,+ "load_avg_1m": 7.58935546875,+ "load_avg_5m": 7.19970703125,+ "mem_available_bytes": 9895886848,+ "mem_total_bytes": 34359738368+ },+ "machine": "arm64",+ "numpy": "2.4.0",+ "opencv": "5.0.0",+ "pillow": "12.3.0",+ "platform": "macOS-26.5.1-arm64-arm-64bit-Mach-O",+ "python": "3.13.5",+ "timestamp_utc": "2026-08-18T13:44:01+00:00",+ "torch": "2.9.1",+ "torch_num_threads": 4,+ "torchvision": "0.24.1"+ },+ "results": [+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 8.289649122161704,+ "median_us": 716.0084001952782,+ "op": "warp_perspective",+ "throughput_per_s": 1396.6316592476683,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 8.702915074536584,+ "median_us": 79.14624991826713,+ "op": "warp_perspective",+ "throughput_per_s": 12634.837418483901,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 13.436476001516006,+ "median_us": 654.1812501382083,+ "op": "warp_affine",+ "throughput_per_s": 1528.628342357307,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 7.473959849448879,+ "median_us": 76.36479494976811,+ "op": "warp_affine",+ "throughput_per_s": 13095.039417807493,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 17.84170017344873,+ "median_us": 704.1417004074901,+ "op": "rotate",+ "throughput_per_s": 1420.1686953368837,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 5.188960058148965,+ "median_us": 378.18625001818873,+ "op": "rotate",+ "throughput_per_s": 2644.199782387396,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.862489826744421,+ "median_us": 75.39624988567084,+ "op": "rotate",+ "throughput_per_s": 13263.259134457978,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3302125080372251,+ "median_us": 128.63041498349048,+ "op": "resize",+ "throughput_per_s": 7774.211100293413,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.6945799395907659,+ "median_us": 131.3987499452196,+ "op": "resize",+ "throughput_per_s": 7610.422476750365,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.32160474438569464,+ "median_us": 15.253104000294115,+ "op": "resize",+ "throughput_per_s": 65560.42625689288,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.3286499233800046,+ "median_us": 66.66916495305486,+ "op": "get_perspective_transform",+ "throughput_per_s": 14999.43790662671,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.06646457622991857,+ "median_us": 1.4359937500557862,+ "op": "get_perspective_transform",+ "throughput_per_s": 696381.8609664225,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 97.81299741007388,+ "median_us": 5164.520502148662,+ "op": "warp_perspective",+ "throughput_per_s": 1549.0305434302481,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 74.02714982163161,+ "median_us": 618.8500003190711,+ "op": "warp_perspective",+ "throughput_per_s": 12927.203677587951,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 320.1047547918279,+ "median_us": 4781.728996022139,+ "op": "warp_affine",+ "throughput_per_s": 1673.0350060940511,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 73.45624981098815,+ "median_us": 605.7125006918795,+ "op": "warp_affine",+ "throughput_per_s": 13207.586092183901,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 332.52100547542796,+ "median_us": 5023.999998229556,+ "op": "rotate",+ "throughput_per_s": 1592.3566884592315,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 11.547874964889811,+ "median_us": 1266.0187501751354,+ "op": "rotate",+ "throughput_per_s": 6319.021735573281,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 65.84590009879328,+ "median_us": 610.4291998781264,+ "op": "rotate",+ "throughput_per_s": 13105.53296204903,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 11.000000085914724,+ "median_us": 1007.9832994961181,+ "op": "resize",+ "throughput_per_s": 7936.639430434145,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 12.78750060009783,+ "median_us": 1011.5958997630515,+ "op": "resize",+ "throughput_per_s": 7908.296190083272,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 4.8941725617623755,+ "median_us": 123.51125500572381,+ "op": "resize",+ "throughput_per_s": 64771.42507886638,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 2.1689624918508383,+ "median_us": 73.27229504880961,+ "op": "get_perspective_transform",+ "throughput_per_s": 109181.78548482589,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.1703437519608986,+ "median_us": 11.063354002544656,+ "op": "get_perspective_transform",+ "throughput_per_s": 723108.019336626,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 246.604009589646,+ "median_us": 21065.895503852516,+ "op": "warp_perspective",+ "throughput_per_s": 1519.0429475997287,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 143.416701757815,+ "median_us": 2494.8207996203564,+ "op": "warp_perspective",+ "throughput_per_s": 12826.572555780169,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 561.3750035990961,+ "median_us": 19463.165997876786,+ "op": "warp_affine",+ "throughput_per_s": 1644.1312787185211,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 112.0875251217515,+ "median_us": 2416.1750494386074,+ "op": "warp_affine",+ "throughput_per_s": 13244.07352332983,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 860.5624971096404,+ "median_us": 19546.70799023006,+ "op": "rotate",+ "throughput_per_s": 1637.1043152634402,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 48.957739636534825,+ "median_us": 4472.562504815869,+ "op": "rotate",+ "throughput_per_s": 7154.735113381586,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 126.85415022133367,+ "median_us": 2434.8229497263674,+ "op": "rotate",+ "throughput_per_s": 13142.639387227831,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 117.35400767065585,+ "median_us": 4092.499992111698,+ "op": "resize",+ "throughput_per_s": 7819.181444515593,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 63.041981775313616,+ "median_us": 4069.208007422276,+ "op": "resize",+ "throughput_per_s": 7863.938127918672,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 14.893749175826175,+ "median_us": 491.80839996552095,+ "op": "resize",+ "throughput_per_s": 65065.989117394936,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.9687599958852026,+ "median_us": 75.6954200915061,+ "op": "get_perspective_transform",+ "throughput_per_s": 422746.84467456664,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.7472976105636908,+ "median_us": 45.2006250998238,+ "op": "get_perspective_transform",+ "throughput_per_s": 707954.8110082385,+ "width": 256+ }+ ]+}diff --git a/benchmarks/results/0.9.0rc1/geometry--apple-m4--mps.json b/benchmarks/results/0.9.0rc1/geometry--apple-m4--mps.jsonnew file mode 100644index 000000000..888b7bf69--- /dev/null+++ b/benchmarks/results/0.9.0rc1/geometry--apple-m4--mps.json@@ -0,0 +1,425 @@+{+ "metadata": {+ "albumentations": "2.0.8",+ "device": "mps",+ "git_commit": "f0a06c70",+ "kornia": "0.9.0rc1",+ "kornia_rs": "0.1.10",+ "load": {+ "cpu_count": 10,+ "load_avg_15m": 7.791015625,+ "load_avg_1m": 7.77197265625,+ "load_avg_5m": 7.28125,+ "mem_available_bytes": 9592209408,+ "mem_total_bytes": 34359738368+ },+ "machine": "arm64",+ "numpy": "2.4.0",+ "opencv": "5.0.0",+ "pillow": "12.3.0",+ "platform": "macOS-26.5.1-arm64-arm-64bit-Mach-O",+ "python": "3.13.5",+ "timestamp_utc": "2026-08-18T13:44:53+00:00",+ "torch": "2.9.1",+ "torch_num_threads": 4,+ "torchvision": "0.24.1"+ },+ "results": [+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 123.14599734963849,+ "median_us": 929.9579978687689,+ "op": "warp_perspective",+ "throughput_per_s": 1075.3173823890434,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 9.72250025370158,+ "median_us": 78.24957996490411,+ "op": "warp_perspective",+ "throughput_per_s": 12779.621314881335,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 32.94900670880452,+ "median_us": 893.3749923016876,+ "op": "warp_affine",+ "throughput_per_s": 1119.3507861951723,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 7.612804911332215,+ "median_us": 77.40229004411957,+ "op": "warp_affine",+ "throughput_per_s": 12919.514389432103,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 118.15600009867921,+ "median_us": 1625.833501748275,+ "op": "rotate",+ "throughput_per_s": 615.0691315714001,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 75.1249972381629,+ "median_us": 795.4580069053918,+ "op": "rotate",+ "throughput_per_s": 1257.1373866614879,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 6.64167004288174,+ "median_us": 75.95375005621463,+ "op": "rotate",+ "throughput_per_s": 13165.906874379256,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 28.041139994456888,+ "median_us": 172.26708499947566,+ "op": "resize",+ "throughput_per_s": 5804.939463641844,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 25.0508300086949,+ "median_us": 178.23999995016493,+ "op": "resize",+ "throughput_per_s": 5610.412927960028,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.35666600160766326,+ "median_us": 15.352959002484566,+ "op": "resize",+ "throughput_per_s": 65134.02399095642,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 30.54797416552897,+ "median_us": 570.2437505533454,+ "op": "get_perspective_transform",+ "throughput_per_s": 1753.6360530556162,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 1,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.017383349768351725,+ "median_us": 1.41092919948278,+ "op": "get_perspective_transform",+ "throughput_per_s": 708752.7853038843,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 106.31250916048884,+ "median_us": 2329.417002329137,+ "op": "warp_perspective",+ "throughput_per_s": 3434.3357123267156,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 68.24999873060737,+ "median_us": 609.6833996707574,+ "op": "warp_perspective",+ "throughput_per_s": 13121.564412480608,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 61.79200136102736,+ "median_us": 2023.6670097801834,+ "op": "warp_affine",+ "throughput_per_s": 3953.219557040159,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 60.599998687394006,+ "median_us": 600.8833006490022,+ "op": "warp_affine",+ "throughput_per_s": 13313.733284581811,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 241.64500064216554,+ "median_us": 2756.4999909373,+ "op": "rotate",+ "throughput_per_s": 2902.2310996923816,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 45.459019020199776,+ "median_us": 961.583005846478,+ "op": "rotate",+ "throughput_per_s": 8319.614584866367,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 52.087450239923825,+ "median_us": 603.489599598106,+ "op": "rotate",+ "throughput_per_s": 13256.235078993244,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 29.833399457857034,+ "median_us": 313.0958997644484,+ "op": "resize",+ "throughput_per_s": 25551.27680055422,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 26.02909953566265,+ "median_us": 324.3625003960915,+ "op": "resize",+ "throughput_per_s": 24663.76350604923,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 1.9569701180444152,+ "median_us": 122.22167002619246,+ "op": "resize",+ "throughput_per_s": 65454.841177391674,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 22.39989989902822,+ "median_us": 599.4125007418916,+ "op": "get_perspective_transform",+ "throughput_per_s": 13346.401668464401,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 8,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.11322950376779727,+ "median_us": 10.986958499415778,+ "op": "get_perspective_transform",+ "throughput_per_s": 728135.998732078,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 319.89676062949,+ "median_us": 7257.62450019829,+ "op": "warp_perspective",+ "throughput_per_s": 4409.156191413004,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 126.95409968728174,+ "median_us": 2489.0957996831276,+ "op": "warp_perspective",+ "throughput_per_s": 12856.074082835114,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 212.0835051755421,+ "median_us": 5869.207991054282,+ "op": "warp_affine",+ "throughput_per_s": 5452.183676021314,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 114.79687600512989,+ "median_us": 2401.6812501940876,+ "op": "warp_affine",+ "throughput_per_s": 13323.999592957633,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 289.94800231885165,+ "median_us": 6627.750008192379,+ "op": "rotate",+ "throughput_per_s": 4828.184521209412,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 59.01099575567059,+ "median_us": 1460.3960007661954,+ "op": "rotate",+ "throughput_per_s": 21911.86498950369,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 117.27497512765711,+ "median_us": 2487.575000122888,+ "op": "rotate",+ "throughput_per_s": 12863.933750105696,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 36.117699346505084,+ "median_us": 677.7125505323056,+ "op": "resize",+ "throughput_per_s": 47217.65883613307,+ "width": 256+ },+ {+ "backend": "torchvision v2",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 34.26872535783332,+ "median_us": 681.4770997152664,+ "op": "resize",+ "throughput_per_s": 46956.823660501854,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 18.90314997581293,+ "median_us": 491.74165033036843,+ "op": "resize",+ "throughput_per_s": 65074.8212572625,+ "width": 256+ },+ {+ "backend": "kornia (eager)",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 30.65404998778829,+ "median_us": 636.612500238698,+ "op": "get_perspective_transform",+ "throughput_per_s": 50266.056648277554,+ "width": 256+ },+ {+ "backend": "opencv",+ "batch": 32,+ "dtype": "float32",+ "height": 256,+ "iqr_us": 0.40634986362420566,+ "median_us": 44.35541501152329,+ "op": "get_perspective_transform",+ "throughput_per_s": 721445.1717267572,+ "width": 256+ }+ ]+}diff --git a/docs/source/_extra/llms-full.txt b/docs/source/_extra/llms-full.txtindex 0a20450fd..a3dd1474c 100644--- a/docs/source/_extra/llms-full.txt+++ b/docs/source/_extra/llms-full.txt@@ -173,10 +173,16 @@ Durable findings from earlier CUDA runs (2026-08-07, see benchmarks/README.md):snapshots; reproduce with `python benchmarks/<suite>/flagship.py --contribute benchmarks/results`).- augmentation on apple-m1/cpu (2026-08-08): fastest overall opencv RandomHorizontalFlip@1 at 180552 items/s; slowest kornia op ColorJiggle@32 at 157 items/s.- augmentation on apple-m1/mps (2026-08-08): fastest overall opencv RandomHorizontalFlip@8 at 182381 items/s; slowest kornia op ColorJiggle@1 at 91 items/s.+- augmentation on apple-m4/cpu (2026-08-18): fastest overall opencv RandomHorizontalFlip@8 at 248255 items/s; slowest kornia op ColorJiggle@32 at 414 items/s.+- augmentation on apple-m4/mps (2026-08-18): fastest overall opencv RandomHorizontalFlip@8 at 247523 items/s; slowest kornia op ColorJiggle@1 at 271 items/s.- filters on apple-m1/cpu (2026-08-08): fastest overall opencv box_blur@1 at 22422 items/s; slowest kornia op median_blur@32 at 11 items/s.- filters on apple-m1/mps (2026-08-08): fastest overall opencv box_blur@1 at 20137 items/s; slowest kornia op median_blur@32 at 1 items/s.+- filters on apple-m4/cpu (2026-08-18): fastest overall opencv box_blur@1 at 31751 items/s; slowest kornia op median_blur@32 at 16 items/s.+- filters on apple-m4/mps (2026-08-18): fastest overall opencv box_blur@1 at 31758 items/s; slowest kornia op median_blur@1 at 3 items/s.- geometry on apple-m1/cpu (2026-08-08): fastest overall opencv get_perspective_transform@32 at 501126 items/s; slowest kornia op warp_perspective@32 at 841 items/s.- geometry on apple-m1/mps (2026-08-08): fastest overall opencv get_perspective_transform@8 at 490803 items/s; slowest kornia op rotate@1 at 218 items/s.+- geometry on apple-m4/cpu (2026-08-18): fastest overall opencv get_perspective_transform@8 at 723108 items/s; slowest kornia op warp_perspective@1 at 1397 items/s.+- geometry on apple-m4/mps (2026-08-18): fastest overall opencv get_perspective_transform@8 at 728136 items/s; slowest kornia op rotate@1 at 615 items/s.<!-- BENCH:END -->## Links