Skip to content

Commit

Permalink
exposed modules so that they can be invoked by nix run github:ggergan…
Browse files Browse the repository at this point in the history
…ov/llama.cpp#server etc (ggerganov#1863)
  • Loading branch information
faezs authored Jun 17, 2023
1 parent 794db3e commit fc45a81
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@
'';
meta.mainProgram = "llama";
};
apps.llama-server = {
type = "app";
program = "${self.packages.${system}.default}/bin/llama-server";
};
apps.llama-embedding = {
type = "app";
program = "${self.packages.${system}.default}/bin/embedding";
};
apps.llama = {
type = "app";
program = "${self.packages.${system}.default}/bin/llama";
};
apps.default = self.apps.${system}.llama;
devShells.default = pkgs.mkShell {
packages = with pkgs; [
cmake
Expand Down

0 comments on commit fc45a81

Please sign in to comment.