mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 06:44:06 +00:00
Merge pull request #224083 from SomeoneSerge/update-faiss-1.7.3
faiss: 1.7.2 -> 1.7.4
This commit is contained in:
commit
b31bf268dc
@ -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 = [
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user