DocSum - Solving the problem of running DocSum on ROCm (#1268)
Signed-off-by: Chingis Yundunov <YundunovCN@sibedge.com>
This commit is contained in:
committed by
GitHub
parent
df7c192835
commit
67634dfd22
@@ -28,6 +28,7 @@ services:
|
||||
- seccomp:unconfined
|
||||
ipc: host
|
||||
command: --model-id ${DOCSUM_LLM_MODEL_ID}
|
||||
|
||||
docsum-llm-server:
|
||||
image: ${REGISTRY:-opea}/llm-docsum-tgi:${TAG:-latest}
|
||||
container_name: docsum-llm-server
|
||||
@@ -53,6 +54,47 @@ services:
|
||||
TGI_LLM_ENDPOINT: "http://${HOST_IP}:${DOCSUM_TGI_SERVICE_PORT}"
|
||||
HUGGINGFACEHUB_API_TOKEN: ${DOCSUM_HUGGINGFACEHUB_API_TOKEN}
|
||||
restart: unless-stopped
|
||||
|
||||
whisper:
|
||||
image: ${REGISTRY:-opea}/whisper:${TAG:-latest}
|
||||
container_name: whisper-service
|
||||
ports:
|
||||
- "7066:7066"
|
||||
ipc: host
|
||||
environment:
|
||||
no_proxy: ${no_proxy}
|
||||
http_proxy: ${http_proxy}
|
||||
https_proxy: ${https_proxy}
|
||||
restart: unless-stopped
|
||||
|
||||
dataprep-audio2text:
|
||||
image: ${REGISTRY:-opea}/dataprep-audio2text:${TAG:-latest}
|
||||
container_name: dataprep-audio2text-service
|
||||
ports:
|
||||
- "9099:9099"
|
||||
ipc: host
|
||||
environment:
|
||||
A2T_ENDPOINT: ${A2T_ENDPOINT}
|
||||
|
||||
dataprep-video2audio:
|
||||
image: ${REGISTRY:-opea}/dataprep-video2audio:${TAG:-latest}
|
||||
container_name: dataprep-video2audio-service
|
||||
ports:
|
||||
- "7078:7078"
|
||||
ipc: host
|
||||
environment:
|
||||
V2A_ENDPOINT: ${V2A_ENDPOINT}
|
||||
|
||||
dataprep-multimedia2text:
|
||||
image: ${REGISTRY:-opea}/dataprep-multimedia2text:${TAG:-latest}
|
||||
container_name: dataprep-multimedia2text
|
||||
ports:
|
||||
- "7079:7079"
|
||||
ipc: host
|
||||
environment:
|
||||
V2A_ENDPOINT: ${V2A_ENDPOINT}
|
||||
A2T_ENDPOINT: ${A2T_ENDPOINT}
|
||||
|
||||
docsum-backend-server:
|
||||
image: ${REGISTRY:-opea}/docsum:${TAG:-latest}
|
||||
container_name: docsum-backend-server
|
||||
@@ -66,21 +108,24 @@ services:
|
||||
- https_proxy=${https_proxy}
|
||||
- http_proxy=${http_proxy}
|
||||
- MEGA_SERVICE_HOST_IP=${HOST_IP}
|
||||
- DATA_SERVICE_HOST_IP=${DATA_SERVICE_HOST_IP}
|
||||
- LLM_SERVICE_HOST_IP=${HOST_IP}
|
||||
ipc: host
|
||||
restart: always
|
||||
docsum-ui-server:
|
||||
image: ${REGISTRY:-opea}/docsum-ui:${TAG:-latest}
|
||||
|
||||
docsum-gradio-ui:
|
||||
image: ${REGISTRY:-opea}/docsum-gradio-ui:${TAG:-latest}
|
||||
container_name: docsum-ui-server
|
||||
depends_on:
|
||||
- docsum-backend-server
|
||||
ports:
|
||||
- "${DOCSUM_FRONTEND_PORT}:5173"
|
||||
- "5173:5173"
|
||||
environment:
|
||||
- no_proxy=${no_proxy}
|
||||
- https_proxy=${https_proxy}
|
||||
- http_proxy=${http_proxy}
|
||||
- DOC_BASE_URL="http://${HOST_IP}:${DOCSUM_BACKEND_SERVER_PORT}/v1/docsum"
|
||||
- BACKEND_SERVICE_ENDPOINT=${BACKEND_SERVICE_ENDPOINT}
|
||||
- DOC_BASE_URL=${BACKEND_SERVICE_ENDPOINT}
|
||||
ipc: host
|
||||
restart: always
|
||||
|
||||
|
||||
@@ -13,3 +13,11 @@ export DOCSUM_LLM_SERVER_PORT="9000"
|
||||
export DOCSUM_BACKEND_SERVER_PORT="8888"
|
||||
export DOCSUM_FRONTEND_PORT="5173"
|
||||
export BACKEND_SERVICE_ENDPOINT="http://${HOST_IP}:${DOCSUM_BACKEND_SERVER_PORT}/v1/docsum"
|
||||
export V2A_SERVICE_HOST_IP=${host_ip}
|
||||
export V2A_ENDPOINT=http://$host_ip:7078
|
||||
export A2T_ENDPOINT=http://$host_ip:7066
|
||||
export A2T_SERVICE_HOST_IP=${host_ip}
|
||||
export A2T_SERVICE_PORT=9099
|
||||
export DATA_ENDPOINT=http://$host_ip:7079
|
||||
export DATA_SERVICE_HOST_IP=${host_ip}
|
||||
export DATA_SERVICE_PORT=7079
|
||||
|
||||
Reference in New Issue
Block a user