Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open VideoQnA test #1476

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions VideoQnA/docker_compose/intel/cpu/xeon/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,23 @@ services:
https_proxy: ${https_proxy}
VDMS_HOST: ${VDMS_HOST}
VDMS_PORT: ${VDMS_PORT}
INDEX_NAME: ${INDEX_NAME}
COLLECTION_NAME: ${INDEX_NAME}
MULTIMODAL_DATAPREP: true
entrypoint: sh -c 'sleep 15 && python ingest_videos.py'
DATAPREP_COMPONENT_NAME: "OPEA_DATAPREP_MULTIMODALVDMS"
volumes:
- /home/$USER/.cache/clip:/home/user/.cache/clip
- /home/$USER/.cache/huggingface/hub:/home/user/.cache/huggingface/hub
embedding:
image: ${REGISTRY:-opea}/embedding-multimodal-clip:${TAG:-latest}
container_name: embedding-multimodal-server
image: ${REGISTRY:-opea}/embedding:${TAG:-latest}
container_name: clip-embedding-server
ports:
- "6000:6000"
- "6000:5000"
ipc: host
environment:
no_proxy: ${no_proxy}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
EMBEDDING_COMPONENT_NAME: "OPEA_CLIP_EMBEDDING"
volumes:
- /home/$USER/.cache/huggingface/hub:/home/user/.cache/huggingface/hub
restart: unless-stopped
Expand All @@ -59,7 +60,6 @@ services:
VDMS_USE_CLIP: ${USECLIP}
LOGFLAG: ${LOGFLAG}
RETRIEVER_COMPONENT_NAME: "OPEA_RETRIEVER_VDMS"
entrypoint: sh -c 'sleep 30 && python retriever_vdms.py'
restart: unless-stopped
volumes:
- /home/$USER/.cache/huggingface/hub:/home/user/.cache/huggingface/hub
Expand Down Expand Up @@ -89,7 +89,6 @@ services:
no_proxy: ${no_proxy}
llm_download: ${LLM_DOWNLOAD}
volumes:
- "/home/$USER/.cache:/home/user/.cache"
- video-llama-model:/home/user/model
restart: unless-stopped
lvm:
Expand Down
6 changes: 3 additions & 3 deletions VideoQnA/docker_image_build/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ services:
dockerfile: comps/dataprep/src/Dockerfile
extends: videoqna
image: ${REGISTRY:-opea}/dataprep:${TAG:-latest}
embedding-multimodal-clip:
embedding:
build:
context: GenAIComps
dockerfile: comps/third_parties/clip/src/Dockerfile
dockerfile: comps/embeddings/src/Dockerfile
extends: videoqna
image: ${REGISTRY:-opea}/embedding-multimodal-clip:${TAG:-latest}
image: ${REGISTRY:-opea}/embedding:${TAG:-latest}
retriever:
build:
context: GenAIComps
Expand Down
4 changes: 2 additions & 2 deletions VideoQnA/tests/test_compose_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function start_services() {
sleep 1m

# List of containers running uvicorn
list=("dataprep-vdms-server" "embedding-multimodal-server" "retriever-vdms-server" "reranking-tei-server" "lvm-video-llama" "lvm-video-llama" "videoqna-xeon-backend-server")
list=("dataprep-vdms-server" "clip-embedding-server" "retriever-vdms-server" "reranking-tei-server" "lvm-video-llama" "videoqna-xeon-backend-server")

# Define the maximum time limit in seconds
TIME_LIMIT=5400
Expand Down Expand Up @@ -260,4 +260,4 @@ function main() {

}

# main
main
Loading