@@ -41,30 +41,28 @@ runs:
41
41
42
42
# install base packages for X86_64
43
43
if [ "${{ runner.arch }}" = "X64" ]; then
44
- # TODO: unpin versions for gxx_linux-64 and sysroot_linux-64 and merge it with ARM64 below
45
- if [ "${{ inputs.rocm }}" = "ON" ]; then
46
- conda install -y -q -c conda-forge gxx_linux-64 sysroot_linux-64
47
- else
48
- conda install -y -q -c conda-forge gxx_linux-64=11.2 sysroot_linux-64=2.28
49
- fi
44
+ # TODO: merge this with ARM64
45
+ conda install -y -q -c conda-forge gxx_linux-64 sysroot_linux-64
50
46
conda install -y -q mkl=2023 mkl-devel=2023
51
47
fi
52
48
53
-
54
49
# install CUDA packages
55
50
if [ "${{ inputs.gpu }}" = "ON" ] && [ "${{ inputs.raft }}" = "OFF" ]; then
56
- conda install -y -q cuda-toolkit -c "nvidia/label/cuda-11.8.0"
51
+ conda install -y -q cuda-toolkit -c "nvidia/label/cuda-12.4.0"
52
+ conda install -y -q cuda-toolkit -c "nvidia/label/cuda-12.4.0"
57
53
fi
58
54
59
55
# install RAFT packages
60
56
if [ "${{ inputs.raft }}" = "ON" ]; then
61
- conda install -y -q libraft cuda-version=11.8 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
57
+ conda install -y -q libraft cuda-version=12.4 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-12.4.0" -c conda-forge
58
+ conda install -y -q libraft cuda-version=12.4 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-12.4.0" -c conda-forge
62
59
fi
63
60
64
61
# install test packages
65
62
conda install -y pytest
66
63
if [ "${{ inputs.gpu }}" = "ON" ]; then
67
- conda install -y -q pytorch pytorch-cuda=11.8 -c pytorch -c nvidia/label/cuda-11.8.0
64
+ conda install -y -q pytorch pytorch-cuda=12.4 -c pytorch -c nvidia/label/cuda-12.4.0
65
+ conda install -y -q pytorch pytorch-cuda=12.4 -c pytorch -c nvidia/label/cuda-12.4.0
68
66
else
69
67
conda install -y -q pytorch -c pytorch
70
68
fi
@@ -118,6 +116,7 @@ runs:
118
116
run : |
119
117
eval "$(conda shell.bash hook)"
120
118
conda activate
119
+
121
120
cmake -B build \
122
121
-DBUILD_TESTING=ON \
123
122
-DBUILD_SHARED_LIBS=ON \
@@ -132,6 +131,9 @@ runs:
132
131
-DCMAKE_CUDA_FLAGS=${{ runner.arch == 'X64' && '"-gencode arch=compute_75,code=sm_75"' || '' }} \
133
132
.
134
133
make -k -C build -j$(nproc)
134
+ - name : Setup tmate session
135
+ if : failure()
136
+ uses : mxschmitt/action-tmate@v3
135
137
- name : C++ tests
136
138
if : inputs.rocm == 'OFF'
137
139
shell : bash
0 commit comments