Skip to content

Commit

Permalink
Build (#145)
Browse files Browse the repository at this point in the history
* Bump dependencies

* build

* darwin arm64

* fix

* fix

* Revert "fix"

This reverts commit aa00173.
  • Loading branch information
wsmoses authored Oct 3, 2024
1 parent ab92877 commit f3c65db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions deps/ReactantExtra/.bazelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build --announce_rc

query --experimental_repo_remote_exec
build --experimental_repo_remote_exec
build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
build --cxxopt=-w --host_cxxopt=-w
Expand Down
6 changes: 0 additions & 6 deletions deps/ReactantExtra/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ sed -i.bak0 "s/__cpp_lib_hardware_interference_size/HW_INTERFERENCE_SIZE/g" xla/
sed -i.bak0 "s/__cpp_lib_hardware_interference_size/HW_INTERFERENCE_SIZE/g" xla/stream_executor/host/host_kernel.cc
""",
"""
sed -i.bak0 "s/@xla\\/\\/xla\\/tsl:linux_x86_64/@bazel_tools\\/\\/src\\/conditions:linux/g" xla/tsl/mkl/build_defs.bzl
""",
"""
sed -i.bak0 "s/@xla\\/\\/xla\\/tsl:windows/@bazel_tools\\/\\/src\\/conditions:windows/g" xla/tsl/mkl/build_defs.bzl
""",
"""
sed -i.bak0 "s/patch_cmds = \\[/patch_cmds = \\[\\\"find . -type f -name config.bzl -exec sed -i.bak0 's\\/HAVE_LINK_H=1\\/HAVE_LINK_H=0\\/g' {} +\\\",/g" third_party/llvm/workspace.bzl
""",
"""
Expand Down

1 comment on commit f3c65db

@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: f3c65db Previous: ab92877 Ratio
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Reactant 1458455508 ns 1433938661 ns 1.02
ViT base (256 x 256 x 3 x 32)/forward/CUDA/Lux 251236706 ns 241225931 ns 1.04
ViT base (256 x 256 x 3 x 32)/forward/CPU/Reactant 5585368365 ns 5293983326 ns 1.06
ViT base (256 x 256 x 3 x 32)/forward/CPU/Lux 18510942516 ns 17066026908 ns 1.08
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Reactant 1416635330 ns 1370513178 ns 1.03
ViT small (256 x 256 x 3 x 4)/forward/CUDA/Lux 8999966.5 ns 8307967.5 ns 1.08
ViT small (256 x 256 x 3 x 4)/forward/CPU/Reactant 1626174510 ns 1626851066.5 ns 1.00
ViT small (256 x 256 x 3 x 4)/forward/CPU/Lux 2507000840 ns 2450375926.5 ns 1.02
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Reactant 1464452980 ns 1384065918.5 ns 1.06
ViT tiny (256 x 256 x 3 x 32)/forward/CUDA/Lux 87282999 ns 88623982 ns 0.98
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Reactant 2196952516 ns 2188317241 ns 1.00
ViT tiny (256 x 256 x 3 x 32)/forward/CPU/Lux 5380501243 ns 3783884903.5 ns 1.42
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Reactant 1539579056 ns 1401367836.5 ns 1.10
ViT tiny (256 x 256 x 3 x 4)/forward/CUDA/Lux 7997757 ns 7284208 ns 1.10
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Reactant 1478484824 ns 1462297272.5 ns 1.01
ViT tiny (256 x 256 x 3 x 4)/forward/CPU/Lux 1648231085 ns 1424961515 ns 1.16
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Reactant 1433497500 ns 1400469080 ns 1.02
ViT tiny (256 x 256 x 3 x 16)/forward/CUDA/Lux 79774892 ns 81326117.5 ns 0.98
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Reactant 1780124071 ns 1760867772 ns 1.01
ViT tiny (256 x 256 x 3 x 16)/forward/CPU/Lux 2802545314 ns 2319602333 ns 1.21
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Reactant 1366374529 ns 1367132681 ns 1.00
ViT small (256 x 256 x 3 x 16)/forward/CUDA/Lux 87273858 ns 92864268 ns 0.94
ViT small (256 x 256 x 3 x 16)/forward/CPU/Reactant 2290981311 ns 2237352484 ns 1.02
ViT small (256 x 256 x 3 x 16)/forward/CPU/Lux 4409558714 ns 4234209066 ns 1.04
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Reactant 1481595475 ns 1386068553 ns 1.07
ViT small (256 x 256 x 3 x 32)/forward/CUDA/Lux 117880246.5 ns 117300918 ns 1.00
ViT small (256 x 256 x 3 x 32)/forward/CPU/Reactant 3059007138 ns 3133188515 ns 0.98
ViT small (256 x 256 x 3 x 32)/forward/CPU/Lux 8537922961 ns 8735211128 ns 0.98
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Reactant 1475455846 ns 1391545514 ns 1.06
ViT base (256 x 256 x 3 x 16)/forward/CUDA/Lux 137789966 ns 134529716.5 ns 1.02
ViT base (256 x 256 x 3 x 16)/forward/CPU/Reactant 3144114552 ns 3316472465 ns 0.95
ViT base (256 x 256 x 3 x 16)/forward/CPU/Lux 11348055235 ns 5726214214.5 ns 1.98
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Reactant 1431172027 ns 1374340443 ns 1.04
ViT base (256 x 256 x 3 x 4)/forward/CUDA/Lux 84404630.5 ns 78982601.5 ns 1.07
ViT base (256 x 256 x 3 x 4)/forward/CPU/Reactant 1904321145.5 ns 1899222307.5 ns 1.00
ViT base (256 x 256 x 3 x 4)/forward/CPU/Lux 2628751204 ns 2483023554 ns 1.06

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

Please sign in to comment.