Pre-set HSA_OVERRIDE_GFX_VERSION for Strix Halo ROCm detection

Ollama ROCm doesn't auto-detect newer AMD iGPUs (gfx1150/1151).
Setting HSA_OVERRIDE_GFX_VERSION=11.0.0 in the compose fixes this.
Configurable via .env for other AMD chips.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-20 20:37:06 -04:00
parent f3ea624269
commit adeda6dd84
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -26,3 +26,6 @@ CALLBACK_URL= # Seth's server (e.g. http://seth_i
# Features
ALLOW_MODEL_UPDATES=false # Allow remote model push via /admin/update-model
# AMD GPU (Strix Halo / newer chips that ROCm doesn't auto-detect)
HSA_OVERRIDE_GFX_VERSION=11.0.0
+1
View File
@@ -28,6 +28,7 @@ services:
- /dev/dri:/dev/dri
environment:
- OLLAMA_HOST=0.0.0.0:11434
- HSA_OVERRIDE_GFX_VERSION=${HSA_OVERRIDE_GFX_VERSION:-11.0.0}
# For NVIDIA, replace 'devices' above with:
# deploy:
# resources: