-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: generalize indexing to all wrappers (#146)
* feat: generalize indexing to all wrappers * test: use `PermuteDimsArray` to test parentindices
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8435c5e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reactant.jl Benchmarks
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Reactant
1368821584
ns1342236532
ns1.02
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Lux
218425022
ns217334200
ns1.01
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant
6050106855
ns7478176179
ns0.81
ViT base (256 x 256 x 3 x 32)/forward/CPU/Lux
15488677309
ns18457674181
ns0.84
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Reactant
1325902484
ns1240775517.5
ns1.07
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Lux
9023661
ns8429118
ns1.07
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant
1609420383
ns1705665564
ns0.94
ViT small (256 x 256 x 3 x 4)/forward/CPU/Lux
2794718192
ns2181011809.5
ns1.28
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Reactant
1294577037
ns1270663182
ns1.02
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Lux
95904983
ns87661764.5
ns1.09
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant
2174332771
ns2264035064
ns0.96
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Lux
6821449717
ns12598148585
ns0.54
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Reactant
1325701874
ns1296031343.5
ns1.02
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Lux
7473938
ns7435714
ns1.01
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant
1465073203
ns1522842192
ns0.96
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Lux
1463367147.5
ns1593852319
ns0.92
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Reactant
1326350975.5
ns1290749033
ns1.03
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Lux
11629254
ns11587944
ns1.00
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant
1757970313
ns1829919441
ns0.96
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Lux
3444375485.5
ns2589622924
ns1.33
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Reactant
1298097547.5
ns1278886629
ns1.02
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Lux
88846123
ns88840313
ns1.00
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant
2210026137
ns2317384176
ns0.95
ViT small (256 x 256 x 3 x 16)/forward/CPU/Lux
4242489815
ns3974355306
ns1.07
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Reactant
1276575769.5
ns1286135780.5
ns0.99
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Lux
115004565
ns115595273.5
ns0.99
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant
3089232880
ns3066839756
ns1.01
ViT small (256 x 256 x 3 x 32)/forward/CPU/Lux
17522163039
ns7963080791
ns2.20
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Reactant
1322144951.5
ns1298156213
ns1.02
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Lux
125463399
ns120812566
ns1.04
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant
3222833870
ns3345928889
ns0.96
ViT base (256 x 256 x 3 x 16)/forward/CPU/Lux
6170636132
ns12142011305
ns0.51
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Reactant
1280369557
ns1361020077
ns0.94
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Lux
84708910.5
ns87717808.5
ns0.97
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant
2107430045
ns1957704050
ns1.08
ViT base (256 x 256 x 3 x 4)/forward/CPU/Lux
2642122582
ns2423933291
ns1.09
This comment was automatically generated by workflow using github-action-benchmark.