You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29e466f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark Results
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128)
3708.125
ns3689.375
ns1.01
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128)
7202.583333333333
ns7108.25
ns1.01
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128)
20769
ns20729
ns1.00
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128)
9814.2
ns9788.2
ns1.00
Dense(2 => 2)/cpu/reverse/Flux/(2, 128)
8940.8
ns8803
ns1.02
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128)
4521
ns4445.75
ns1.02
Dense(2 => 2)/cpu/reverse/Enzyme/(2, 128)
1162.1666666666667
ns1157.5942028985507
ns1.00
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128)
1108.0264900662253
ns1115.3624161073826
ns0.99
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128)
1193.234375
ns1179.5149253731342
ns1.01
Dense(2 => 2)/cpu/forward/Flux/(2, 128)
1782.7857142857142
ns1789.469387755102
ns1.00
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128)
179.94575799721835
ns180.56022408963585
ns1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128)
17322
ns17263
ns1.00
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128)
16781
ns16761
ns1.00
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128)
37254.5
ns37309
ns1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128)
29044
ns29264
ns0.99
Dense(20 => 20)/cpu/reverse/Flux/(20, 128)
21280
ns19877
ns1.07
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128)
17282
ns17122
ns1.01
Dense(20 => 20)/cpu/reverse/Enzyme/(20, 128)
4315.142857142857
ns4326.571428571428
ns1.00
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128)
3829.625
ns3858.375
ns0.99
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128)
3934.875
ns3932.25
ns1.00
Dense(20 => 20)/cpu/forward/Flux/(20, 128)
4817.571428571428
ns4983.571428571428
ns0.97
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128)
1654.1
ns1657
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128)
41551661
ns49278699
ns0.84
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128)
58251044.5
ns57576751.5
ns1.01
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128)
79896817.5
ns109160869.5
ns0.73
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128)
85832471
ns106447718.5
ns0.81
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128)
76140849
ns91530370
ns0.83
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128)
11969223
ns11675389.5
ns1.03
Conv((3, 3), 3 => 3)/cpu/reverse/Enzyme/(64, 64, 3, 128)
7080191
ns6931919
ns1.02
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128)
7193590
ns7098291
ns1.01
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128)
7073414
ns7022403
ns1.01
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128)
12338787.5
ns18360298
ns0.67
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128)
6431957
ns6385781
ns1.01
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16)
703246914
ns705394593
ns1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64)
2570700164
ns2616824850
ns0.98
vgg16/cpu/reverse/Zygote/(32, 32, 3, 2)
146137798
ns144841156.5
ns1.01
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16)
915110115.5
ns804574120
ns1.14
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64)
3187561892
ns3328481757
ns0.96
vgg16/cpu/reverse/Tracker/(32, 32, 3, 2)
208837724.5
ns209149562
ns1.00
vgg16/cpu/reverse/Flux/(32, 32, 3, 16)
690645735.5
ns773576256
ns0.89
vgg16/cpu/reverse/Flux/(32, 32, 3, 64)
2812418266
ns2806385145
ns1.00
vgg16/cpu/reverse/Flux/(32, 32, 3, 2)
147830644.5
ns147363592
ns1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16)
174776833
ns174721051
ns1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64)
658430709
ns654809349.5
ns1.01
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 2)
34866148
ns34172290.5
ns1.02
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16)
165524659
ns165141726
ns1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64)
641598171.5
ns643839250
ns1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 2)
30417511
ns30005067.5
ns1.01
vgg16/cpu/forward/Flux/(32, 32, 3, 16)
188258028
ns231201192
ns0.81
vgg16/cpu/forward/Flux/(32, 32, 3, 64)
847204472
ns829336756
ns1.02
vgg16/cpu/forward/Flux/(32, 32, 3, 2)
38306001.5
ns37372900
ns1.02
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128)
1222361111.5
ns1249505098.5
ns0.98
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128)
1876739603.5
ns1858491430
ns1.01
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128)
2318950176
ns2371943763
ns0.98
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128)
2586064020
ns2553087977
ns1.01
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128)
1910576873.5
ns1962392226
ns0.97
Conv((3, 3), 64 => 64)/cpu/reverse/Enzyme/(64, 64, 64, 128)
328082151.5
ns322990127.5
ns1.02
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128)
326373060
ns319576885
ns1.02
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128)
318939236
ns317940427
ns1.00
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128)
364450794.5
ns389407449
ns0.94
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128)
12110116.5
ns11696482
ns1.04
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128)
18065994.5
ns17828357
ns1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128)
19378161
ns19008271
ns1.02
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128)
24003824
ns23738072.5
ns1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128)
18052727
ns17857580.5
ns1.01
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128)
1157534
ns1163588
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Enzyme/(64, 64, 1, 128)
2066505
ns2064722
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128)
2078777.5
ns2070598
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128)
2081573
ns2074535
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128)
2073578
ns2063896
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128)
199862.5
ns198094
ns1.01
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128)
293267
ns292194
ns1.00
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128)
265485
ns264052
ns1.01
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128)
369329
ns364308
ns1.01
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128)
408983
ns407148
ns1.00
Dense(200 => 200)/cpu/reverse/Flux/(200, 128)
275033
ns273069
ns1.01
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128)
414623.5
ns411968
ns1.01
Dense(200 => 200)/cpu/reverse/Enzyme/(200, 128)
83776
ns83345
ns1.01
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128)
81302
ns81101
ns1.00
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128)
81362
ns81492
ns1.00
Dense(200 => 200)/cpu/forward/Flux/(200, 128)
87232
ns86582
ns1.01
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128)
104334.5
ns104545
ns1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128)
196580814.5
ns196142686.5
ns1.00
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128)
325601095
ns325153569
ns1.00
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128)
422107461.5
ns446916300.5
ns0.94
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128)
460786759.5
ns496223370
ns0.93
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128)
376576919
ns421390779
ns0.89
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128)
330132293
ns322878155
ns1.02
Conv((3, 3), 16 => 16)/cpu/reverse/Enzyme/(64, 64, 16, 128)
44296074
ns44140967
ns1.00
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128)
44477840
ns44144811
ns1.01
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128)
44123475
ns43902323
ns1.01
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128)
57384877
ns59027307
ns0.97
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128)
28060856.5
ns28155959
ns1.00
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128)
18956391
ns18833149
ns1.01
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128)
19593936
ns19487768.5
ns1.01
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128)
23259183.5
ns23275244
ns1.00
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128)
24171564
ns24092658
ns1.00
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128)
19844960.5
ns19580559
ns1.01
Dense(2000 => 2000)/cpu/reverse/Enzyme/(2000, 128)
6539285
ns6501763.5
ns1.01
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128)
6578089
ns6519016
ns1.01
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128)
6592691
ns6495883
ns1.01
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128)
6544315
ns6478856.5
ns1.01
This comment was automatically generated by workflow using github-action-benchmark.