ollama rocm gpu fix
This commit is contained in:
parent
1251081494
commit
50332e55e8
@ -69,6 +69,8 @@
|
|||||||
procs
|
procs
|
||||||
progress
|
progress
|
||||||
ripgrep
|
ripgrep
|
||||||
|
rocmPackages.rocm-smi
|
||||||
|
rocmPackages.rocminfo
|
||||||
tldr
|
tldr
|
||||||
trash-cli
|
trash-cli
|
||||||
unimatrix
|
unimatrix
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
nixd
|
nixd
|
||||||
alejandra
|
alejandra
|
||||||
tailwindcss
|
tailwindcss
|
||||||
|
tailwindcss-language-server
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -20,5 +20,9 @@ in {
|
|||||||
host = "[::]";
|
host = "[::]";
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
nixpkgs.config = {
|
||||||
|
rocmSupport = config.services.xserver.videoDrivers == ["amdgpu"];
|
||||||
|
cudaSupport = config.services.xserver.videoDrivers == ["nvidia"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -48,4 +48,10 @@
|
|||||||
podman.enable = true;
|
podman.enable = true;
|
||||||
virtualisation.enable = true;
|
virtualisation.enable = true;
|
||||||
};
|
};
|
||||||
|
services.ollama = {
|
||||||
|
environmentVariables = {
|
||||||
|
HCC_AMDGPU_TARGET = "gfx1100";
|
||||||
|
};
|
||||||
|
rocmOverrideGfx = "11.0.0";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user