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

Add a gallery component #579

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Add a gallery component #579

merged 2 commits into from
Apr 10, 2024

Conversation

avik-pal
Copy link
Member

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

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: edf2f13 Previous: 132b99a Ratio
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128) 3644.25 ns 3633 ns 1.00
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128) 7879.666666666667 ns 7944.8 ns 0.99
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128) 14387 ns 19621.5 ns 0.73
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128) 9784.2 ns 9859.625 ns 0.99
Dense(2 => 2)/cpu/reverse/Flux/(2, 128) 8726 ns 7615.5 ns 1.15
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128) 4480.875 ns 4458.375 ns 1.01
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128) 1992.7 ns 2008.7 ns 0.99
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128) 1643.6978417266187 ns 1648.645390070922 ns 1.00
Dense(2 => 2)/cpu/forward/Flux/(2, 128) 1820.875 ns 1832.5116279069769 ns 0.99
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128) 179.85714285714286 ns 179.59383753501402 ns 1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128) 17322 ns 17503 ns 0.99
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128) 18415 ns 18404 ns 1.00
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128) 35195 ns 35206 ns 1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128) 28523 ns 28513 ns 1.00
Dense(20 => 20)/cpu/reverse/Flux/(20, 128) 19536 ns 19797 ns 0.99
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128) 17036.5 ns 17733 ns 0.96
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128) 4795.357142857143 ns 4867.571428571428 ns 0.99
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128) 4866.142857142857 ns 4902 ns 0.99
Dense(20 => 20)/cpu/forward/Flux/(20, 128) 4823.285714285715 ns 4955 ns 0.97
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128) 1671.1 ns 1660.1 ns 1.01
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128) 49810380 ns 46080813 ns 1.08
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128) 105931749 ns 105961685.5 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128) 109439549.5 ns 110135838.5 ns 0.99
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128) 102616376 ns 106710393.5 ns 0.96
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128) 78660995 ns 105840243 ns 0.74
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128) 11916090 ns 11945825 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128) 18453591.5 ns 18436873 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128) 18427247 ns 18567580 ns 0.99
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128) 18364190.5 ns 18111746 ns 1.01
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128) 6388735 ns 6381482 ns 1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 1) 102766109 ns 101214043 ns 1.02
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16) 836071966 ns 745763279 ns 1.12
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64) 3313191613 ns 2918099796 ns 1.14
vgg16/cpu/reverse/Tracker/(32, 32, 3, 1) 155559300 ns 158128244 ns 0.98
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16) 1207994681.5 ns 1205444948.5 ns 1.00
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64) 4089387600 ns 3740074948 ns 1.09
vgg16/cpu/reverse/Flux/(32, 32, 3, 1) 91837662 ns 86951378 ns 1.06
vgg16/cpu/reverse/Flux/(32, 32, 3, 16) 772640988 ns 767273504.5 ns 1.01
vgg16/cpu/reverse/Flux/(32, 32, 3, 64) 3358035255 ns 3116165356 ns 1.08
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 1) 26186270 ns 25923949 ns 1.01
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16) 223379755 ns 234109684.5 ns 0.95
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64) 901771320 ns 956527947 ns 0.94
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 1) 26295849 ns 26230540 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16) 249262286.5 ns 211444026.5 ns 1.18
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64) 899835904.5 ns 900202260.5 ns 1.00
vgg16/cpu/forward/Flux/(32, 32, 3, 1) 24012625 ns 24101389 ns 1.00
vgg16/cpu/forward/Flux/(32, 32, 3, 16) 187059862 ns 232113400 ns 0.81
vgg16/cpu/forward/Flux/(32, 32, 3, 64) 714219404 ns 910530186 ns 0.78
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128) 1095780707 ns 1125081561 ns 0.97
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128) 1928118256.5 ns 1907101205.5 ns 1.01
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128) 2172810280.5 ns 2144184023.5 ns 1.01
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128) 2384378683.5 ns 2586542318 ns 0.92
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128) 1894425536 ns 1881422422.5 ns 1.01
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128) 370645906.5 ns 448550801 ns 0.83
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128) 353217722 ns 374186092 ns 0.94
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128) 354483832 ns 381447995.5 ns 0.93
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128) 11925487 ns 11717725 ns 1.02
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128) 18101487 ns 17972964 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128) 19378702.5 ns 19169238 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128) 23908983 ns 23860052 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128) 18076335 ns 18009240 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128) 1158922 ns 1161680 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128) 2068680 ns 2078904 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128) 2074611 ns 2086788 ns 0.99
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128) 2069422 ns 2074965 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128) 202656 ns 197078.5 ns 1.03
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128) 298524 ns 297686 ns 1.00
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128) 275441 ns 275324 ns 1.00
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128) 365118 ns 364651 ns 1.00
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128) 413818 ns 412480 ns 1.00
Dense(200 => 200)/cpu/reverse/Flux/(200, 128) 276183 ns 275574.5 ns 1.00
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128) 411464 ns 408572.5 ns 1.01
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128) 90438 ns 90178 ns 1.00
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128) 91810.5 ns 91450 ns 1.00
Dense(200 => 200)/cpu/forward/Flux/(200, 128) 87703 ns 87083 ns 1.01
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128) 104414 ns 104465 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128) 190019341 ns 195492342.5 ns 0.97
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128) 373214545 ns 384125691 ns 0.97
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128) 399664824 ns 409435991 ns 0.98
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128) 474558242 ns 446038411 ns 1.06
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128) 361597358.5 ns 398289262 ns 0.91
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128) 355902349 ns 345487654 ns 1.03
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128) 49924615 ns 57154304 ns 0.87
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128) 50456159 ns 58110245 ns 0.87
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128) 51403416 ns 55966814 ns 0.92
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128) 28564963 ns 27905339.5 ns 1.02
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128) 21369486.5 ns 19416447 ns 1.10
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128) 19805389 ns 19639429 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128) 23694942 ns 23419695 ns 1.01
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128) 24380555 ns 24218219 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128) 19881815 ns 19691151 ns 1.01
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128) 6640568 ns 6619723 ns 1.00
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128) 6621480 ns 6616265 ns 1.00
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128) 6620249 ns 6556345 ns 1.01

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

Copy link

codecov bot commented Apr 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.51%. Comparing base (132b99a) to head (edf2f13).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #579   +/-   ##
=======================================
  Coverage   87.51%   87.51%           
=======================================
  Files          37       37           
  Lines        1971     1971           
=======================================
  Hits         1725     1725           
  Misses        246      246           

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

@avik-pal avik-pal force-pushed the ap/agg_tutorials branch 3 times, most recently from 389aaa5 to f2c2e41 Compare April 9, 2024 13:22
@avik-pal avik-pal merged commit 53b761f into main Apr 10, 2024
21 checks passed
@avik-pal avik-pal deleted the ap/agg_tutorials branch April 10, 2024 03:22
avik-pal added a commit that referenced this pull request Apr 10, 2024
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.

Tutorial links too small
1 participant