aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/by-name/ol/ollama/module.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/by-name/ol/ollama/module.nix b/modules/by-name/ol/ollama/module.nix
index bd0baaa6..7a4e8038 100644
--- a/modules/by-name/ol/ollama/module.nix
+++ b/modules/by-name/ol/ollama/module.nix
@@ -28,6 +28,16 @@ in {
services.ollama = {
enable = true;
acceleration = false;
+
+ # TODO: This could work for GPU acceleration. <2024-12-20>
+ # acceleration = "rocm";
+ # host = "127.0.0.1";
+ # port = 11434;
+ # environmentVariables = {
+ # HCC_AMDGPU_TARGET = "gfx1032"; # used to be necessary, but doesn't seem to anymore
+ # };
+ #
+ # rocmOverrideGfx = "10.3.2";
};
};
}