Skip to content

Commit

Permalink
chore: specify sources for local dev (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal authored Nov 22, 2024
1 parent 97bf7ad commit 8f9ecce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@ julia = "1.10"
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"

[sources]
ReactantCore = { path = "lib/ReactantCore" }

1 comment on commit 8f9ecce

@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.

Reactant.jl Benchmarks

Benchmark suite Current: 8f9ecce Previous: 97bf7ad Ratio
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme) 6085813494 ns 6210362195 ns 0.98
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant 5111405868 ns 5735036003 ns 0.89
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme) 5153409030 ns 5275879695 ns 0.98
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme) 7681157273 ns 7431765067 ns 1.03
ViT base (256 x 256 x 3 x 32)/forward/CPU/Lux 32132254101 ns 33171194144 ns 0.97
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme) 1551340459 ns 1553038587 ns 1.00
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant 1523981193 ns 1543277580 ns 0.99
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme) 1538264139 ns 1534690574 ns 1.00
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme) 3271082748 ns 3296506322 ns 0.99
ViT small (256 x 256 x 3 x 4)/forward/CPU/Lux 5778785258 ns 2274870712 ns 2.54
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme) 2113248655 ns 2176196590 ns 0.97
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant 2135638136 ns 2149612180 ns 0.99
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme) 2126434521 ns 2187958767 ns 0.97
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme) 3853085601 ns 3926981418 ns 0.98
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Lux 7422416365.5 ns 5699632049 ns 1.30
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme) 1415054563 ns 1487184830 ns 0.95
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant 1412553625 ns 1479317708 ns 0.95
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme) 1399807448 ns 1485573585 ns 0.94
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme) 3122953267 ns 3328538147 ns 0.94
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Lux 2764274978 ns 1128541230.5 ns 2.45
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme) 1695164078 ns 1775441707 ns 0.95
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant 1693464953 ns 1781070041 ns 0.95
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme) 1691126894 ns 1770243638 ns 0.96
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme) 3404527490 ns 3622272410 ns 0.94
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Lux 5176500836 ns 3191550201.5 ns 1.62
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme) 2082919371 ns 2260327329 ns 0.92
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant 2137291276 ns 2242602405 ns 0.95
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme) 2067164210 ns 2236526873 ns 0.92
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme) 3803151857 ns 4035446288 ns 0.94
ViT small (256 x 256 x 3 x 16)/forward/CPU/Lux 12988198720 ns 6075855044 ns 2.14
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme) 2889145249 ns 3029617019 ns 0.95
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant 2857461550 ns 3038364901 ns 0.94
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme) 2923732794 ns 3047756026 ns 0.96
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme) 4785404670 ns 5020610211 ns 0.95
ViT small (256 x 256 x 3 x 32)/forward/CPU/Lux 15176144336 ns 21336851068 ns 0.71
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme) 3019395665 ns 3358460165 ns 0.90
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant 3148786644 ns 3528781027 ns 0.89
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme) 3070612882 ns 3221856514 ns 0.95
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme) 4927747062 ns 5157120407 ns 0.96
ViT base (256 x 256 x 3 x 16)/forward/CPU/Lux 19533346922 ns 12293712706 ns 1.59
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme) 1792301283 ns 1889217446 ns 0.95
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant 1771688775 ns 1906465434 ns 0.93
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme) 1836702206 ns 1910603050 ns 0.96
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme) 3487085947 ns 3769045152 ns 0.93
ViT base (256 x 256 x 3 x 4)/forward/CPU/Lux 13923030804 ns 3405687272 ns 4.09

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

Please sign in to comment.