Skip to content

Commit

Permalink
Merge pull request #658 from LuxDL/compathelper/new_version/2024-05-1…
Browse files Browse the repository at this point in the history
…9-01-02-42-590-00601295606

CompatHelper: bump compat for Turing to 0.32 for package BayesianNN, (keep existing compat)
  • Loading branch information
avik-pal authored May 19, 2024
2 parents 6724ac9 + 0b79da2 commit 2a866be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/BayesianNN/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ Literate = "2"
Lux = "0.5"
Random = "1"
Tracker = "0.2"
Turing = "0.30, 0.31"
Turing = "0.30, 0.31, 0.32"
Zygote = "0.6.69"

1 comment on commit 2a866be

@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: 2a866be Previous: 6724ac9 Ratio
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128) 3669.375 ns 3646.875 ns 1.01
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128) 7280.333333333333 ns 7337 ns 0.99
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128) 20599 ns 20659 ns 1.00
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128) 9582 ns 9922.4 ns 0.97
Dense(2 => 2)/cpu/reverse/Flux/(2, 128) 8914.6 ns 8968.8 ns 0.99
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128) 4422 ns 4472.777777777777 ns 0.99
Dense(2 => 2)/cpu/reverse/Enzyme/(2, 128) 1198.9590163934427 ns 1194.792 ns 1.00
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128) 1112.5786163522012 ns 1181.446153846154 ns 0.94
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128) 1180.9856115107914 ns 1199.5669291338584 ns 0.98
Dense(2 => 2)/cpu/forward/Flux/(2, 128) 1794.1864406779662 ns 1810.7111111111112 ns 0.99
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128) 179.262341325811 ns 179.7208387942333 ns 1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128) 17322 ns 17262 ns 1.00
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128) 17532 ns 17212 ns 1.02
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128) 36779 ns 37130 ns 0.99
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128) 28073 ns 28464 ns 0.99
Dense(20 => 20)/cpu/reverse/Flux/(20, 128) 19877 ns 19657 ns 1.01
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128) 16801 ns 16771 ns 1.00
Dense(20 => 20)/cpu/reverse/Enzyme/(20, 128) 4333.857142857143 ns 4375.428571428572 ns 0.99
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128) 3888.625 ns 3893.625 ns 1.00
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128) 3981.25 ns 3971.125 ns 1.00
Dense(20 => 20)/cpu/forward/Flux/(20, 128) 4990.714285714285 ns 4957.857142857143 ns 1.01
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128) 1662.1 ns 1674.1 ns 0.99
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128) 38952154 ns 38480623 ns 1.01
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128) 57640902 ns 57341801 ns 1.01
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128) 71710714.5 ns 69371616.5 ns 1.03
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128) 88813041.5 ns 88450140 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128) 72723443 ns 72172285 ns 1.01
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128) 11766883 ns 11559136 ns 1.02
Conv((3, 3), 3 => 3)/cpu/reverse/Enzyme/(64, 64, 3, 128) 8476633 ns 17834505.5 ns 0.48
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128) 7046540 ns 7000169 ns 1.01
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128) 7005955 ns 6947691.5 ns 1.01
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128) 10530991 ns 10454678.5 ns 1.01
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128) 6400580 ns 6378637 ns 1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16) 709679665 ns 694999119 ns 1.02
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64) 2835972125 ns 2866181480 ns 0.99
vgg16/cpu/reverse/Zygote/(32, 32, 3, 2) 160659965 ns 146506305 ns 1.10
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16) 752407029 ns 750476425 ns 1.00
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64) 2546120620 ns 2630716964 ns 0.97
vgg16/cpu/reverse/Tracker/(32, 32, 3, 2) 196895225 ns 194373986.5 ns 1.01
vgg16/cpu/reverse/Flux/(32, 32, 3, 16) 720159708 ns 668768664 ns 1.08
vgg16/cpu/reverse/Flux/(32, 32, 3, 64) 2731538703 ns 2748635953 ns 0.99
vgg16/cpu/reverse/Flux/(32, 32, 3, 2) 124336484 ns 126367600 ns 0.98
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16) 172239449 ns 171806597.5 ns 1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64) 642436307.5 ns 643804572 ns 1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 2) 45370320 ns 34225276 ns 1.33
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16) 164713553.5 ns 164495340.5 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64) 639941245 ns 638843409 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 2) 30400796 ns 29998420 ns 1.01
vgg16/cpu/forward/Flux/(32, 32, 3, 16) 185024422.5 ns 209772045.5 ns 0.88
vgg16/cpu/forward/Flux/(32, 32, 3, 64) 742411361 ns 737830459 ns 1.01
vgg16/cpu/forward/Flux/(32, 32, 3, 2) 35336203 ns 35348717 ns 1.00
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128) 1221666322.5 ns 1014087442 ns 1.20
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128) 1870625278 ns 1862523552 ns 1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128) 2167914981.5 ns 1942536155 ns 1.12
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128) 2317427712.5 ns 2376143676 ns 0.98
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128) 1790838711.5 ns 1820279354.5 ns 0.98
Conv((3, 3), 64 => 64)/cpu/reverse/Enzyme/(64, 64, 64, 128) 350970706 ns 558114089 ns 0.63
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128) 320997548.5 ns 317173844.5 ns 1.01
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128) 321496032.5 ns 319028319.5 ns 1.01
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128) 355099855 ns 349899561 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128) 11838794 ns 11883092 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128) 17898707 ns 17732015 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128) 19130086 ns 19004948 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128) 23811780.5 ns 23822815.5 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128) 17973841 ns 17804155 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128) 1169676 ns 1167020 ns 1.00
Conv((3, 3), 1 => 1)/cpu/reverse/Enzyme/(64, 64, 1, 128) 2526472.5 ns 5846719 ns 0.43
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128) 2058818.5 ns 2045007 ns 1.01
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128) 2040219 ns 2022337 ns 1.01
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128) 2075980 ns 2063603 ns 1.01
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128) 204222 ns 196813.5 ns 1.04
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128) 291976 ns 291275 ns 1.00
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128) 266062.5 ns 267982 ns 0.99
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128) 366104 ns 367838.5 ns 1.00
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128) 409981 ns 412217 ns 0.99
Dense(200 => 200)/cpu/reverse/Flux/(200, 128) 276541.5 ns 275110 ns 1.01
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128) 408022 ns 409857 ns 1.00
Dense(200 => 200)/cpu/reverse/Enzyme/(200, 128) 83165 ns 83636 ns 0.99
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128) 81222 ns 83320.5 ns 0.97
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128) 81722 ns 82594 ns 0.99
Dense(200 => 200)/cpu/forward/Flux/(200, 128) 87032 ns 86802 ns 1.00
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128) 104516 ns 104545 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128) 188927480 ns 185167203.5 ns 1.02
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128) 324906661 ns 324992428.5 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128) 394040123 ns 396720338.5 ns 0.99
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128) 479556483 ns 445233465 ns 1.08
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128) 372077273 ns 353083476 ns 1.05
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128) 328660700.5 ns 319499707 ns 1.03
Conv((3, 3), 16 => 16)/cpu/reverse/Enzyme/(64, 64, 16, 128) 51470201 ns 101367299 ns 0.51
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128) 43859960 ns 43444745 ns 1.01
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128) 43858980 ns 43149658.5 ns 1.02
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128) 59466808 ns 57280073 ns 1.04
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128) 28625276 ns 28586608.5 ns 1.00
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128) 19049587 ns 19812828 ns 0.96
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128) 19503862 ns 19432354 ns 1.00
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128) 23216947 ns 23151289 ns 1.00
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128) 24035928 ns 24026798 ns 1.00
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128) 19591788 ns 19546815.5 ns 1.00
Dense(2000 => 2000)/cpu/reverse/Enzyme/(2000, 128) 6531167 ns 6512247 ns 1.00
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128) 6514635 ns 6512990 ns 1.00
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128) 6490360 ns 6526621 ns 0.99
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128) 6506068.5 ns 6518545 ns 1.00

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

Please sign in to comment.