Skip to content

Commit

Permalink
Try fix artifact fetch to read-only filesystem on GitHub Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Oct 27, 2024
1 parent 0e2cd78 commit 42942e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/regenerate-mlir-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
Pkg.add("JuliaFormatter")
- run: julia --project=. -e 'using Pkg; pkg"instantiate"'
working-directory: ./deps/ReactantExtra
env:
JULIA_DEPOT_PATH: ${{ runner.temp }}/julia_depot
- run: julia make-bindings.jl
working-directory: ./deps/ReactantExtra
env:
JULIA_DEPOT_PATH: ${{ runner.temp }}/julia_depot
- run: |
chmod -R u+rw ./src/mlir/Dialects/
chmod u+rw ./src/mlir/libMLIR_h.jl
Expand Down

1 comment on commit 42942e0

@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: 42942e0 Previous: 0e2cd78 Ratio
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :after_enzyme) 1325006950 ns 1253914991 ns 1.06
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Reactant 1235896790 ns 1313550312 ns 0.94
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :before_enzyme) 1260870880 ns 1289530032 ns 0.98
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :only_enzyme) 2354818253 ns 2471847121 ns 0.95
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Lux 208350792 ns 214028961 ns 0.97
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme) 5855977297 ns 5274924702 ns 1.11
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant 5221394418 ns 6071911149 ns 0.86
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme) 5167730933 ns 5130491661 ns 1.01
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme) 7329557931 ns 6918679637 ns 1.06
ViT base (256 x 256 x 3 x 32)/forward/CPU/Lux 33799289512 ns 36679290663 ns 0.92
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :after_enzyme) 1288968381 ns 1311164623 ns 0.98
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Reactant 1367739710.5 ns 1254537508.5 ns 1.09
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :before_enzyme) 1241844781 ns 1191311446.5 ns 1.04
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :only_enzyme) 2383293970 ns 2328680582 ns 1.02
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Lux 8825641 ns 8826361 ns 1.00
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme) 1947817634 ns 1565760477 ns 1.24
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant 1582676667 ns 1552005190 ns 1.02
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme) 1587980197 ns 1537805276 ns 1.03
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme) 2835816387 ns 2759960523 ns 1.03
ViT small (256 x 256 x 3 x 4)/forward/CPU/Lux 3059951855 ns 2921175858.5 ns 1.05
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :after_enzyme) 1383755457.5 ns 1474222933 ns 0.94
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Reactant 1446515309 ns 1239362666.5 ns 1.17
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :before_enzyme) 1261596782 ns 1313069664 ns 0.96
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :only_enzyme) 2589819311 ns 2508320871 ns 1.03
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Lux 22684780 ns 22697774 ns 1.00
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme) 2197648970 ns 2145152905 ns 1.02
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant 2228789213 ns 2175744176 ns 1.02
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme) 2201537016 ns 2159120670 ns 1.02
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme) 3498815180 ns 3386821489 ns 1.03
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Lux 5675046852 ns 5778911115 ns 0.98
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :after_enzyme) 1286548945 ns 1223003140.5 ns 1.05
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Reactant 1286795640 ns 1247984959.5 ns 1.03
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :before_enzyme) 1307418594.5 ns 1259430848 ns 1.04
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :only_enzyme) 2562260509 ns 2391121753 ns 1.07
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Lux 7586742.5 ns 6544743 ns 1.16
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme) 1477416147 ns 1415937281 ns 1.04
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant 1459717161 ns 1416011303 ns 1.03
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme) 1427023275 ns 1405580370 ns 1.02
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme) 2666201644 ns 2623237530 ns 1.02
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Lux 1191242722 ns 1265262383 ns 0.94
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :after_enzyme) 1237383506.5 ns 1237811756 ns 1.00
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Reactant 1281328564 ns 1325665225 ns 0.97
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :before_enzyme) 1283366518 ns 1275756769.5 ns 1.01
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :only_enzyme) 2571097612 ns 2532118794 ns 1.02
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Lux 12172844 ns 12249082 ns 0.99
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme) 1744895489 ns 1700918483 ns 1.03
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant 1744209257 ns 1688391116 ns 1.03
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme) 1741523121 ns 1691224758 ns 1.03
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme) 2952374286 ns 2909754771 ns 1.01
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Lux 3161120339.5 ns 3130725340.5 ns 1.01
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :after_enzyme) 1246653286 ns 1426574699 ns 0.87
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Reactant 1235082506.5 ns 1185837525 ns 1.04
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :before_enzyme) 1256777245.5 ns 1211526304.5 ns 1.04
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :only_enzyme) 2464259574 ns 2297841025 ns 1.07
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Lux 27204139 ns 27328050.5 ns 1.00
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme) 2222730518 ns 2168675734 ns 1.02
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant 2224096501 ns 2140302273 ns 1.04
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme) 2192837165 ns 2158768532 ns 1.02
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme) 3433421300 ns 3378118459 ns 1.02
ViT small (256 x 256 x 3 x 16)/forward/CPU/Lux 5511062562 ns 6074321132.5 ns 0.91
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :after_enzyme) 1275826558 ns 1190081980 ns 1.07
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Reactant 1269696500.5 ns 1244933579.5 ns 1.02
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :before_enzyme) 1268437005 ns 1238379610.5 ns 1.02
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Reactant (optimize = :only_enzyme) 2335849488 ns 2441888225 ns 0.96
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Lux 52614815 ns 52611669 ns 1.00
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :after_enzyme) 3004532618 ns 3057790981 ns 0.98
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant 3029206535 ns 3095002996 ns 0.98
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :before_enzyme) 3106275502 ns 3013138214 ns 1.03
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant (optimize = :only_enzyme) 4523804192 ns 4316364644 ns 1.05
ViT small (256 x 256 x 3 x 32)/forward/CPU/Lux 13248514271 ns 15676777261 ns 0.85
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :after_enzyme) 1287364685 ns 1226707265 ns 1.05
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Reactant 1270728075 ns 1243310175 ns 1.02
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :before_enzyme) 1211872705.5 ns 1236011148 ns 0.98
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Reactant (optimize = :only_enzyme) 2307284213 ns 2376709482 ns 0.97
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Lux 70823960.5 ns 70675509 ns 1.00
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :after_enzyme) 3242934004 ns 3385043788 ns 0.96
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant 3261225461 ns 3436194343 ns 0.95
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :before_enzyme) 3276733542 ns 3204367776 ns 1.02
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant (optimize = :only_enzyme) 4672103022 ns 4566944678 ns 1.02
ViT base (256 x 256 x 3 x 16)/forward/CPU/Lux 12733986436 ns 15182292720 ns 0.84
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :after_enzyme) 1198686032 ns 1229933217 ns 0.97
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Reactant 1202407868 ns 1239348780.5 ns 0.97
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :before_enzyme) 1268714295.5 ns 1219935097.5 ns 1.04
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Reactant (optimize = :only_enzyme) 2558419074 ns 2336056718 ns 1.10
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Lux 20788095 ns 20675012.5 ns 1.01
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :after_enzyme) 1877899848 ns 1848417271 ns 1.02
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant 1956925868 ns 1863893342 ns 1.05
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :before_enzyme) 2314364652 ns 1862653583 ns 1.24
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant (optimize = :only_enzyme) 3172070657 ns 3062369690 ns 1.04
ViT base (256 x 256 x 3 x 4)/forward/CPU/Lux 4073780422 ns 3894158827 ns 1.05

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

Please sign in to comment.