Skip to content

Commit

Permalink
fix faqgen on xeon test scripts (#552)
Browse files Browse the repository at this point in the history
Signed-off-by: chensuyue <[email protected]>
  • Loading branch information
chensuyue authored Aug 8, 2024
1 parent ebc165a commit 5ac77f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 53 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/VisualQnA.yml

This file was deleted.

2 changes: 1 addition & 1 deletion FaqGen/docker/xeon/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: "3.8"
services:
tgi-service:
image: ghcr.io/huggingface/text-generation-inference:1.4
container_name: tgi_xeon_server
container_name: tgi-xeon-server
ports:
- "8008:80"
environment:
Expand Down
5 changes: 3 additions & 2 deletions FaqGen/tests/test_faqgen_on_xeon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ LOG_PATH="$WORKPATH/tests"
ip_address=$(hostname -I | awk '{print $1}')

function build_docker_images() {
cd $WORKPATH/../../
cd $WORKPATH

git clone https://github.com/opea-project/GenAIComps.git
cd GenAIComps

docker build --no-cache -t opea/llm-faqgen-tgi:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f comps/llms/faq-generation/tgi/Dockerfile .

Expand Down Expand Up @@ -94,7 +95,7 @@ function validate_microservices() {
"${ip_address}:8008/generate" \
"generated_text" \
"tgi-service" \
"tgi_xeon_server" \
"tgi-xeon-server" \
'{"inputs":"What is Deep Learning?","parameters":{"max_new_tokens":17, "do_sample": true}}'

# llm microservice
Expand Down

0 comments on commit 5ac77f7

Please sign in to comment.