Ollama: Difference between revisions

Add troubleshooting instructions for AMD GPUs
No edit summary
(2 intermediate revisions by 2 users not shown)
Line 38: Line 38:
   enable = true;
   enable = true;
   acceleration = "rocm";
   acceleration = "rocm";
};
  environmentVariables = {
systemd.services.ollama.environment = {
    HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
   HSA_OVERRIDE_GFX_VERSION = "10.3.1";
  };
   rocmOverrideGfx = "10.3.1";
};
};
</syntaxhighlight>
</syntaxhighlight>