-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (26 loc) · 797 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (26 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
services:
mugtracker:
build: .
image: mugtracker:latest
container_name: mugtracker
# AMD GPU passthrough
devices:
- /dev/kfd
- /dev/dri
- /dev/video1:/dev/video1 # Cam Link 4K input (adjust if different)
- /dev/video10:/dev/video10 # v4l2loopback virtual camera output
# Required groups for GPU + video access
group_add:
- video
- render
# RDNA2 environment variables
environment:
- HSA_OVERRIDE_GFX_VERSION=10.3.0
- PYTORCH_ROCM_ARCH=gfx1030
- PYTORCH_HIP_ALLOC_CONF=expandable_segments:True
- ROCM_PATH=/opt/rocm
# Mount model weights from host (don't bake into image)
volumes:
- ./models:/app/models:ro
- ./config.yaml:/app/config.yaml:ro
restart: unless-stopped