fix: ollama defined twice different version bug
This commit is contained in:
@@ -213,8 +213,6 @@
|
||||
gcc
|
||||
xauth
|
||||
burpsuite
|
||||
ollama
|
||||
ollama-rocm
|
||||
python3
|
||||
direnv # develop projects in custom environments
|
||||
# hyprshot # screenshots
|
||||
@@ -272,13 +270,9 @@
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
package = pkgs.ollama;
|
||||
acceleration = "rocm";
|
||||
environmentVariables = {
|
||||
# Force Ollama to only see the dedicated GPU
|
||||
HIP_VISIBLE_DEVICES = "0";
|
||||
# Optional: Force the GPU architecture if discovery still fails
|
||||
HSA_OVERRIDE_GFX_VERSION = "10.3.0";
|
||||
};
|
||||
host = "0.0.0.0";
|
||||
};
|
||||
|
||||
services.pulseaudio.enable = false; # Use Pipewire
|
||||
|
||||
Reference in New Issue
Block a user