@@ -9,7 +9,7 @@ executors:
9
9
environment :
10
10
CONDA_ARCH : Linux-x86_64
11
11
machine :
12
- image : linux-cuda-11:2023.02.1
12
+ image : linux-cuda-11:default
13
13
resource_class : gpu.nvidia.medium
14
14
linux-arm64-cpu :
15
15
environment :
91
91
- run :
92
92
name : Install conda build tools
93
93
command : |
94
- conda config --set solver libmamba
94
+ # conda config --set solver libmamba
95
95
# conda config --set verbosity 3
96
96
conda update -y -q conda
97
97
conda install -y -q conda-build
@@ -171,7 +171,7 @@ jobs:
171
171
sudo update-alternatives --set cuda /usr/local/cuda-<<parameters.cuda>>
172
172
cd conda
173
173
conda build faiss-gpu-raft --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
174
- -c pytorch -c nvidia -c rapidsai -c conda-forge
174
+ -c pytorch -c nvidia -c rapidsai-nightly -c conda-forge
175
175
- when :
176
176
condition :
177
177
and :
@@ -186,7 +186,7 @@ jobs:
186
186
sudo update-alternatives --set cuda /usr/local/cuda-<<parameters.cuda>>
187
187
cd conda
188
188
conda build faiss-gpu-raft --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
189
- --user pytorch --label <<parameters.label>> -c pytorch -c nvidia -c rapidsai -c conda-forge
189
+ --user pytorch --label <<parameters.label>> -c pytorch -c nvidia -c rapidsai-nightly -c conda-forge
190
190
191
191
build_cmake :
192
192
parameters :
@@ -236,7 +236,7 @@ jobs:
236
236
- run :
237
237
name : Install libraft
238
238
command : |
239
- conda install -y -q libraft cudatoolkit =11.4 -c rapidsai-nightly -c nvidia -c pkgs/main -c conda-forge
239
+ conda install -y -q libraft cuda-version =11.4 -c rapidsai-nightly -c nvidia -c pkgs/main -c conda-forge
240
240
- run :
241
241
name : Build all targets
242
242
no_output_timeout : 30m
@@ -283,7 +283,7 @@ jobs:
283
283
- run :
284
284
name : Python tests (CPU + GPU)
285
285
command : |
286
- conda install -y -q pytorch pytorch-cuda -c pytorch -c nvidia
286
+ conda install -y -q pytorch pytorch-cuda=11 -c pytorch -c nvidia
287
287
pytest --junitxml=test-results/pytest/results.xml tests/test_*.py
288
288
pytest --junitxml=test-results/pytest/results-torch.xml tests/torch_*.py
289
289
cp tests/common_faiss_tests.py faiss/gpu/test
0 commit comments