Skip to content

Commit 8670770

Browse files
avik-palwsmosesmofeing
authored
ci(buildkite): fix scripts (#71)
* ci(buildkite): fix scripts * ci(buildkite): use `test_args` * ci(buildkite): use plugins * ci(buildkite): comment out AMDGPU for now * test(flux): remove non-reactant code * Revert "ci(buildkite): comment out AMDGPU for now" This reverts commit 87ca197. * Reapply "ci(buildkite): comment out AMDGPU for now" This reverts commit 7a541fc. --------- Co-authored-by: William Moses <[email protected]> Co-authored-by: Sergio Sánchez Ramírez <[email protected]>
1 parent 1ecf88d commit 8670770

File tree

2 files changed

+28
-33
lines changed

2 files changed

+28
-33
lines changed

.buildkite/pipeline.yml

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,41 +8,39 @@ steps:
88
plugins:
99
- JuliaCI/julia#v1:
1010
version: "{{matrix.version}}"
11+
- JuliaCI/julia-test#v1:
12+
test_args: "--gpu"
13+
- JuliaCI/julia-coverage#v1:
14+
codecov: true
15+
dirs:
16+
- src
17+
- ext
1118
agents:
1219
queue: "juliagpu"
1320
cuda: "*"
1421
if: build.message !~ /\[skip tests\]/
1522
timeout_in_minutes: 60
16-
commands: |
17-
echo "--- Setup and Test"
18-
julia --color=yes -e '
19-
import Pkg
20-
Pkg.develop(; path = pwd())
21-
Pkg.test(args=["--gpu"])
22-
env:
23-
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
2423

25-
- label: "AMDGPU Julia v{{matrix.version}}"
26-
matrix:
27-
setup:
28-
version:
29-
- "1.10"
30-
plugins:
31-
- JuliaCI/julia#v1:
32-
version: "{{matrix.version}}"
33-
agents:
34-
queue: "juliagpu"
35-
rocm: "*"
36-
if: build.message !~ /\[skip tests\]/
37-
timeout_in_minutes: 60
38-
commands: |
39-
echo "--- Setup and Test"
40-
julia --color=yes -e '
41-
import Pkg
42-
Pkg.develop(; path = pwd())
43-
Pkg.test(args=["--gpu"])
44-
env:
45-
JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
24+
# - label: "AMDGPU Julia v{{matrix.version}}"
25+
# matrix:
26+
# setup:
27+
# version:
28+
# - "1.10"
29+
# plugins:
30+
# - JuliaCI/julia#v1:
31+
# version: "{{matrix.version}}"
32+
# - JuliaCI/julia-test#v1:
33+
# test_args: "--gpu"
34+
# - JuliaCI/julia-coverage#v1:
35+
# codecov: true
36+
# dirs:
37+
# - src
38+
# - ext
39+
# agents:
40+
# queue: "juliagpu"
41+
# rocm: "*"
42+
# if: build.message !~ /\[skip tests\]/
43+
# timeout_in_minutes: 60
4644

4745
# - label: "Metal Julia v{{matrix.version}}"
4846
# matrix:
@@ -70,4 +68,4 @@ steps:
7068
# echo "+++ Run tests"
7169
# julia --color=yes test/metal.jl
7270
# env:
73-
# JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager
71+
# JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager

test/nn.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ model = Chain(
1818
using BenchmarkTools
1919

2020
origout = model(noisy)
21-
@show origout[3]
22-
@btime model(noisy)
2321

2422
cmodel = Reactant.to_rarray(model)
2523
cnoisy = Reactant.ConcreteRArray(noisy)
@@ -41,7 +39,6 @@ f = Reactant.compile((a, b) -> a(b), (cmodel, cnoisy))
4139
# @show @code_typed f(cmodel,cnoisy)
4240
# @show @code_llvm f(cmodel,cnoisy)
4341
comp = f(cmodel, cnoisy)
44-
@show comp[3]
4542
# @btime f(cmodel, cnoisy)
4643
@test origout comp
4744

0 commit comments

Comments
 (0)