Skip to content

Commit

Permalink
Merge pull request #30 from kyamagu/v1.6.5
Browse files Browse the repository at this point in the history
Update faiss to v1.6.5
  • Loading branch information
kyamagu committed Nov 26, 2020
2 parents 5a97b0f + 5100042 commit 17caa13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
run: |
echo "FAISS_OPT_LEVEL=${{ matrix.opt }}" >> ${env:GITHUB_ENV}
echo "FAISS_LIBRARY_SUFFIX=_${{ matrix.opt }}" >> ${env:GITHUB_ENV}
- uses: conda-incubator/setup-miniconda@v1
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion faiss
Submodule faiss updated 1333 files
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os

NAME = 'faiss-cpu'
VERSION = '1.6.5'

LONG_DESCRIPTION = """
Faiss is a library for efficient similarity search and clustering of dense
Expand All @@ -18,7 +19,7 @@
FAISS_ROOT = os.getenv('FAISS_ROOT', 'faiss')
FAISS_INCLUDE = os.getenv('FAISS_INCLUDE', os.path.join('/usr/local/include'))
FAISS_LDFLAGS = os.getenv('FAISS_LDFLAGS')
FAISS_OPT_LEVEL = os.getenv('FAISS_OPT_LEVEL', 'sse4')
FAISS_OPT_LEVEL = os.getenv('FAISS_OPT_LEVEL', 'generic')
FAISS_ENABLE_GPU = (
os.getenv('FAISS_ENABLE_GPU', '').lower() in ('on', 'true')
)
Expand Down Expand Up @@ -134,6 +135,7 @@ def __str__(self):


class CustomBuildPy(build_py):
"""Run build_ext before build_py to compile swig code."""
def run(self):
self.run_command("build_ext")
return build_py.run(self)
Expand All @@ -159,7 +161,7 @@ def run(self):

setup(
name=NAME,
version='1.6.4.post2',
version=VERSION,
description=(
'A library for efficient similarity search and clustering of dense '
'vectors.'
Expand Down

0 comments on commit 17caa13

Please sign in to comment.