mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-11 22:50:00 +00:00
Upgrade CUVS Version to 26.06 (#5240)
Summary: Apply patches to make this compatible + update install docs to document new 13.2 pkg Pull Request resolved: https://github.com/facebookresearch/faiss/pull/5240 Reviewed By: mnorris11 Differential Revision: D107156965 Pulled By: alibeklfc fbshipit-source-id: 4eb201a3b15edaecb61957e11d867db8478dff71
This commit is contained in:
committed by
meta-codesync[bot]
parent
420158b10e
commit
7504fc8dde
@@ -71,16 +71,16 @@ runs:
|
||||
# no CUDA needed for ROCm so skip this
|
||||
if [ "${{ inputs.rocm }}" = "ON" ]; then
|
||||
:
|
||||
# regular CUDA for GPU builds
|
||||
elif [ "${{ inputs.gpu }}" = "ON" ] && [ "${{ inputs.cuvs }}" = "OFF" ]; then
|
||||
# CUDA install for GPU builds
|
||||
elif [ "${{ inputs.gpu }}" = "ON" ]; then
|
||||
conda install -y -q cuda-libraries-dev=13.2 cuda-nvcc=13.2 cuda-nvtx=13.2 cuda-cupti=13.2 cuda-cudart-dev=13.2 gxx_linux-64=14.2 -c "nvidia/label/cuda-13.2"
|
||||
# and CUDA from cuVS channel for cuVS builds
|
||||
elif [ "${{ inputs.cuvs }}" = "ON" ]; then
|
||||
conda install -y -q libcuvs=26.02 'cuda-version=13.2' sysroot_linux-64=2.34 -c rapidsai -c rapidsai-nightly -c conda-forge
|
||||
# Clean index cache to prevent sqlite3 "database is locked" errors
|
||||
# from conda-libmamba-solver's shards cache between consecutive installs.
|
||||
# See: https://github.com/conda/conda-libmamba-solver/issues/667
|
||||
conda clean --index-cache 2>/dev/null || true
|
||||
if [ "${{ inputs.cuvs }}" = "ON" ]; then
|
||||
conda install -y -q libcuvs=26.06 'cuda-version=13.2' sysroot_linux-64=2.34 -c rapidsai -c rapidsai-nightly -c conda-forge
|
||||
# Clean index cache to prevent sqlite3 "database is locked" errors
|
||||
# from conda-libmamba-solver's shards cache between consecutive installs.
|
||||
# See: https://github.com/conda/conda-libmamba-solver/issues/667
|
||||
conda clean --index-cache 2>/dev/null || true
|
||||
fi
|
||||
fi
|
||||
|
||||
# install SVS runtime for SVS builds
|
||||
|
||||
Reference in New Issue
Block a user