Ollama: Difference between revisions

m Use a more appropriate option for setting environment variables
No edit summary
 
(One intermediate revision by the same user not shown)
Line 39: Line 39:
   acceleration = "rocm";
   acceleration = "rocm";
   environmentVariables = {
   environmentVariables = {
     HSA_OVERRIDE_GFX_VERSION = "10.3.1";
     HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
   };
   };
  rocmOverrideGfx = "10.3.1";
};
};
</syntaxhighlight>
</syntaxhighlight>