exposed modules so that they can be invoked by nix run github:ggerganov/llama.cpp#server etc (#1863)

This commit is contained in:
Faez Shakil 2023-06-17 17:13:05 +05:00 committed by GitHub
parent 794db3e7b9
commit fc45a81bc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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