Merge pull request #224083 from SomeoneSerge/update-faiss-1.7.3

faiss: 1.7.2 -> 1.7.4
This commit is contained in:
Nick Cao 2023-05-05 08:38:40 +08:00 committed by GitHub
commit b31bf268dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -31,7 +31,7 @@ assert cudaSupport -> nvidia-thrust.cudaSupport;
let
pname = "faiss";
version = "1.7.2";
version = "1.7.4";
inherit (cudaPackages) cudaFlags backendStdenv;
inherit (cudaFlags) cudaCapabilities dropDot;
@ -64,7 +64,7 @@ stdenv.mkDerivation {
owner = "facebookresearch";
repo = pname;
rev = "v${version}";
hash = "sha256-Tklf5AaqJbOs9qtBZVcxXPLAp+K54EViZLSOvEhmswg=";
hash = "sha256-WSce9X6sLZmGM5F0ZkK54VqpIy8u1VB0e9/l78co29M=";
};
buildInputs = [

View File

@ -11,6 +11,8 @@ buildPythonPackage {
pname = "faiss-pytest-suite";
inherit (faiss) version;
format = "other";
src = "${faiss.src}/tests";
dontBuild = true;
@ -21,6 +23,11 @@ buildPythonPackage {
"test_contrib.py"
];
disabledTests = [
# https://github.com/facebookresearch/faiss/issues/2836
"test_update_codebooks_with_double"
];
nativeCheckInputs = [
faiss
pytestCheckHook