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