koboldai/nixos: remove AMD-specific workarounds

This commit is contained in:
Max 2023-04-12 18:24:29 +02:00
parent 776fa40bb2
commit 0bc0ddf92f
2 changed files with 0 additions and 13 deletions

View file

@ -29,7 +29,6 @@
koboldai-amd = {
imports = [
config.flake.nixosModules.koboldai
./nixos/amd.nix
(packageModule "koboldai-amd")
];
};

View file

@ -1,12 +0,0 @@
{ pkgs, ... }:
{
systemd = {
# Allow "unsupported" AMD GPUs
services.koboldai.environment.HSA_OVERRIDE_GFX_VERSION = "10.3.0";
# HACK: The PyTorch build we use on ROCm wants this to exist
tmpfiles.rules = [
"L+ /opt/amdgpu - - - - ${pkgs.libdrm}"
];
};
}