Skip to content

Commit

Permalink
[faiss-sys] Update faiss lib to v1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Enet4 committed Mar 23, 2022
1 parent 7ca221a commit b8a5b70
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions faiss-sys/ci/install_faiss_c.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
6 changes: 3 additions & 3 deletions faiss-sys/gen_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit b8a5b70

Please sign in to comment.