mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-29 12:54:35 +00:00
be6d7c0791
* examples : remove finetune and train-text-from-scratch * fix build * update help message * fix small typo for export-lora
22 lines
434 B
Nix
22 lines
434 B
Nix
{
|
|
perSystem =
|
|
{ config, lib, ... }:
|
|
{
|
|
apps =
|
|
let
|
|
inherit (config.packages) default;
|
|
binaries = [
|
|
"llama-cli"
|
|
"llama-embedding"
|
|
"llama-server"
|
|
"llama-quantize"
|
|
];
|
|
mkApp = name: {
|
|
type = "app";
|
|
program = "${default}/bin/${name}";
|
|
};
|
|
in
|
|
lib.genAttrs binaries mkApp;
|
|
};
|
|
}
|