flake/modules/nixpkgs-config/default.nix
Max 079f83ba45 Major Upgrade/Refactor
- KoboldAI is no longer upstream maintained, so is now deprecated in
  nixified.ai

- InvokeAI: v2.3.1.post2 -> v3.3.0post3
- textgen: init at v1.7
- treewide: update flake inputs including nixpkgs
- treewide: add a bunch of new dependencies and upgrade old ones
2023-10-19 22:13:37 +01:00

27 lines
563 B
Nix

{ inputs, lib, ... }:
{
perSystem = { system, ... }: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
# for Triton
"cuda_cudart"
"cuda_nvcc"
"cuda_nvtx"
# for CUDA Torch
"cuda_cccl"
"cuda_cupti"
"cuda_nvprof"
"cudatoolkit"
"cudatoolkit-11-cudnn"
"libcublas"
"libcusolver"
"libcusparse"
];
};
};
};
}