invokeai/nixos: remove AMD-specific workarounds

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

View file

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

View file

@ -1,12 +0,0 @@
{ pkgs, ... }:
{
systemd = {
# Allow "unsupported" AMD GPUs
services.invokeai.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}"
];
};
}