-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
103 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
diff --git a/faiss/CMakeLists.txt b/faiss/CMakeLists.txt | ||
index 22dac7cb..e330cf36 100644 | ||
index 2871d974..f823348c 100644 | ||
--- a/faiss/CMakeLists.txt | ||
+++ b/faiss/CMakeLists.txt | ||
@@ -307,11 +307,6 @@ else() | ||
target_link_libraries(faiss PRIVATE ${BLAS_LIBRARIES}) | ||
@@ -365,12 +365,6 @@ else() | ||
target_link_libraries(faiss_avx2 PRIVATE ${BLAS_LIBRARIES}) | ||
target_link_libraries(faiss_avx512 PRIVATE ${BLAS_LIBRARIES}) | ||
target_link_libraries(faiss_sve PRIVATE ${BLAS_LIBRARIES}) | ||
- | ||
- find_package(LAPACK REQUIRED) | ||
- target_link_libraries(faiss PRIVATE ${LAPACK_LIBRARIES}) | ||
- target_link_libraries(faiss_avx2 PRIVATE ${LAPACK_LIBRARIES}) | ||
- target_link_libraries(faiss_avx512 PRIVATE ${LAPACK_LIBRARIES}) | ||
- target_link_libraries(faiss_sve PRIVATE ${LAPACK_LIBRARIES}) | ||
endif() | ||
|
||
install(TARGETS faiss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,19 +2,19 @@ | |
requires = [ | ||
"setuptools", | ||
"wheel", | ||
"oldest-supported-numpy", | ||
"numpy>=2.0,<3", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "faiss-cpu" | ||
version = "1.8.0.post1" | ||
version = "1.9.0" | ||
authors = [ | ||
{ name = "Kota Yamaguchi", email = "[email protected]" }, | ||
] | ||
description = "A library for efficient similarity search and clustering of dense vectors." | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
keywords = ["faiss", "similarity search", "clustering", "machine learning"] | ||
license = { text = "MIT License" } | ||
classifiers = [ | ||
|
@@ -25,14 +25,13 @@ classifiers = [ | |
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
] | ||
dependencies = ["numpy>=1.0,<2.0", "packaging"] | ||
dependencies = ["numpy>=1.25.0,<3.0", "packaging"] | ||
|
||
[project.urls] | ||
Repository = "https://github.com/kyamagu/faiss-wheels" | ||
|
@@ -42,12 +41,16 @@ minversion = "6.0" | |
addopts = [ | ||
# Failing tests for numerical issues. | ||
"--deselect=faiss/tests/test_local_search_quantizer.py::TestProductLocalSearchQuantizer::test_lut", | ||
"--deselect=faiss/tests/test_local_search_quantizer.py::TestComponents::test_update_codebooks_with_double", | ||
"--deselect=faiss/tests/test_contrib.py::TestPreassigned::test_float", | ||
"--deselect=faiss/tests/test_contrib.py::TestClustering::test_ivf_train_2level", | ||
] | ||
testpaths = ["faiss/tests"] | ||
python_files = "test_*.py" # torch_test_*.py will break the other tests | ||
|
||
[tool.cibuildwheel] | ||
skip = "pp* *-musllinux*" | ||
test-skip = "*-macosx_arm64 *-manylinux_aarch64 *-win_amd64 cp312-*" | ||
skip = "pp* cp38-* cp313-* *-musllinux*" | ||
test-skip = "*-manylinux_aarch64 *-win_amd64" | ||
|
||
test-requires = ["pytest", "scipy", "torch"] | ||
test-command = "pytest {project}/faiss/tests" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters