Skip to content

Commit

Permalink
Update Project.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Apr 28, 2024
1 parent 51f2968 commit 3447cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Lux"
uuid = "b2108857-7c20-44ae-9111-449ecde12c47"
authors = ["Avik Pal <avikpal@mit.edu> and contributors"]
version = "0.5.39"
version = "0.5.40"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down

3 comments on commit 3447cdd

@github-actions
Copy link
Contributor

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: 3447cdd Previous: 51f2968 Ratio
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128) 3663 ns 3861 ns 0.95
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128) 5288.428571428572 ns 7130 ns 0.74
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128) 20408 ns 20018 ns 1.02
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128) 9680 ns 9644 ns 1.00
Dense(2 => 2)/cpu/reverse/Flux/(2, 128) 8817 ns 8847.5 ns 1.00
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128) 4447.125 ns 4458.25 ns 1.00
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128) 1120.120253164557 ns 1121.198717948718 ns 1.00
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128) 1174.9071428571428 ns 1186.6060606060605 ns 0.99
Dense(2 => 2)/cpu/forward/Flux/(2, 128) 1789.72131147541 ns 1793.1509433962265 ns 1.00
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128) 181.1638655462185 ns 179.78284923928078 ns 1.01
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128) 17162 ns 17293 ns 0.99
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128) 17252 ns 17333 ns 1.00
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128) 36137 ns 36698 ns 0.98
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128) 27782 ns 28303 ns 0.98
Dense(20 => 20)/cpu/reverse/Flux/(20, 128) 19516 ns 19607 ns 1.00
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128) 16861.5 ns 16842 ns 1.00
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128) 3848.5 ns 3847.125 ns 1.00
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128) 3933.5625 ns 3942.375 ns 1.00
Dense(20 => 20)/cpu/forward/Flux/(20, 128) 4883.428571428572 ns 4867.714285714285 ns 1.00
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128) 1657.1 ns 1653.1 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128) 38386735.5 ns 49892211 ns 0.77
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128) 57522952 ns 57726460.5 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128) 75618805 ns 99509688.5 ns 0.76
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128) 80997255 ns 106130667 ns 0.76
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128) 72331985 ns 105713647.5 ns 0.68
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128) 11866907 ns 11648881 ns 1.02
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128) 7068005 ns 7036951.5 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128) 7065075 ns 7057975 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128) 9879556 ns 18159101 ns 0.54
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128) 6380902 ns 6374599.5 ns 1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 1) 114551275 ns 117682544 ns 0.97
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16) 707446007 ns 730992081 ns 0.97
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64) 2851335331 ns 2850285111 ns 1.00
vgg16/cpu/reverse/Tracker/(32, 32, 3, 1) 140444466 ns 164703848 ns 0.85
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16) 805071308 ns 892438806 ns 0.90
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64) 2658278486 ns 2801258575 ns 0.95
vgg16/cpu/reverse/Flux/(32, 32, 3, 1) 78988630 ns 81992561 ns 0.96
vgg16/cpu/reverse/Flux/(32, 32, 3, 16) 651060289 ns 851035463 ns 0.77
vgg16/cpu/reverse/Flux/(32, 32, 3, 64) 2715922133 ns 3068020617 ns 0.89
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 1) 28761024.5 ns 29174554.5 ns 0.99
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16) 188478305 ns 180762225 ns 1.04
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64) 694796862 ns 682516468 ns 1.02
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 1) 28778126.5 ns 28838898 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16) 173361262.5 ns 173516198 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64) 671404774 ns 673443329 ns 1.00
vgg16/cpu/forward/Flux/(32, 32, 3, 1) 30823343 ns 22791681 ns 1.35
vgg16/cpu/forward/Flux/(32, 32, 3, 16) 187828710 ns 185722808.5 ns 1.01
vgg16/cpu/forward/Flux/(32, 32, 3, 64) 712148759 ns 708367926.5 ns 1.01
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128) 1119446357 ns 1095069819 ns 1.02
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128) 1861003469.5 ns 1853949272 ns 1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128) 2107629635 ns 2135692150 ns 0.99
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128) 2311189588 ns 2328333728.5 ns 0.99
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128) 1789587824 ns 1806353666.5 ns 0.99
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128) 318673598.5 ns 316924856 ns 1.01
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128) 320412413 ns 319541589.5 ns 1.00
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128) 376683963 ns 366675180 ns 1.03
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128) 11656973 ns 11925685.5 ns 0.98
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128) 17762597 ns 17932328 ns 0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128) 18899905 ns 19128765 ns 0.99
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128) 23581892 ns 23843499.5 ns 0.99
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128) 17778692 ns 17990776.5 ns 0.99
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128) 1135038 ns 1152412.5 ns 0.98
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128) 2034620 ns 2037817 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128) 2036235.5 ns 2036956 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128) 2046367 ns 2053085 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128) 194813 ns 199553 ns 0.98
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128) 291394 ns 294264.5 ns 0.99
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128) 262529 ns 265987 ns 0.99
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128) 346506 ns 360333 ns 0.96
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128) 396398 ns 404816 ns 0.98
Dense(200 => 200)/cpu/reverse/Flux/(200, 128) 269642 ns 272669 ns 0.99
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128) 392691 ns 403614 ns 0.97
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128) 80490 ns 80691 ns 1.00
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128) 80710 ns 81091 ns 1.00
Dense(200 => 200)/cpu/forward/Flux/(200, 128) 85209 ns 86171 ns 0.99
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128) 104355 ns 104385 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128) 193499865 ns 193514136 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128) 324943985.5 ns 326751148.5 ns 0.99
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128) 379921855 ns 401460640 ns 0.95
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128) 453165459 ns 431980614 ns 1.05
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128) 335969602 ns 370530564 ns 0.91
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128) 320332323 ns 335121405 ns 0.96
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128) 43843571 ns 43967310 ns 1.00
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128) 43963794 ns 43943682.5 ns 1.00
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128) 49353028 ns 54701594 ns 0.90
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128) 28703277 ns 28158813 ns 1.02
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128) 19121418 ns 19527366 ns 0.98
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128) 19356718 ns 19511676 ns 0.99
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128) 22844633 ns 23170806 ns 0.99
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128) 23824836.5 ns 24000771 ns 0.99
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128) 19467660 ns 19543440.5 ns 1.00
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128) 6464583 ns 6503799 ns 0.99
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128) 6461232 ns 6489076.5 ns 1.00
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128) 6480498.5 ns 6483030.5 ns 1.00

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

@avik-pal
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/105753

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.40 -m "<description of version>" 3447cdd838798084b89720f51e4a3a603a40d7aa
git push origin v0.5.40

Please sign in to comment.