-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
8144727
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)
3669.5
ns3877.25
ns0.95
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128)
7158.5
ns7136.666666666667
ns1.00
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128)
21270
ns20909
ns1.02
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128)
9868.6
ns9758.4
ns1.01
Dense(2 => 2)/cpu/reverse/Flux/(2, 128)
9075.2
ns9005.625
ns1.01
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128)
4494.75
ns4487.125
ns1.00
Dense(2 => 2)/cpu/reverse/Enzyme/(2, 128)
1158.1323529411766
ns1159.4113475177305
ns1.00
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128)
1108.3333333333333
ns1118.1447368421052
ns0.99
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128)
1166.3758865248226
ns1184.7333333333333
ns0.98
Dense(2 => 2)/cpu/forward/Flux/(2, 128)
1783.5263157894738
ns1787.7936507936508
ns1.00
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128)
180.28349788434414
ns179.43949930458973
ns1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128)
17453
ns17263
ns1.01
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128)
17072
ns16751
ns1.02
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128)
37861
ns37691
ns1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128)
28624
ns29346
ns0.98
Dense(20 => 20)/cpu/reverse/Flux/(20, 128)
20098
ns21570
ns0.93
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128)
17413
ns17322.5
ns1.01
Dense(20 => 20)/cpu/reverse/Enzyme/(20, 128)
4321
ns4315.285714285715
ns1.00
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128)
3873.625
ns3852.25
ns1.01
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128)
3953.625
ns3968.875
ns1.00
Dense(20 => 20)/cpu/forward/Flux/(20, 128)
4959.428571428572
ns4945.071428571428
ns1.00
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128)
1653.1
ns1659.1
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128)
38465119
ns39206882
ns0.98
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128)
57646876
ns57767448
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128)
75865022
ns76005484.5
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128)
88423185.5
ns88733451
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128)
72301851
ns72624222
ns1.00
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128)
11688195
ns11618229
ns1.01
Conv((3, 3), 3 => 3)/cpu/reverse/Enzyme/(64, 64, 3, 128)
6947657.5
ns6948329
ns1.00
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128)
7114060
ns7100361
ns1.00
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128)
7046153
ns7045120
ns1.00
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128)
9919070
ns10499396
ns0.94
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128)
6383236
ns6388556
ns1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16)
700307873
ns696069670
ns1.01
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64)
2573675425
ns2560382099
ns1.01
vgg16/cpu/reverse/Zygote/(32, 32, 3, 2)
146273034.5
ns146896144
ns1.00
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16)
766244327
ns753267556
ns1.02
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64)
2946277581
ns3219866614
ns0.92
vgg16/cpu/reverse/Tracker/(32, 32, 3, 2)
186150849.5
ns189647046.5
ns0.98
vgg16/cpu/reverse/Flux/(32, 32, 3, 16)
683705070
ns650388253.5
ns1.05
vgg16/cpu/reverse/Flux/(32, 32, 3, 64)
2646332482
ns2641583439
ns1.00
vgg16/cpu/reverse/Flux/(32, 32, 3, 2)
137195152
ns126045986
ns1.09
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16)
175100769.5
ns175012423.5
ns1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64)
657088055
ns654609813.5
ns1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 2)
34808952
ns45650343.5
ns0.76
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16)
173079830
ns165489868
ns1.05
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64)
647810031.5
ns645213518
ns1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 2)
30215970.5
ns30449566
ns0.99
vgg16/cpu/forward/Flux/(32, 32, 3, 16)
186723548
ns186588697.5
ns1.00
vgg16/cpu/forward/Flux/(32, 32, 3, 64)
716777163.5
ns762585936.5
ns0.94
vgg16/cpu/forward/Flux/(32, 32, 3, 2)
35812469
ns35592426
ns1.01
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128)
1201776757.5
ns1244392513.5
ns0.97
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128)
1867312418
ns1860967941.5
ns1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128)
2252712336
ns2412383381
ns0.93
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128)
2534981235
ns2508398406
ns1.01
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128)
1849417398.5
ns1841004113
ns1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Enzyme/(64, 64, 64, 128)
319942263
ns325387747
ns0.98
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128)
322876057
ns321376487
ns1.00
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128)
322189133
ns320382227
ns1.01
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128)
350507999
ns351110878.5
ns1.00
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128)
11709496.5
ns11916214.5
ns0.98
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128)
17775143
ns17847044.5
ns1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128)
19047551
ns18999477
ns1.00
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128)
23749212
ns23832058
ns1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128)
17809947
ns17900491
ns0.99
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128)
1166579
ns1156388
ns1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Enzyme/(64, 64, 1, 128)
2069792
ns2068406
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128)
2075303
ns2074848
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128)
2083859
ns2080966
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128)
2070143
ns2064530
ns1.00
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128)
198384
ns201207
ns0.99
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128)
293351.5
ns291927
ns1.00
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128)
266071
ns264766
ns1.00
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128)
372531
ns367819.5
ns1.01
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128)
411264
ns407093
ns1.01
Dense(200 => 200)/cpu/reverse/Flux/(200, 128)
274837
ns274194
ns1.00
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128)
408429
ns413023.5
ns0.99
Dense(200 => 200)/cpu/reverse/Enzyme/(200, 128)
83357
ns83176
ns1.00
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128)
81022
ns80792
ns1.00
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128)
81623
ns81824
ns1.00
Dense(200 => 200)/cpu/forward/Flux/(200, 128)
86773
ns86422
ns1.00
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128)
104757
ns104516
ns1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128)
185710969
ns189753594
ns0.98
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128)
321911456
ns326290151.5
ns0.99
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128)
392672252
ns389674161
ns1.01
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128)
459161840.5
ns463032519.5
ns0.99
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128)
370778856
ns372310812
ns1.00
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128)
326381332.5
ns321094560
ns1.02
Conv((3, 3), 16 => 16)/cpu/reverse/Enzyme/(64, 64, 16, 128)
44291164.5
ns44247080
ns1.00
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128)
44361965.5
ns44274719.5
ns1.00
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128)
44088654
ns43910438
ns1.00
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128)
50059502
ns60159984.5
ns0.83
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128)
28564487
ns27695071
ns1.03
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128)
19023815
ns19050107
ns1.00
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128)
19619630
ns19567246
ns1.00
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128)
23614610.5
ns23330177
ns1.01
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128)
24290489.5
ns24116204
ns1.01
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128)
19710266.5
ns19653615
ns1.00
Dense(2000 => 2000)/cpu/reverse/Enzyme/(2000, 128)
6516122
ns6510513.5
ns1.00
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128)
6545687
ns6528171
ns1.00
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128)
6517253
ns6491807
ns1.00
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128)
6496415
ns6491543.5
ns1.00
This comment was automatically generated by workflow using github-action-benchmark.