mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	nix: add a comment on the many nixpkgs-with-cuda instances
This commit is contained in:
		| @@ -7,6 +7,18 @@ | |||||||
|     { system, ... }: |     { system, ... }: | ||||||
|     { |     { | ||||||
|       _module.args = { |       _module.args = { | ||||||
|  |         # Note: bringing up https://zimbatm.com/notes/1000-instances-of-nixpkgs | ||||||
|  |         # again, the below creates several nixpkgs instances which the | ||||||
|  |         # flake-centric CLI will be forced to evaluate e.g. on `nix flake show`. | ||||||
|  |         # | ||||||
|  |         # This is currently "slow" and "expensive", on a certain scale. | ||||||
|  |         # This also isn't "right" in that this hinders dependency injection at | ||||||
|  |         # the level of flake inputs. This might get removed in the foreseeable | ||||||
|  |         # future. | ||||||
|  |         # | ||||||
|  |         # Note that you can use these expressions without Nix | ||||||
|  |         # (`pkgs.callPackage ./devops/nix/scope.nix { }` is the entry point). | ||||||
|  |  | ||||||
|         pkgsCuda = import inputs.nixpkgs { |         pkgsCuda = import inputs.nixpkgs { | ||||||
|           inherit system; |           inherit system; | ||||||
|           # Ensure dependencies use CUDA consistently (e.g. that openmpi, ucc, |           # Ensure dependencies use CUDA consistently (e.g. that openmpi, ucc, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Someone Serge
					Someone Serge