Team Ai
Apppublic

KBaba7/llama.cpp

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
package-gguf-py.nix37 linesDownload Raw Back to nix
1{2  lib,3  llamaVersion,4  numpy,5  tqdm,6  sentencepiece,7  pyyaml,8  poetry-core,9  buildPythonPackage,10  pytestCheckHook,11}:12 13buildPythonPackage {14  pname = "gguf";15  version = llamaVersion;16  pyproject = true;17  nativeBuildInputs = [ poetry-core ];18  propagatedBuildInputs = [19    numpy20    tqdm21    sentencepiece22    pyyaml23  ];24  src = lib.cleanSource ../../gguf-py;25  pythonImportsCheck = [26    "numpy"27    "gguf"28  ];29  nativeCheckInputs = [ pytestCheckHook ];30  doCheck = true;31  meta = with lib; {32    description = "Python package for writing binary files in the GGUF format";33    license = licenses.mit;34    maintainers = [ maintainers.ditsuke ];35  };36}37