Skip to content

Commit

Permalink
Merge pull request #52 from Enet4/imp/update-faiss-1.7.2
Browse files Browse the repository at this point in the history
[faiss-sys] Update faiss lib to v1.7.2
  • Loading branch information
Enet4 authored Mar 28, 2022
2 parents aba89f7 + 25dd6cf commit 1281537
Show file tree
Hide file tree
Showing 5 changed files with 440 additions and 44 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
Loading

0 comments on commit 1281537

Please sign in to comment.