mirror of
https://github.com/denismhz/flake.git
synced 2025-11-09 16:16:23 +01:00
13 lines
286 B
Nix
13 lines
286 B
Nix
{ 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}"
|
|
];
|
|
};
|
|
}
|