Skip to content

Commit af3f1fb

Browse files
committed
ci: get Avik a tpu
1 parent 6610cb2 commit af3f1fb

File tree

4 files changed

+126
-244
lines changed

4 files changed

+126
-244
lines changed

.buildkite/pipeline.yml

Lines changed: 85 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,94 @@
1-
steps:
2-
- group: ":test_tube: Tests"
3-
steps:
4-
- label: ":julia: :linux: CUDA Julia v{{matrix.version}} -- {{matrix.group}} -- {{matrix.runtime}}"
5-
matrix:
6-
setup:
7-
version:
8-
- "1.10"
9-
group:
10-
- core
11-
- neural_networks
12-
- integration
13-
runtime:
14-
- "PJRT"
15-
- "IFRT"
16-
plugins:
17-
- JuliaCI/julia#v1:
18-
version: "{{matrix.version}}"
19-
- JuliaCI/julia-coverage#v1:
20-
codecov: true
21-
dirs:
22-
- src
23-
- ext
24-
- lib/ReactantCore/src
25-
commands: |
26-
touch LocalPreferences.toml
1+
# steps:
2+
# - group: ":test_tube: Tests"
3+
# steps:
4+
# - label: ":julia: :linux: CUDA Julia v{{matrix.version}} -- {{matrix.group}} -- {{matrix.runtime}}"
5+
# matrix:
6+
# setup:
7+
# version:
8+
# - "1.10"
9+
# group:
10+
# - core
11+
# - neural_networks
12+
# - integration
13+
# runtime:
14+
# - "PJRT"
15+
# - "IFRT"
16+
# plugins:
17+
# - JuliaCI/julia#v1:
18+
# version: "{{matrix.version}}"
19+
# - JuliaCI/julia-coverage#v1:
20+
# codecov: true
21+
# dirs:
22+
# - src
23+
# - ext
24+
# - lib/ReactantCore/src
25+
# commands: |
26+
# touch LocalPreferences.toml
2727

28-
echo "[Reactant]" >> LocalPreferences.toml
29-
echo "xla_runtime = \"{{matrix.runtime}}\"" >> LocalPreferences.toml
28+
# echo "[Reactant]" >> LocalPreferences.toml
29+
# echo "xla_runtime = \"{{matrix.runtime}}\"" >> LocalPreferences.toml
3030

31-
cat LocalPreferences.toml
31+
# cat LocalPreferences.toml
3232

33-
julia --project=. -e 'println("--- :julia: Instantiating project")
34-
using Pkg
35-
Pkg.develop([PackageSpec(path="lib/ReactantCore")])'
33+
# julia --project=. -e 'println("--- :julia: Instantiating project")
34+
# using Pkg
35+
# Pkg.develop([PackageSpec(path="lib/ReactantCore")])'
3636

37-
julia --project=. -e 'println("--- :julia: Run Tests")
38-
using Pkg
39-
Pkg.test(; coverage="user")'
40-
agents:
41-
queue: "juliagpu"
42-
cuda: "*"
43-
env:
44-
REACTANT_TEST_GROUP: "{{matrix.group}}"
45-
JULIA_DEBUG: "Reactant,Reactant_jll"
46-
CUDA_VISIBLE_DEVICES: 0
47-
REACTANT_BACKEND_GROUP: "GPU"
48-
if: build.message !~ /\[skip tests\]/
49-
timeout_in_minutes: 120
37+
# julia --project=. -e 'println("--- :julia: Run Tests")
38+
# using Pkg
39+
# Pkg.test(; coverage="user")'
40+
# agents:
41+
# queue: "juliagpu"
42+
# cuda: "*"
43+
# env:
44+
# REACTANT_TEST_GROUP: "{{matrix.group}}"
45+
# JULIA_DEBUG: "Reactant,Reactant_jll"
46+
# CUDA_VISIBLE_DEVICES: 0
47+
# REACTANT_BACKEND_GROUP: "GPU"
48+
# if: build.message !~ /\[skip tests\]/
49+
# timeout_in_minutes: 120
5050

51-
# - label: ":julia: :linux: AMDGPU Julia v{{matrix.version}} -- {{matrix.group}} -- {{matrix.runtime}}"
52-
# matrix:
53-
# setup:
54-
# version:
55-
# - "1.10"
56-
# group:
57-
# - core
58-
# - neural_networks
59-
# - integration
60-
# runtime:
61-
# - "IFRT"
62-
# plugins:
63-
# - JuliaCI/julia#v1:
64-
# version: "{{matrix.version}}"
65-
# - JuliaCI/julia-coverage#v1:
66-
# codecov: true
67-
# dirs:
68-
# - src
69-
# - ext
70-
# - lib/ReactantCore/src
71-
# agents:
72-
# queue: "juliagpu"
73-
# rocm: "*"
74-
# commands: |
75-
# touch LocalPreferences.toml
51+
# # - label: ":julia: :linux: AMDGPU Julia v{{matrix.version}} -- {{matrix.group}} -- {{matrix.runtime}}"
52+
# # matrix:
53+
# # setup:
54+
# # version:
55+
# # - "1.10"
56+
# # group:
57+
# # - core
58+
# # - neural_networks
59+
# # - integration
60+
# # runtime:
61+
# # - "IFRT"
62+
# # plugins:
63+
# # - JuliaCI/julia#v1:
64+
# # version: "{{matrix.version}}"
65+
# # - JuliaCI/julia-coverage#v1:
66+
# # codecov: true
67+
# # dirs:
68+
# # - src
69+
# # - ext
70+
# # - lib/ReactantCore/src
71+
# # agents:
72+
# # queue: "juliagpu"
73+
# # rocm: "*"
74+
# # commands: |
75+
# # touch LocalPreferences.toml
7676

77-
# echo "[Reactant]" >> LocalPreferences.toml
78-
# echo "xla_runtime = \"{{matrix.runtime}}\"" >> LocalPreferences.toml
77+
# # echo "[Reactant]" >> LocalPreferences.toml
78+
# # echo "xla_runtime = \"{{matrix.runtime}}\"" >> LocalPreferences.toml
7979

80-
# cat LocalPreferences.toml
80+
# # cat LocalPreferences.toml
8181

82-
# julia --project=. -e 'println("--- :julia: Instantiating project")
83-
# using Pkg
84-
# Pkg.develop([PackageSpec(path="lib/ReactantCore")])'
82+
# # julia --project=. -e 'println("--- :julia: Instantiating project")
83+
# # using Pkg
84+
# # Pkg.develop([PackageSpec(path="lib/ReactantCore")])'
8585

86-
# julia --project=. -e 'println("--- :julia: Run Tests")
87-
# using Pkg
88-
# Pkg.test(; coverage="user")'
89-
# env:
90-
# REACTANT_TEST_GROUP: "{{matrix.group}}"
91-
# JULIA_DEBUG: "Reactant,Reactant_jll"
92-
# CUDA_VISIBLE_DEVICES: 0
93-
# if: build.message !~ /\[skip tests\]/
94-
# timeout_in_minutes: 120
86+
# # julia --project=. -e 'println("--- :julia: Run Tests")
87+
# # using Pkg
88+
# # Pkg.test(; coverage="user")'
89+
# # env:
90+
# # REACTANT_TEST_GROUP: "{{matrix.group}}"
91+
# # JULIA_DEBUG: "Reactant,Reactant_jll"
92+
# # CUDA_VISIBLE_DEVICES: 0
93+
# # if: build.message !~ /\[skip tests\]/
94+
# # timeout_in_minutes: 120

.github/workflows/CI.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -34,32 +34,32 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
version:
37-
- "1.10"
37+
# - "1.10"
3838
- "1.11"
3939
# - 'nightly'
4040
os:
41-
- ubuntu-24.04
41+
# - ubuntu-24.04
4242
# `ubuntu-22.04-arm` is considered more stable than `ubuntu-24.04-arm`:
4343
# <https://github.com/orgs/community/discussions/148648#discussioncomment-12099554>.
44-
- ubuntu-22.04-arm
44+
# - ubuntu-22.04-arm
4545
# Disable `macOS-13` until
4646
# <https://github.com/EnzymeAD/Reactant.jl/issues/867> is resolved.
4747
# - macOS-13
48-
- macOS-latest
49-
- windows-latest
48+
# - macOS-latest
49+
# - windows-latest
5050
- linux-x86-ct6e-180-4tpu
5151
test_group:
5252
- core
53-
- neural_networks
54-
- integration
53+
# - neural_networks
54+
# - integration
5555
runtime:
56-
- "pjrt"
56+
# - "pjrt"
5757
- "ifrt"
58-
exclude:
59-
- os: linux-x86-ct6e-180-4tpu
60-
version: "1.10"
61-
- os: linux-x86-ct6e-180-4tpu
62-
runtime: "pjrt"
58+
# exclude:
59+
# - os: linux-x86-ct6e-180-4tpu
60+
# version: "1.10"
61+
# - os: linux-x86-ct6e-180-4tpu
62+
# runtime: "pjrt"
6363
uses: ./.github/workflows/CommonCI.yml
6464
with:
6565
julia_version: ${{ matrix.version }}
@@ -86,21 +86,21 @@ jobs:
8686
# assertions: true
8787
# test_group: ${{ matrix.test_group }}
8888

89-
downgrade:
90-
strategy:
91-
fail-fast: false
92-
matrix:
93-
test_group:
94-
- core
95-
- neural_networks
96-
- integration
97-
runtime:
98-
- "pjrt"
99-
- "ifrt"
100-
uses: ./.github/workflows/CommonCI.yml
101-
with:
102-
julia_version: "1.10"
103-
os: "ubuntu-24.04"
104-
runtime: ${{ matrix.runtime }}
105-
test_group: ${{ matrix.test_group }}
106-
downgrade_testing: true
89+
# downgrade:
90+
# strategy:
91+
# fail-fast: false
92+
# matrix:
93+
# test_group:
94+
# - core
95+
# - neural_networks
96+
# - integration
97+
# runtime:
98+
# - "pjrt"
99+
# - "ifrt"
100+
# uses: ./.github/workflows/CommonCI.yml
101+
# with:
102+
# julia_version: "1.10"
103+
# os: "ubuntu-24.04"
104+
# runtime: ${{ matrix.runtime }}
105+
# test_group: ${{ matrix.test_group }}
106+
# downgrade_testing: true

0 commit comments

Comments
 (0)