current
This commit is contained in:
parent
bd49791e06
commit
bfbd2832d6
5 changed files with 189 additions and 118 deletions
|
|
@ -1,8 +1,15 @@
|
|||
{ options, lib, ...}: {
|
||||
options = lib.mkIf options.ollama.enable {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
environment.systemPackages = [ pkgs.ollama-rocm ];
|
||||
|
||||
# services.ollama = {
|
||||
# enable = true;
|
||||
# acceleration = "rocm";
|
||||
|
||||
# environmentVariables = {
|
||||
# HCC_AMDGPU_TARGET = "gfx1100"; # used to be necessary, but doesn't seem to anymore
|
||||
# };
|
||||
# rocmOverrideGfx = "11.0.0";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue