rocblas workaround

This commit is contained in:
m3tam3re
2025-01-28 09:57:26 +01:00
parent 65a69df52b
commit e4b87c6908
7 changed files with 100 additions and 76 deletions

View File

@ -1,6 +1,7 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
@ -11,6 +12,10 @@ in {
config = mkIf cfg.enable {
services.ollama = {
enable = true;
package =
if config.services.xserver.videoDrivers == ["amdgpu"] # rocblas-6.0.2 broken
then pkgs.pinned.ollama
else null;
acceleration =
if config.services.xserver.videoDrivers == ["amdgpu"]
then "rocm"