mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
invokeai/nixos: remove AMD-specific workarounds
This commit is contained in:
parent
1e31b1599c
commit
776fa40bb2
|
|
@ -29,7 +29,6 @@
|
|||
invokeai-amd = {
|
||||
imports = [
|
||||
config.flake.nixosModules.invokeai
|
||||
./nixos/amd.nix
|
||||
(packageModule "invokeai-amd")
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue