From b8a5b708db5119460cb031161000ce5a9ae03e57 Mon Sep 17 00:00:00 2001 From: Eduardo Pinho Date: Wed, 23 Mar 2022 19:27:15 +0000 Subject: [PATCH] [faiss-sys] Update faiss lib to v1.7.2 --- faiss-sys/ci/install_faiss_c.sh | 6 +++--- faiss-sys/gen_bindings.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/faiss-sys/ci/install_faiss_c.sh b/faiss-sys/ci/install_faiss_c.sh index 248f303..edc22e0 100755 --- a/faiss-sys/ci/install_faiss_c.sh +++ b/faiss-sys/ci/install_faiss_c.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash set -eu -repo_url=https://github.com/Enet4/faiss.git -repo_rev=c_api_head +repo_url=https://github.com/facebookresearch/faiss +repo_rev=v1.7.2 -git clone $repo_url faiss --branch $repo_rev --depth 1 +git clone "$repo_url" faiss --branch "$repo_rev" --depth 1 mkdir -p "$HOME/.faiss_c" diff --git a/faiss-sys/gen_bindings.sh b/faiss-sys/gen_bindings.sh index 5971490..d4fa4db 100755 --- a/faiss-sys/gen_bindings.sh +++ b/faiss-sys/gen_bindings.sh @@ -5,11 +5,11 @@ if ! which bindgen > /dev/null; then exit 1 fi -repo_url=https://github.com/Enet4/faiss.git -repo_rev=c_api_head +repo_url=https://github.com/facebookresearch/faiss +repo_rev=v1.7.2 cuda_root=/opt/cuda -git clone $repo_url faiss --branch $repo_rev --depth 1 +git clone "$repo_url" faiss --branch "$repo_rev" --depth 1 bindgen_opt='--size_t-is-usize --whitelist-function faiss_.* --whitelist-type idx_t|Faiss.* --opaque-type FILE'