faiss: restore passthru
attributes
Without the change the `python3Packages.faiss.passthru` are broken: $ nix repl -f. nix-repl> python3Packages.faiss.passthru cudaPackages = «error: attribute 'cudaPackages' missing»; cudaSupport = «error: attribute 'cudaSupport' missing»; pythonSupport = «error: attribute 'pythonSupport' missing»;
This commit is contained in:
parent
c55e1efd2e
commit
adcc088cb9
@ -105,6 +105,10 @@ stdenv.mkDerivation {
|
||||
cp faiss/python/dist/*.whl "$dist/"
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit cudaSupport cudaPackages pythonSupport;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Library for efficient similarity search and clustering of dense vectors by Facebook Research";
|
||||
mainProgram = "demo_ivfpq_indexing";
|
||||
|
Loading…
Reference in New Issue
Block a user