@@ -13,10 +13,6 @@ inputs:
13
13
description : " Enable RAFT support."
14
14
default : " "
15
15
required : false
16
- compiler_version :
17
- description : " compiler_version"
18
- default : " Compiler version for C/C++/CUDA."
19
- required : false
20
16
runs :
21
17
using : composite
22
18
steps :
67
63
shell : ${{ steps.choose_shell.outputs.shell }}
68
64
working-directory : conda
69
65
run : |
70
- conda build faiss-gpu --variants '{ "cudatoolkit": "${{ inputs.cuda }}", "c_compiler_version": "${{ inputs.compiler_version }}", "cxx_compiler_version": "${{ inputs.compiler_version }}" }' \
66
+ conda build faiss-gpu --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
71
67
-c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia
72
68
- name : Conda build (GPU) w/ anaconda upload
73
69
if : inputs.label != '' && inputs.cuda != '' && inputs.raft == ''
@@ -76,14 +72,14 @@ runs:
76
72
env :
77
73
PACKAGE_TYPE : ${{ inputs.label }}
78
74
run : |
79
- conda build faiss-gpu --variants '{ "cudatoolkit": "${{ inputs.cuda }}", "c_compiler_version": "${{ inputs.compiler_version }}", "cxx_compiler_version": "${{ inputs.compiler_version }}" }' \
75
+ conda build faiss-gpu --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
80
76
--user pytorch --label ${{ inputs.label }} -c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia
81
77
- name : Conda build (GPU w/ RAFT)
82
78
if : inputs.label == '' && inputs.cuda != '' && inputs.raft != ''
83
79
shell : ${{ steps.choose_shell.outputs.shell }}
84
80
working-directory : conda
85
81
run : |
86
- conda build faiss-gpu-raft --variants '{ "cudatoolkit": "${{ inputs.cuda }}", "c_compiler_version": "${{ inputs.compiler_version }}", "cxx_compiler_version": "${{ inputs.compiler_version }}" }' \
82
+ conda build faiss-gpu-raft --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
87
83
-c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge
88
84
- name : Conda build (GPU w/ RAFT) w/ anaconda upload
89
85
if : inputs.label != '' && inputs.cuda != '' && inputs.raft != ''
92
88
env :
93
89
PACKAGE_TYPE : ${{ inputs.label }}
94
90
run : |
95
- conda build faiss-gpu-raft --variants '{ "cudatoolkit": "${{ inputs.cuda }}", "c_compiler_version": "${{ inputs.compiler_version }}", "cxx_compiler_version": "${{ inputs.compiler_version }}" }' \
91
+ conda build faiss-gpu-raft --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
96
92
--user pytorch --label ${{ inputs.label }} -c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia -c rapidsai -c rapidsai-nightly -c conda-forge
0 commit comments