CoolFace
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 3d agoView on Hugging Face
0likes1.1kdownloads
scope.nix36 linesDownload Raw Back to nix
1{2  lib,3  newScope,4  python3,5  llamaVersion ? "0.0.0",6}:7 8let9  pythonPackages = python3.pkgs;10in11 12# We're using `makeScope` instead of just writing out an attrset13# because it allows users to apply overlays later using `overrideScope'`.14# Cf. https://noogle.dev/f/lib/makeScope15 16lib.makeScope newScope (self: {17  inherit llamaVersion;18  gguf-py = self.callPackage ./package-gguf-py.nix {19    inherit (pythonPackages)20      numpy21      tqdm22      sentencepiece23      pyyaml24      pytestCheckHook25      requests26      buildPythonPackage27      poetry-core28      ;29  };30  python-scripts = self.callPackage ./python-scripts.nix { inherit (pythonPackages) buildPythonPackage poetry-core; };31  llama-cpp = self.callPackage ./package.nix { };32  docker = self.callPackage ./docker.nix { };33  docker-min = self.callPackage ./docker.nix { interactive = false; };34  sif = self.callPackage ./sif.nix { };35})36