Fix device tree
This commit is contained in:
@@ -14,12 +14,17 @@ services:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
user: root
|
||||
volumes:
|
||||
# P52 Bind Mount (Already working)
|
||||
- /mnt/local-ssd/docker/ollama:/root/.ollama
|
||||
|
||||
devices:
|
||||
- # Map the AMD Card Node (Control)
|
||||
- /dev/dri/card0:/dev/dri/card0
|
||||
- /dev/kfd:/dev/kfd
|
||||
# 2. Mount ONLY the AMD Render Node (The Blinders)
|
||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
||||
|
||||
volumes:
|
||||
# P52 Bind Mount (Already working)
|
||||
- /mnt/local-ssd/docker/ollama:/root/.ollama
|
||||
environment:
|
||||
- HSA_OVERRIDE_GFX_VERSION=10.3.0
|
||||
- ROCR_VISIBLE_DEVICES=0
|
||||
|
||||
Reference in New Issue
Block a user