mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-11 22:50:00 +00:00
v1.14.1 Fix build-release (#4876)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4876 Reviewed By: alibeklfc Differential Revision: D95420200 fbshipit-source-id: b30d0c9c0342460187c3b8dcffbbc3df88f4a11d
This commit is contained in:
committed by
meta-codesync[bot]
parent
c8579de513
commit
5622e93733
@@ -52,7 +52,7 @@ runs:
|
||||
conda install -y -q "conda<=25.07"
|
||||
echo "$CONDA/bin" >> $GITHUB_PATH
|
||||
|
||||
conda install -y -q python=3.12 cmake=3.30.4 make=4.2 swig=4.0 "numpy>=2.0,<3.0" scipy=1.16 pytest=7.4 gflags=2.2
|
||||
conda install -y -q python=3.12 cmake=3.30.4 make=4.2 swig=4.0 "numpy>=2.0,<3.0" scipy=1.16 pytest=7.4 gflags=2.2 setuptools
|
||||
|
||||
# install base packages for ARM64
|
||||
if [ "${{ runner.arch }}" = "ARM64" ]; then
|
||||
|
||||
@@ -69,7 +69,7 @@ runs:
|
||||
PACKAGE_TYPE: ${{ inputs.label }}
|
||||
run: |
|
||||
conda list --show-channel-urls
|
||||
conda build faiss --user pytorch --label ${{ inputs.label }} -c pytorch
|
||||
conda build faiss --python 3.12 --user pytorch --label ${{ inputs.label }} -c pytorch
|
||||
- name: Conda build (GPU)
|
||||
if: inputs.label == '' && inputs.cuda != '' && inputs.cuvs == ''
|
||||
shell: ${{ steps.choose_shell.outputs.shell }}
|
||||
@@ -86,7 +86,7 @@ runs:
|
||||
PACKAGE_TYPE: ${{ inputs.label }}
|
||||
run: |
|
||||
conda list --show-channel-urls
|
||||
conda build faiss-gpu --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
|
||||
conda build faiss-gpu --python 3.12 --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
|
||||
--user pytorch --label ${{ inputs.label }} -c pytorch -c nvidia/label/cuda-${{ inputs.cuda }} -c nvidia
|
||||
- name: Conda build (GPU w/ cuVS)
|
||||
if: inputs.label == '' && inputs.cuda != '' && inputs.cuvs != ''
|
||||
@@ -104,7 +104,7 @@ runs:
|
||||
PACKAGE_TYPE: ${{ inputs.label }}
|
||||
run: |
|
||||
conda list --show-channel-urls
|
||||
conda build faiss-gpu-cuvs --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
|
||||
conda build faiss-gpu-cuvs --python 3.12 --variants '{ "cudatoolkit": "${{ inputs.cuda }}" }' \
|
||||
--user pytorch --label ${{ inputs.label }} -c pytorch -c rapidsai -c rapidsai-nightly -c conda-forge -c nvidia
|
||||
- name: Check installed packages channel
|
||||
shell: ${{ steps.choose_shell.outputs.shell }}
|
||||
|
||||
Reference in New Issue
Block a user