We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1ac71 commit f4e43acCopy full SHA for f4e43ac
pkgs/development/python-modules/llama-cpp-python/default.nix
@@ -1,5 +1,6 @@
1
{
2
lib,
3
+ stdenv,
4
buildPythonPackage,
5
cmake,
6
fetchFromGitHub,
@@ -23,14 +24,18 @@
23
24
scipy,
25
huggingface-hub,
26
}:
-
27
-buildPythonPackage rec {
28
- pname = "llama-cpp-python";
+let
29
version = "0.3.1";
+in
30
+buildPythonPackage {
31
+ pname = "llama-cpp-python";
32
+ inherit version;
33
pyproject = true;
34
35
disabled = pythonOlder "3.7";
36
37
+ stdenv = if cudaSupport then cudaPackages.backendStdenv else stdenv;
38
+
39
src = fetchFromGitHub {
40
owner = "abetlen";
41
repo = "llama-cpp-python";
0 commit comments