@@ -140,7 +140,7 @@ jobs:
140
140
command : |
141
141
cd conda
142
142
conda build faiss-gpu --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
143
- -c pytorch -c nvidia/label/cuda-<<parameters.cuda>>
143
+ -c pytorch -c nvidia/label/cuda-<<parameters.cuda>> -c nvidia
144
144
- when :
145
145
condition :
146
146
and :
@@ -154,7 +154,7 @@ jobs:
154
154
command : |
155
155
cd conda
156
156
conda build faiss-gpu --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
157
- --user pytorch --label <<parameters.label>> -c pytorch -c nvidia/label/cuda-<<parameters.cuda>>
157
+ --user pytorch --label <<parameters.label>> -c pytorch -c nvidia/label/cuda-<<parameters.cuda>> -c nvidia
158
158
- when :
159
159
condition :
160
160
and :
@@ -168,7 +168,7 @@ jobs:
168
168
command : |
169
169
cd conda
170
170
conda build faiss-gpu-raft --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
171
- -c pytorch -c nvidia -c rapidsai-nightly -c conda-forge
171
+ -c pytorch -c nvidia/label/cuda-<<parameters.cuda>> -c nvidia -c rapidsai-nightly -c conda-forge
172
172
- when :
173
173
condition :
174
174
and :
@@ -182,7 +182,7 @@ jobs:
182
182
command : |
183
183
cd conda
184
184
conda build faiss-gpu-raft --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
185
- --user pytorch --label <<parameters.label>> -c pytorch -c nvidia/label/cuda-<<parameters.cuda>> -c rapidsai-nightly -c conda-forge
185
+ --user pytorch --label <<parameters.label>> -c pytorch -c nvidia/label/cuda-<<parameters.cuda>> -c nvidia -c rapidsai-nightly -c conda-forge
186
186
187
187
build_cmake :
188
188
parameters :
@@ -232,15 +232,17 @@ jobs:
232
232
- run :
233
233
name : Install env using conda-forge channel
234
234
command : |
235
- conda install -y -q python=3.11 cmake make swig=4.0.2 mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64=2.28 libraft cuda-version=11.8 -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
235
+ conda install -y -q python=3.11 cmake make swig=4.0.2 mkl=2023 mkl-devel=2023 numpy scipy pytest gxx_linux-64 sysroot_linux-64=2.28 libraft cuda-version=11.8 cuda-toolkit -c rapidsai-nightly -c "nvidia/label/cuda-11.8.0" -c conda-forge
236
236
- when :
237
237
condition :
238
- equal : [ "ON", << parameters.gpu >> ]
238
+ and :
239
+ - equal : [ "ON", << parameters.gpu >> ]
240
+ - equal : [ "OFF", << parameters.raft >> ]
239
241
steps :
240
242
- run :
241
243
name : Install CUDA
242
244
command : |
243
- conda install -y -q cuda-nvcc cuda-cudart-dev libcublas libcublas-dev cuda- toolkit -c "nvidia/label/cuda-11.8.0"
245
+ conda install -y -q cuda-toolkit -c "nvidia/label/cuda-11.8.0"
244
246
- run :
245
247
name : Build all targets
246
248
no_output_timeout : 30m
@@ -287,7 +289,7 @@ jobs:
287
289
- run :
288
290
name : Python tests (CPU + GPU)
289
291
command : |
290
- conda install -y -q pytorch pytorch-cuda=11 -c pytorch -c nvidia/label/cuda-11.8.0
292
+ conda install -y -q pytorch pytorch-cuda=11.8 -c pytorch -c nvidia/label/cuda-11.8.0
291
293
pytest --junitxml=test-results/pytest/results.xml tests/test_*.py
292
294
pytest --junitxml=test-results/pytest/results-torch.xml tests/torch_*.py
293
295
cp tests/common_faiss_tests.py faiss/gpu/test
@@ -354,10 +356,10 @@ workflows:
354
356
branches :
355
357
ignore : /.*/
356
358
- build_conda :
357
- name : Linux x86_64 GPU packages (CUDA 11.8)
359
+ name : Linux x86_64 GPU packages (CUDA 11.8.0 )
358
360
exec : linux-x86_64-gpu
359
361
label : main
360
- cuda : " 11.8"
362
+ cuda : " 11.8.0 "
361
363
cuda_archs : " 60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
362
364
compiler_version : " 11.2"
363
365
filters :
@@ -366,11 +368,36 @@ workflows:
366
368
branches :
367
369
ignore : /.*/
368
370
- build_conda :
369
- name : Linux x86_64 GPU w/ RAFT packages (CUDA 11.8)
371
+ name : Linux x86_64 GPU w/ RAFT packages (CUDA 11.8.0 )
370
372
exec : linux-x86_64-gpu
371
373
label : main
372
374
raft : " ON"
373
- cuda : " 11.8"
375
+ cuda : " 11.8.0"
376
+ cuda_archs : " 60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
377
+ compiler_version : " 11.2"
378
+ filters :
379
+ tags :
380
+ only : /^v.*/
381
+ branches :
382
+ ignore : /.*/
383
+ - build_conda :
384
+ name : Linux x86_64 GPU packages (CUDA 12.1.0)
385
+ exec : linux-x86_64-gpu
386
+ label : main
387
+ cuda : " 12.1.0"
388
+ cuda_archs : " 60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
389
+ compiler_version : " 11.2"
390
+ filters :
391
+ tags :
392
+ only : /^v.*/
393
+ branches :
394
+ ignore : /.*/
395
+ - build_conda :
396
+ name : Linux x86_64 GPU w/ RAFT packages (CUDA 12.1.0)
397
+ exec : linux-x86_64-gpu
398
+ label : main
399
+ raft : " ON"
400
+ cuda : " 12.1.0"
374
401
cuda_archs : " 60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
375
402
compiler_version : " 11.2"
376
403
filters :
@@ -420,7 +447,7 @@ workflows:
420
447
exec : linux-x86_64-cpu
421
448
label : nightly
422
449
- build_conda :
423
- name : Linux x86_64 GPU nightlies (CUDA 11.8)
450
+ name : Linux x86_64 GPU nightlies (CUDA 11.8.0 )
424
451
exec : linux-x86_64-gpu
425
452
cuda : " 11.8.0"
426
453
cuda_archs : " 60-real;61-real;62-real;70-real;72-real;75-real;80;86-real"
0 commit comments