char-fork/llama.cpp
git clone https://git.t4t.associates/char-fork/llama.cpp
41ea26144
char/aliceai-t5-moe
1{ 2lib , 3newScope , 4python3 , 5llamaVersion ? "0.0.0" , 6} : 7 8let 9pythonPackages = python3 . pkgs ; 10in 11 12# We're using `makeScope` instead of just writing out an attrset 13# because it allows users to apply overlays later using `overrideScope'`. 14# Cf. https://noogle.dev/f/lib/makeScope 15 16lib . makeScope newScope ( self: { 17inherit llamaVersion ; 18gguf-py = self . callPackage ./package-gguf-py.nix { 19inherit ( pythonPackages ) 20numpy 21tqdm 22sentencepiece 23pyyaml 24pytestCheckHook 25requests 26buildPythonPackage 27poetry-core 28; 29}; 30python-scripts = self . callPackage ./python-scripts.nix { inherit ( pythonPackages ) buildPythonPackage poetry-core ; }; 31llama-cpp = self . callPackage ./package.nix { }; 32docker = self . callPackage ./docker.nix { }; 33docker-min = self . callPackage ./docker.nix { interactive = false ; }; 34sif = self . callPackage ./sif.nix { }; 35})