Skip to content

Commit 8d4209a

Browse files
Spycshchensuyue
andauthored
add auto-truncate to gaudi tei (#388)
* fix sqna gaudi * rootcause * rootcause --------- Co-authored-by: chen, suyue <[email protected]>
1 parent ba65415 commit 8d4209a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SearchQnA/docker/gaudi/docker_compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ services:
2323
HABANA_VISIBLE_DEVICES: all
2424
OMPI_MCA_btl_vader_single_copy_mechanism: none
2525
MAX_WARMUP_SEQUENCE_LENGTH: 512
26-
command: --model-id ${EMBEDDING_MODEL_ID}
26+
command: --model-id ${EMBEDDING_MODEL_ID} --auto-truncate
2727
embedding:
2828
image: opea/embedding-tei:latest
2929
container_name: embedding-tei-server

SearchQnA/tests/test_searchqna_on_gaudi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function start_services() {
7171
# Start Docker Containers
7272
docker compose -f docker_compose.yaml up -d
7373
n=0
74-
until [[ "$n" -ge 300 ]]; do
74+
until [[ "$n" -ge 500 ]]; do
7575
docker logs tgi-gaudi-server > tgi_service_start.log
7676
if grep -q Connected tgi_service_start.log; then
7777
break

0 commit comments

Comments
 (0)