Ollama: Difference between revisions

Add troubleshooting instructions for AMD GPUs
m Use a more appropriate option for setting environment variables
Line 38: Line 38:
   enable = true;
   enable = true;
   acceleration = "rocm";
   acceleration = "rocm";
};
  environmentVariables = {
systemd.services.ollama.environment = {
    HSA_OVERRIDE_GFX_VERSION = "10.3.1";
  HSA_OVERRIDE_GFX_VERSION = "10.3.1";
  };
};
};
</syntaxhighlight>
</syntaxhighlight>