Skip to content

Commit cc1ac71

Browse files
committed
python312Packages.llama-cpp-python: add passthru.test to build with CUDA
support
1 parent 17c58cd commit cc1ac71

File tree

1 file changed

+2
-0
lines changed
  • pkgs/development/python-modules/llama-cpp-python

1 file changed

+2
-0
lines changed

pkgs/development/python-modules/llama-cpp-python/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
pytestCheckHook,
1111
pythonOlder,
1212
scikit-build-core,
13+
llama-cpp-python,
1314

1415
config,
1516
cudaSupport ? config.cudaSupport,
@@ -86,6 +87,7 @@ buildPythonPackage rec {
8687
pythonImportsCheck = [ "llama_cpp" ];
8788

8889
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
90+
passthru.tests.llama-cpp-python = llama-cpp-python.override { cudaSupport = true; };
8991

9092
meta = {
9193
description = "Python bindings for llama.cpp";

0 commit comments

Comments
 (0)