ollama rocm gpu fix

This commit is contained in:
m3tam3re
2024-11-25 14:59:34 +01:00
parent 1251081494
commit 50332e55e8
4 changed files with 13 additions and 0 deletions

View File

@ -20,5 +20,9 @@ in {
host = "[::]";
openFirewall = true;
};
nixpkgs.config = {
rocmSupport = config.services.xserver.videoDrivers == ["amdgpu"];
cudaSupport = config.services.xserver.videoDrivers == ["nvidia"];
};
};
}