3 ms·
So, this is all I needed to add to NixOS workstation: hardware.graphics.enable = true; services.ollama = { enable = true; acceleration = "
by rglullis 2y ago
So, this is all I needed to add to NixOS workstation:
hardware.graphics.enable = true;
services.ollama = {
enable = true;
acceleration = "rocm";
environmentVariables = {
ROC_ENABLE_PRE_VEGA = "1";
HSA_OVERRIDE_GFX_VERSION = "11.0.0";
};
};