x
This commit is contained in:
+1
-26
@@ -1,30 +1,5 @@
|
||||
services:
|
||||
inference:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: rocm-vllm-inference:latest
|
||||
container_name: rocm-vllm-inference
|
||||
entrypoint: ["python"]
|
||||
command: ["-m", "app.start_api"]
|
||||
ports:
|
||||
- "8002:8002"
|
||||
volumes:
|
||||
- /opt/model:/opt/model:ro
|
||||
- ./config.json:/workspace/config.json:ro
|
||||
devices:
|
||||
- /dev/kfd
|
||||
- /dev/dri
|
||||
group_add:
|
||||
- video
|
||||
ipc: host
|
||||
shm_size: 16g
|
||||
cap_add:
|
||||
- SYS_PTRACE
|
||||
security_opt:
|
||||
- seccomp=unconfined
|
||||
restart: unless-stopped
|
||||
openai_api:
|
||||
vllm:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user