Skip to content

Commit

Permalink
Merge pull request #688 from LuxDL/compathelper/new_version/2024-06-0…
Browse files Browse the repository at this point in the history
…7-01-02-31-104-02382631395

CompatHelper: bump compat for Turing to 0.33 for package BayesianNN, (keep existing compat)
  • Loading branch information
avik-pal authored Jun 7, 2024
2 parents 44c7df2 + f7a24ac commit 0913d81
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, 0.32"
Turing = "0.30, 0.31, 0.32, 0.33"
Zygote = "0.6.69"

1 comment on commit 0913d81

@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: 0913d81 Previous: 44c7df2 Ratio
Dense(2 => 2)/cpu/reverse/ReverseDiff (compiled)/(2, 128) 3722 ns 3691.875 ns 1.01
Dense(2 => 2)/cpu/reverse/Zygote/(2, 128) 7138.333333333333 ns 7194.333333333334 ns 0.99
Dense(2 => 2)/cpu/reverse/Tracker/(2, 128) 21371 ns 20769 ns 1.03
Dense(2 => 2)/cpu/reverse/ReverseDiff/(2, 128) 9796.4 ns 9776.4 ns 1.00
Dense(2 => 2)/cpu/reverse/Flux/(2, 128) 9029 ns 8992.8 ns 1.00
Dense(2 => 2)/cpu/reverse/SimpleChains/(2, 128) 4483.5 ns 4498.5 ns 1.00
Dense(2 => 2)/cpu/reverse/Enzyme/(2, 128) 1162.527397260274 ns 1160.1654676258993 ns 1.00
Dense(2 => 2)/cpu/forward/NamedTuple/(2, 128) 1123.866883116883 ns 1130.8219178082193 ns 0.99
Dense(2 => 2)/cpu/forward/ComponentArray/(2, 128) 1185.589552238806 ns 1170.7714285714285 ns 1.01
Dense(2 => 2)/cpu/forward/Flux/(2, 128) 1781.85 ns 1787.6296296296296 ns 1.00
Dense(2 => 2)/cpu/forward/SimpleChains/(2, 128) 179.8589562764457 ns 180.70662905500706 ns 1.00
Dense(20 => 20)/cpu/reverse/ReverseDiff (compiled)/(20, 128) 17272 ns 17292 ns 1.00
Dense(20 => 20)/cpu/reverse/Zygote/(20, 128) 17183 ns 16831 ns 1.02
Dense(20 => 20)/cpu/reverse/Tracker/(20, 128) 39975 ns 38994 ns 1.03
Dense(20 => 20)/cpu/reverse/ReverseDiff/(20, 128) 29385 ns 29205 ns 1.01
Dense(20 => 20)/cpu/reverse/Flux/(20, 128) 20368.5 ns 19977 ns 1.02
Dense(20 => 20)/cpu/reverse/SimpleChains/(20, 128) 17253 ns 17332 ns 1.00
Dense(20 => 20)/cpu/reverse/Enzyme/(20, 128) 4352.428571428572 ns 4332.428571428572 ns 1.00
Dense(20 => 20)/cpu/forward/NamedTuple/(20, 128) 3897.375 ns 3867.25 ns 1.01
Dense(20 => 20)/cpu/forward/ComponentArray/(20, 128) 3958.625 ns 3938.625 ns 1.01
Dense(20 => 20)/cpu/forward/Flux/(20, 128) 4896.428571428572 ns 4872.714285714286 ns 1.00
Dense(20 => 20)/cpu/forward/SimpleChains/(20, 128) 1661.1 ns 1655.1 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 3, 128) 47444763 ns 40455210.5 ns 1.17
Conv((3, 3), 3 => 3)/cpu/reverse/Zygote/(64, 64, 3, 128) 58136701 ns 57510062 ns 1.01
Conv((3, 3), 3 => 3)/cpu/reverse/Tracker/(64, 64, 3, 128) 109888951 ns 110481449.5 ns 0.99
Conv((3, 3), 3 => 3)/cpu/reverse/ReverseDiff/(64, 64, 3, 128) 107649518 ns 102190236 ns 1.05
Conv((3, 3), 3 => 3)/cpu/reverse/Flux/(64, 64, 3, 128) 84850803.5 ns 75629986 ns 1.12
Conv((3, 3), 3 => 3)/cpu/reverse/SimpleChains/(64, 64, 3, 128) 11703374 ns 11648892 ns 1.00
Conv((3, 3), 3 => 3)/cpu/reverse/Enzyme/(64, 64, 3, 128) 17810409 ns 17697571 ns 1.01
Conv((3, 3), 3 => 3)/cpu/forward/NamedTuple/(64, 64, 3, 128) 7073859 ns 6988847 ns 1.01
Conv((3, 3), 3 => 3)/cpu/forward/ComponentArray/(64, 64, 3, 128) 6986070 ns 6972446 ns 1.00
Conv((3, 3), 3 => 3)/cpu/forward/Flux/(64, 64, 3, 128) 18013332 ns 18187268 ns 0.99
Conv((3, 3), 3 => 3)/cpu/forward/SimpleChains/(64, 64, 3, 128) 6417450 ns 6420991 ns 1.00
vgg16/cpu/reverse/Zygote/(32, 32, 3, 16) 760294781 ns 754218821 ns 1.01
vgg16/cpu/reverse/Zygote/(32, 32, 3, 64) 2547962999 ns 2592502106 ns 0.98
vgg16/cpu/reverse/Zygote/(32, 32, 3, 2) 148653908.5 ns 133677399.5 ns 1.11
vgg16/cpu/reverse/Tracker/(32, 32, 3, 16) 975917312.5 ns 905570925.5 ns 1.08
vgg16/cpu/reverse/Tracker/(32, 32, 3, 64) 3543598532 ns 3455086654 ns 1.03
vgg16/cpu/reverse/Tracker/(32, 32, 3, 2) 258164941 ns 254098433 ns 1.02
vgg16/cpu/reverse/Flux/(32, 32, 3, 16) 841492108.5 ns 805232313 ns 1.05
vgg16/cpu/reverse/Flux/(32, 32, 3, 64) 2995403559 ns 3068974201 ns 0.98
vgg16/cpu/reverse/Flux/(32, 32, 3, 2) 152420409 ns 152570535 ns 1.00
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 16) 173734545 ns 171761021 ns 1.01
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 64) 652860171.5 ns 644043304.5 ns 1.01
vgg16/cpu/forward/NamedTuple/(32, 32, 3, 2) 34689561 ns 45477764 ns 0.76
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 16) 164644931 ns 164865782.5 ns 1.00
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 64) 644016941 ns 633313158 ns 1.02
vgg16/cpu/forward/ComponentArray/(32, 32, 3, 2) 30258337.5 ns 30322487 ns 1.00
vgg16/cpu/forward/Flux/(32, 32, 3, 16) 222517540.5 ns 232047481 ns 0.96
vgg16/cpu/forward/Flux/(32, 32, 3, 64) 850497083 ns 879822740 ns 0.97
vgg16/cpu/forward/Flux/(32, 32, 3, 2) 37426850.5 ns 40075801 ns 0.93
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 64, 128) 1336712734 ns 1330226877 ns 1.00
Conv((3, 3), 64 => 64)/cpu/reverse/Zygote/(64, 64, 64, 128) 1886391564.5 ns 1863904304 ns 1.01
Conv((3, 3), 64 => 64)/cpu/reverse/Tracker/(64, 64, 64, 128) 2439396346 ns 2404717158 ns 1.01
Conv((3, 3), 64 => 64)/cpu/reverse/ReverseDiff/(64, 64, 64, 128) 2664856430 ns 2484926261 ns 1.07
Conv((3, 3), 64 => 64)/cpu/reverse/Flux/(64, 64, 64, 128) 1930823462.5 ns 1959810447.5 ns 0.99
Conv((3, 3), 64 => 64)/cpu/reverse/Enzyme/(64, 64, 64, 128) 558264207 ns 554327507 ns 1.01
Conv((3, 3), 64 => 64)/cpu/forward/NamedTuple/(64, 64, 64, 128) 326524856 ns 318078538 ns 1.03
Conv((3, 3), 64 => 64)/cpu/forward/ComponentArray/(64, 64, 64, 128) 330220091 ns 316575993 ns 1.04
Conv((3, 3), 64 => 64)/cpu/forward/Flux/(64, 64, 64, 128) 487080425.5 ns 464648255 ns 1.05
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 1, 128) 12010879 ns 13410717.5 ns 0.90
Conv((3, 3), 1 => 1)/cpu/reverse/Zygote/(64, 64, 1, 128) 18073698 ns 17770943 ns 1.02
Conv((3, 3), 1 => 1)/cpu/reverse/Tracker/(64, 64, 1, 128) 19247966 ns 19077330 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/ReverseDiff/(64, 64, 1, 128) 24037250 ns 23824744 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Flux/(64, 64, 1, 128) 18077227 ns 17819478 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/SimpleChains/(64, 64, 1, 128) 1171603 ns 1161292 ns 1.01
Conv((3, 3), 1 => 1)/cpu/reverse/Enzyme/(64, 64, 1, 128) 5852949.5 ns 5765463 ns 1.02
Conv((3, 3), 1 => 1)/cpu/forward/NamedTuple/(64, 64, 1, 128) 2061247 ns 2052156 ns 1.00
Conv((3, 3), 1 => 1)/cpu/forward/ComponentArray/(64, 64, 1, 128) 2058760 ns 2025957 ns 1.02
Conv((3, 3), 1 => 1)/cpu/forward/Flux/(64, 64, 1, 128) 2106164.5 ns 2061884 ns 1.02
Conv((3, 3), 1 => 1)/cpu/forward/SimpleChains/(64, 64, 1, 128) 197542 ns 202511 ns 0.98
Dense(200 => 200)/cpu/reverse/ReverseDiff (compiled)/(200, 128) 293462 ns 294748.5 ns 1.00
Dense(200 => 200)/cpu/reverse/Zygote/(200, 128) 267553 ns 265399 ns 1.01
Dense(200 => 200)/cpu/reverse/Tracker/(200, 128) 367001 ns 368182 ns 1.00
Dense(200 => 200)/cpu/reverse/ReverseDiff/(200, 128) 406926 ns 409013.5 ns 0.99
Dense(200 => 200)/cpu/reverse/Flux/(200, 128) 274727 ns 274551 ns 1.00
Dense(200 => 200)/cpu/reverse/SimpleChains/(200, 128) 408018 ns 408848 ns 1.00
Dense(200 => 200)/cpu/reverse/Enzyme/(200, 128) 83087 ns 83247 ns 1.00
Dense(200 => 200)/cpu/forward/NamedTuple/(200, 128) 81092 ns 81223 ns 1.00
Dense(200 => 200)/cpu/forward/ComponentArray/(200, 128) 81925 ns 81283 ns 1.01
Dense(200 => 200)/cpu/forward/Flux/(200, 128) 87579.5 ns 86723 ns 1.01
Dense(200 => 200)/cpu/forward/SimpleChains/(200, 128) 104697 ns 104877 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff (compiled)/(64, 64, 16, 128) 202989353 ns 199520489 ns 1.02
Conv((3, 3), 16 => 16)/cpu/reverse/Zygote/(64, 64, 16, 128) 328775319 ns 325433976.5 ns 1.01
Conv((3, 3), 16 => 16)/cpu/reverse/Tracker/(64, 64, 16, 128) 440894408 ns 427676518.5 ns 1.03
Conv((3, 3), 16 => 16)/cpu/reverse/ReverseDiff/(64, 64, 16, 128) 483293045 ns 499153853 ns 0.97
Conv((3, 3), 16 => 16)/cpu/reverse/Flux/(64, 64, 16, 128) 409330078.5 ns 407472798 ns 1.00
Conv((3, 3), 16 => 16)/cpu/reverse/SimpleChains/(64, 64, 16, 128) 327695827 ns 336471795 ns 0.97
Conv((3, 3), 16 => 16)/cpu/reverse/Enzyme/(64, 64, 16, 128) 101257055.5 ns 103161258.5 ns 0.98
Conv((3, 3), 16 => 16)/cpu/forward/NamedTuple/(64, 64, 16, 128) 44263361.5 ns 43763857 ns 1.01
Conv((3, 3), 16 => 16)/cpu/forward/ComponentArray/(64, 64, 16, 128) 44322824.5 ns 43630794.5 ns 1.02
Conv((3, 3), 16 => 16)/cpu/forward/Flux/(64, 64, 16, 128) 68874052.5 ns 66100524.5 ns 1.04
Conv((3, 3), 16 => 16)/cpu/forward/SimpleChains/(64, 64, 16, 128) 29030318 ns 28473762 ns 1.02
Dense(2000 => 2000)/cpu/reverse/ReverseDiff (compiled)/(2000, 128) 19024938 ns 18934851 ns 1.00
Dense(2000 => 2000)/cpu/reverse/Zygote/(2000, 128) 19572080.5 ns 19470036 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Tracker/(2000, 128) 23527900 ns 23533290 ns 1.00
Dense(2000 => 2000)/cpu/reverse/ReverseDiff/(2000, 128) 24288344 ns 24146522 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Flux/(2000, 128) 19781013 ns 19609939.5 ns 1.01
Dense(2000 => 2000)/cpu/reverse/Enzyme/(2000, 128) 6537819 ns 6543017 ns 1.00
Dense(2000 => 2000)/cpu/forward/NamedTuple/(2000, 128) 6573838 ns 6497406 ns 1.01
Dense(2000 => 2000)/cpu/forward/ComponentArray/(2000, 128) 6536567 ns 6479898.5 ns 1.01
Dense(2000 => 2000)/cpu/forward/Flux/(2000, 128) 6508655 ns 6486741 ns 1.00

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

Please sign in to comment.