mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	* 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;
 | 
						|
    };
 | 
						|
}
 |