Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix numbering in the docs #578

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Fix numbering in the docs #578

merged 2 commits into from
Apr 9, 2024

Conversation

avik-pal
Copy link
Member

@avik-pal avik-pal commented Apr 8, 2024

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark Results

Benchmark suite Current: 0431aab Previous: a22199e Ratio
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128) 3674.375 ns 3291.125 ns 1.12
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128) 8367.6 ns 7594.333333333333 ns 1.10
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128) 19517 ns 14357 ns 1.36
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128) 9948.6 ns 9856.6 ns 1.01
Dense(2 => 2)/cpu/reverse/Flux/(2, 128) 8887 ns 8706 ns 1.02
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128) 4184.555555555556 ns 4151.111111111111 ns 1.01
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128) 1991.8 ns 2038.8 ns 0.98
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128) 1649.0136054421769 ns 1652.5448275862068 ns 1.00
Dense(2 => 2)/cpu/forward/Flux/(2, 128) 1799.5263157894738 ns 1800.2586206896551 ns 1.00
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128) 179.74471086036672 ns 179.61335187760778 ns 1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128) 17573 ns 17353 ns 1.01
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128) 18715 ns 18605 ns 1.01
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128) 35537 ns 35346 ns 1.01
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128) 28673 ns 28643 ns 1.00
Dense(20 => 20)/cpu/reverse/Flux/(20, 128) 19877 ns 19647 ns 1.01
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128) 16420 ns 16050 ns 1.02
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128) 4870.571428571428 ns 4761.857142857143 ns 1.02
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128) 4883.428571428572 ns 4787.571428571428 ns 1.02
Dense(20 => 20)/cpu/forward/Flux/(20, 128) 4872 ns 4819 ns 1.01
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128) 1661.1 ns 1663.1 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128) 39367659.5 ns 47826882 ns 0.82
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128) 65454830 ns 107846874 ns 0.61
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128) 71629270 ns 111447729 ns 0.64
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128) 89280593 ns 107598984 ns 0.83
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128) 73083893 ns 107543357 ns 0.68
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128) 11946901 ns 12081138 ns 0.99
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128) 10560729.5 ns 18396029 ns 0.57
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128) 10504605 ns 18335367 ns 0.57
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128) 10003049 ns 18282107.5 ns 0.55
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128) 6480181 ns 6393940.5 ns 1.01
vgg16/cpu/reverse/Zygote/(32, 32, 3, 1) 103368778.5 ns 104037238.5 ns 0.99
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16) 701281435.5 ns 745853053 ns 0.94
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64) 2616877994 ns 2862501835 ns 0.91
vgg16/cpu/reverse/Tracker/(32, 32, 3, 1) 165663692 ns 160006855 ns 1.04
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16) 1060019343 ns 1149640042 ns 0.92
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64) 3582839117 ns 4328457284 ns 0.83
vgg16/cpu/reverse/Flux/(32, 32, 3, 1) 87722695 ns 89766870 ns 0.98
vgg16/cpu/reverse/Flux/(32, 32, 3, 16) 633263125.5 ns 706555892 ns 0.90
vgg16/cpu/reverse/Flux/(32, 32, 3, 64) 2723112890 ns 3162713324 ns 0.86
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 1) 24513926 ns 24988726 ns 0.98
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16) 206998178 ns 248321851.5 ns 0.83
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64) 804969305 ns 984732186 ns 0.82
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 1) 25330637 ns 26635110 ns 0.95
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16) 209485674 ns 252240083 ns 0.83
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64) 791906188 ns 889103407 ns 0.89
vgg16/cpu/forward/Flux/(32, 32, 3, 1) 22965515 ns 30345424 ns 0.76
vgg16/cpu/forward/Flux/(32, 32, 3, 16) 186101055 ns 233111808 ns 0.80
vgg16/cpu/forward/Flux/(32, 32, 3, 64) 708875916 ns 889458306 ns 0.80
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128) 1100318071 ns 1035434449.5 ns 1.06
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128) 1848607254 ns 1862385198.5 ns 0.99
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128) 2213684306.5 ns 2246770805 ns 0.99
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128) 2303432474.5 ns 2397483572.5 ns 0.96
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128) 1861188972 ns 1923770490.5 ns 0.97
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128) 361922342.5 ns 375137750.5 ns 0.96
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128) 372461998 ns 392101451.5 ns 0.95
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128) 358938370 ns 379737329.5 ns 0.95
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128) 12021244.5 ns 11869505 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128) 18117828 ns 17927171 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128) 19340494.5 ns 19152475.5 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128) 23939588 ns 23886574 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128) 18113689 ns 18004082 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128) 1161345 ns 1160001 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128) 2091256.5 ns 2065263 ns 1.01
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128) 2100855 ns 2074119 ns 1.01
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128) 2081543 ns 2062288 ns 1.01
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128) 219101 ns 204473 ns 1.07
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128) 302336 ns 297618 ns 1.02
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128) 275666.5 ns 274229.5 ns 1.01
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128) 366877 ns 362660 ns 1.01
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128) 414576 ns 410510 ns 1.01
Dense(200 => 200)/cpu/reverse/Flux/(200, 128) 276177 ns 274355 ns 1.01
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128) 401471.5 ns 396274 ns 1.01
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128) 90159 ns 88927 ns 1.01
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128) 90870 ns 89829 ns 1.01
Dense(200 => 200)/cpu/forward/Flux/(200, 128) 87954 ns 87194 ns 1.01
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128) 104576 ns 104937 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128) 187814012 ns 207730596 ns 0.90
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128) 380245049.5 ns 417547431 ns 0.91
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128) 401020169 ns 446864478.5 ns 0.90
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128) 473480419 ns 476380395 ns 0.99
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128) 370753390.5 ns 412031574 ns 0.90
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128) 344298030 ns 348975577 ns 0.99
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128) 60003490 ns 65585813 ns 0.91
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128) 53768514 ns 71096377 ns 0.76
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128) 60013223 ns 71135179 ns 0.84
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128) 29111614 ns 28355509 ns 1.03
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128) 19724309 ns 19456862 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128) 19811801 ns 19787020 ns 1.00
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128) 23784229 ns 23607252 ns 1.01
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128) 24307801 ns 24257374 ns 1.00
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128) 19875774 ns 19779678.5 ns 1.00
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128) 6647131 ns 6627207 ns 1.00
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128) 6628480.5 ns 6596001 ns 1.00
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128) 6627793 ns 6574174.5 ns 1.01

This comment was automatically generated by workflow using github-action-benchmark.

Copy link

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.56%. Comparing base (a22199e) to head (0431aab).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #578   +/-   ##
=======================================
  Coverage   87.56%   87.56%           
=======================================
  Files          38       38           
  Lines        1962     1962           
=======================================
  Hits         1718     1718           
  Misses        244      244           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@avik-pal avik-pal merged commit abdbf4b into main Apr 9, 2024
22 checks passed
@avik-pal avik-pal deleted the ap/docs branch April 9, 2024 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant