services:
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release-rocm
ports:
- 3003:3003
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
device_cgroup_rules:
- 'c 226:* rmw'
- 'c 234:* rmw'
devices:
- /dev/dri:/dev/dri
- /dev/kfd:/dev/kfd
environment:
- HSA_OVERRIDE_GFX_VERSION=9.0.0
- HSA_USE_SVM=0
group_add:
- "104"
- "44"
volumes:
- model-cache:/cache
restart: always
volumes:
model-cache:
services:
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release-rocm
ports:
- 3003:3003
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
device_cgroup_rules:
- 'c 226:* rmw'
- 'c 234:* rmw'
devices:
- /dev/dri:/dev/dri
- /dev/kfd:/dev/kfd
environment:
- HSA_OVERRIDE_GFX_VERSION=9.0.0
- HSA_USE_SVM=0
group_add:
- "104"
- "44"
volumes:
- model-cache:/cache
restart: always
volumes:
model-cache: