@@ -221,7 +221,7 @@ jobs:
221221 build_linux_gpu :
222222 machine :
223223 resource_class : gpu.nvidia.medium
224- image : ubuntu-1604 -cuda-10.1:201909-23
224+ image : ubuntu-2004 -cuda-11.4:202110-01
225225 docker_layer_caching : true
226226 steps :
227227 - checkout
@@ -266,6 +266,8 @@ jobs:
266266 type : string
267267 cuda_archs :
268268 type : string
269+ compiler_version :
270+ type : string
269271 machine :
270272 resource_class : gpu.nvidia.medium
271273 image : ubuntu-1604-cuda-10.1:201909-23
@@ -281,7 +283,7 @@ jobs:
281283 -e CUDA_ARCHS="<<parameters.cuda_archs>>" \
282284 -e ANACONDA_API_TOKEN=$ANACONDA_API_TOKEN \
283285 faiss \
284- conda build faiss-gpu --variants '{ "cudatoolkit": "<<parameters.cuda>>" }' \
286+ conda build faiss-gpu --variants '{ "cudatoolkit": "<<parameters.cuda>>", "c_compiler_version": "<<parameters.compiler_version>>", "cxx_compiler_version": "<<parameters.compiler_version>>" }' \
285287 --user pytorch --label <<parameters.label>>
286288 no_output_timeout : 60m
287289
@@ -368,28 +370,11 @@ workflows:
368370 only : /^v.*/
369371 branches :
370372 ignore : /.*/
371- - deploy_linux_gpu :
372- name : Linux GPU packages (CUDA 10.1)
373- cuda : " 10.1"
374- cuda_archs : " 35;52;60;61;70;72;75"
375- filters :
376- tags :
377- only : /^v.*/
378- branches :
379- ignore : /.*/
380373 - deploy_linux_gpu :
381374 name : Linux GPU packages (CUDA 10.2)
382375 cuda : " 10.2"
383376 cuda_archs : " 35;52;60;61;70;72;75"
384- filters :
385- tags :
386- only : /^v.*/
387- branches :
388- ignore : /.*/
389- - deploy_linux_gpu :
390- name : Linux GPU packages (CUDA 11.0)
391- cuda : " 11.0"
392- cuda_archs : " 60;61;70;72;75;80"
377+ compiler_version : " 8.4"
393378 filters :
394379 tags :
395380 only : /^v.*/
@@ -399,6 +384,7 @@ workflows:
399384 name : Linux GPU packages (CUDA 11.3)
400385 cuda : " 11.3"
401386 cuda_archs : " 60;61;70;72;75;80;86"
387+ compiler_version : " 9.3"
402388 filters :
403389 tags :
404390 only : /^v.*/
@@ -431,25 +417,17 @@ workflows:
431417 - deploy_linux :
432418 name : Linux nightlies
433419 label : nightly
434- - deploy_linux_gpu :
435- name : Linux GPU nightlies (CUDA 10.1)
436- cuda : " 10.1"
437- cuda_archs : " 35;52;60;61;70;72;75"
438- label : nightly
439420 - deploy_linux_gpu :
440421 name : Linux GPU nightlies (CUDA 10.2)
441422 cuda : " 10.2"
442423 cuda_archs : " 35;52;60;61;70;72;75"
443- label : nightly
444- - deploy_linux_gpu :
445- name : Linux GPU nightlies (CUDA 11.0)
446- cuda : " 11.0"
447- cuda_archs : " 60;61;70;72;75;80"
424+ compiler_version : " 8.4"
448425 label : nightly
449426 - deploy_linux_gpu :
450427 name : Linux GPU nightlies (CUDA 11.3)
451428 cuda : " 11.3"
452429 cuda_archs : " 60;61;70;72;75;80;86"
430+ compiler_version : " 9.3"
453431 label : nightly
454432 - deploy_windows :
455433 name : Windows nightlies
0 commit comments