-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bypass segfault with fill complex (#245)
* fix: bypass segfault with fill complex * test: simpler promote_to testing * fix: `MLIR.IR.DenseElementsAttribute` definition for bool arrays
- Loading branch information
Showing
5 changed files
with
19 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
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
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
1ff11c9
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/CPU/Reactant (optimize = :after_enzyme)
6384860404
ns7027955167
ns0.91
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant
5301328245
ns5911790203
ns0.90
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme)
5203462205
ns5039003346
ns1.03
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme)
7305272771
ns7620308614
ns0.96
ViT base (256 x 256 x 3 x 32)/forward/CPU/Lux
34987991089
ns31357074001
ns1.12
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme)
1561591277
ns1572787384
ns0.99
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant
1557307113
ns1548995246
ns1.01
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme)
1542360845
ns1555509740
ns0.99
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme)
3316796244
ns3467552492
ns0.96
ViT small (256 x 256 x 3 x 4)/forward/CPU/Lux
3043968768
ns3419731143
ns0.89
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme)
2146877682
ns2180418814
ns0.98
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant
2131581565
ns2173460673
ns0.98
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme)
2138865967
ns2158353524
ns0.99
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme)
3910063623
ns3927830322
ns1.00
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Lux
5708530964
ns6253378741.5
ns0.91
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme)
1416785120
ns1440134479
ns0.98
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant
1421169200
ns1421557207
ns1.00
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme)
1406671878
ns1428360591
ns0.98
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme)
3159231592
ns3208488833
ns0.98
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Lux
1143922805
ns1139085595.5
ns1.00
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme)
1719831635
ns1712651271
ns1.00
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant
1705729225
ns1706763760
ns1.00
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme)
1700558831
ns1704312368
ns1.00
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme)
3451683364
ns3479746822
ns0.99
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Lux
3140401890
ns3154626911
ns1.00
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme)
2158380749
ns2175602283
ns0.99
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant
2164881935
ns2162683110
ns1.00
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme)
2126575115
ns2187544254
ns0.97
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme)
3935604871
ns3928792736
ns1.00
ViT small (256 x 256 x 3 x 16)/forward/CPU/Lux
5762722471.5
ns6172504320
ns0.93
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme)
3016029772
ns2997646442
ns1.01
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant
2981006759
ns2957532725
ns1.01
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme)
2989746439
ns2960803098
ns1.01
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme)
4846949677
ns4863944327
ns1.00
ViT small (256 x 256 x 3 x 32)/forward/CPU/Lux
10864111732
ns22191688400
ns0.49
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme)
3166559857
ns3157390991
ns1.00
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant
3144854123
ns3212937029
ns0.98
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme)
3165468463
ns3419812778
ns0.93
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme)
5000879641
ns5010112071
ns1.00
ViT base (256 x 256 x 3 x 16)/forward/CPU/Lux
15188174420
ns10940648930
ns1.39
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme)
1819847550
ns1843742771
ns0.99
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant
1826616736
ns1827524417
ns1.00
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme)
1850176920
ns1842645194
ns1.00
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme)
3562720585
ns3593953850
ns0.99
ViT base (256 x 256 x 3 x 4)/forward/CPU/Lux
4485724051
ns3544018917
ns1.27
This comment was automatically generated by workflow using github-action-benchmark.