Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion conda/build_faiss.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,23 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.5 faiss-cpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.6 faiss-cpu
else
. ./switch_cuda_version.sh 8.0
export CUDA_VERSION="0.0"
export CUDNN_VERSION="0.0"
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 2.7 faiss-cpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.5 faiss-cpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.6 faiss-cpu

. ./switch_cuda_version.sh 8.0
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 2.7 faiss-gpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.5 faiss-gpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.6 faiss-gpu

. ./switch_cuda_version.sh 9.0
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 2.7 faiss-gpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.5 faiss-gpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.6 faiss-gpu

. ./switch_cuda_version.sh 9.1
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 2.7 faiss-gpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.5 faiss-gpu
time conda build -c $ANACONDA_USER --no-anaconda-upload --python 3.6 faiss-gpu
Expand Down
3 changes: 1 addition & 2 deletions conda/faiss-gpu/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ requirements:
- python
- numpy >=1.11
- mkl
- cudatoolkit

This comment was marked as off-topic.

This comment was marked as off-topic.


build:
number: {{ environ.get('FAISS_BUILD_NUMBER') }}
Expand All @@ -38,4 +37,4 @@ about:
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE
summary: A library for efficient similarity search and clustering of dense vectors.
summary: A library for efficient similarity search and clustering of dense vectors.