14
14
strategy :
15
15
matrix :
16
16
runner : ${{ fromJson(inputs.matrix) }}
17
+ include :
18
+ - image : rocm/pytorch:rocm6.2.2_ubuntu22.04_py3.10_pytorch_2.5.1_asan
19
+ - image : rocm/7.0-preview:rocm7.0_preview_ubuntu22.04_llama2_70b_training_mlperf_mi35X_prealpha
20
+ runner : ["amd-gfx950"]
17
21
env :
18
22
RUNNER_TYPE : ${{ matrix.runner[1] }}
19
23
TRITON_BUILD_WITH_CCACHE : " true"
24
28
PYTHON : " python3"
25
29
CCACHE_COMPRESS : " true"
26
30
container :
27
- image : rocm/pytorch:rocm6.2.2_ubuntu22.04_py3.10_pytorch_2.5.1_asan
31
+ image : ${{ matrix.image }}
28
32
options : --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --group-add video --user root
29
33
steps :
30
34
- name : Checkout
76
80
run : |
77
81
echo "PATH is '$PATH'"
78
82
pip uninstall -y triton pytorch-triton-rocm
79
- ccache --zero-stats
83
+
84
+ if [ "${{ matrix.runner[0] }}" != "amd-gfx950" ]; then
85
+ ccache --zero-stats
86
+ fi
87
+
80
88
make dev-install
81
89
- name : CCache Stats
90
+ if : ${{ matrix.runner[0] != 'amd-gfx950' }}
82
91
run : ccache --print-stats
83
92
- name : Run lit tests
84
93
run : make test-lit
@@ -101,7 +110,12 @@ jobs:
101
110
pytest --capture=tee-sys -rfs -vvv instrumentation/test_gpuhello.py
102
111
103
112
# Run test_line_info.py separately with TRITON_DISABLE_LINE_INFO=0
104
- TRITON_DISABLE_LINE_INFO=0 python3 -m pytest -s -n 8 language/test_line_info.py
113
+ if [ "${{ matrix.runner[0] }}" = "amd-gfx950" ]; then
114
+ TRITON_DISABLE_LINE_INFO=0 python3 -m pytest -s -n 8 language/test_line_info.py -k "not test_line_info_ir_source"
115
+ else
116
+ TRITON_DISABLE_LINE_INFO=0 python3 -m pytest -s -n 8 language/test_line_info.py
117
+ fi
118
+
105
119
- name : Run asan tests on AMD
106
120
if : false
107
121
run : |
@@ -121,8 +135,12 @@ jobs:
121
135
cd python/test/regression
122
136
python3 -m pytest -s -n 8 ./test_cast_matmul.py
123
137
- name : Run Proton tests
124
- if : ${{ matrix.runner[0] != 'nvidia-gb200' }}
125
- run : make test-proton
138
+ run : |
139
+ if [ "${{ matrix.runner[0] }}" = "amd-gfx950" ]; then
140
+ python3 -m pytest -s -n 8 third_party/proton/test -k "not test_instrument_exec"
141
+ else
142
+ make test-proton
143
+ fi
126
144
- name : Run C++ unittests
127
145
run : make test-cpp
128
146
- name : Inspect cache directories
0 commit comments