+docker-compose.rocm.yml, +auto build rocm
This commit is contained in:
parent
72c7b799b9
commit
756799529a
2 changed files with 89 additions and 1 deletions
27
docker-compose.rocm.yml
Normal file
27
docker-compose.rocm.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
services:
|
||||
server:
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: ghcr.io/matatonic/openedai-speech-rocm
|
||||
environment:
|
||||
- USE_ROCM=1
|
||||
env_file: speech.env
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- ./voices:/app/voices
|
||||
- ./config:/app/config
|
||||
# To install as a service
|
||||
restart: unless-stopped
|
||||
# For AMD GPU (ROCm) Support
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
devices:
|
||||
- /dev/kfd
|
||||
- /dev/dri
|
||||
security_opt:
|
||||
- seccomp=unconfined
|
||||
group_add:
|
||||
- video
|
||||
- audio
|
||||
ipc: host
|
||||
Loading…
Add table
Add a link
Reference in a new issue