Skip to content

Commit 13ea138

Browse files
authored
Remove proxy in CodeTrans test (#1874)
Signed-off-by: chensuyue <[email protected]>
1 parent 1787d1e commit 13ea138

File tree

7 files changed

+0
-14
lines changed

7 files changed

+0
-14
lines changed

ChatQnA/tests/test_compose_milvus_on_xeon.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ function build_docker_images() {
4141
}
4242
function start_services() {
4343
cd $WORKPATH/docker_compose/intel/cpu/xeon/
44-
export no_proxy=${no_proxy},${ip_address}
4544
export EMBEDDING_MODEL_ID="BAAI/bge-base-en-v1.5"
4645
export RERANK_MODEL_ID="BAAI/bge-reranker-base"
4746
export LLM_MODEL_ID="meta-llama/Meta-Llama-3-8B-Instruct"

CodeTrans/tests/test_compose_on_gaudi.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ function build_docker_images() {
4343

4444
function start_services() {
4545
cd $WORKPATH/docker_compose/intel/hpu/gaudi
46-
47-
export http_proxy=${http_proxy}
48-
export https_proxy=${http_proxy}
4946
export LLM_MODEL_ID="mistralai/Mistral-7B-Instruct-v0.3"
5047
export LLM_ENDPOINT="http://${ip_address}:8008"
5148
export LLM_COMPONENT_NAME="OpeaTextGenService"

CodeTrans/tests/test_compose_on_rocm.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ function build_docker_images() {
4242

4343
function start_services() {
4444
cd $WORKPATH/docker_compose/amd/gpu/rocm/
45-
export http_proxy=${http_proxy}
46-
export https_proxy=${http_proxy}
4745
export CODETRANS_TGI_SERVICE_PORT=8008
4846
export CODETRANS_LLM_SERVICE_PORT=9000
4947
export CODETRANS_LLM_MODEL_ID="Qwen/Qwen2.5-Coder-7B-Instruct"

CodeTrans/tests/test_compose_on_xeon.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ function build_docker_images() {
4545

4646
function start_services() {
4747
cd $WORKPATH/docker_compose/intel/cpu/xeon/
48-
export http_proxy=${http_proxy}
49-
export https_proxy=${http_proxy}
5048
export LLM_MODEL_ID="mistralai/Mistral-7B-Instruct-v0.3"
5149
export LLM_ENDPOINT="http://${ip_address}:8008"
5250
export LLM_COMPONENT_NAME="OpeaTextGenService"

CodeTrans/tests/test_compose_tgi_on_gaudi.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ function build_docker_images() {
4141

4242
function start_services() {
4343
cd $WORKPATH/docker_compose/intel/hpu/gaudi/
44-
export http_proxy=${http_proxy}
45-
export https_proxy=${http_proxy}
4644
export LLM_MODEL_ID="mistralai/Mistral-7B-Instruct-v0.3"
4745
export LLM_ENDPOINT="http://${ip_address}:8008"
4846
export LLM_COMPONENT_NAME="OpeaTextGenService"

CodeTrans/tests/test_compose_tgi_on_xeon.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ function build_docker_images() {
4141

4242
function start_services() {
4343
cd $WORKPATH/docker_compose/intel/cpu/xeon/
44-
export http_proxy=${http_proxy}
45-
export https_proxy=${http_proxy}
4644
export LLM_MODEL_ID="mistralai/Mistral-7B-Instruct-v0.3"
4745
export LLM_ENDPOINT="http://${ip_address}:8008"
4846
export LLM_COMPONENT_NAME="OpeaTextGenService"

CodeTrans/tests/test_compose_vllm_on_rocm.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ function build_docker_images() {
4040

4141
function start_services() {
4242
cd $WORKPATH/docker_compose/amd/gpu/rocm/
43-
export http_proxy=${http_proxy}
44-
export https_proxy=${http_proxy}
4543
export HOST_IP=${ip_address}
4644
export CODETRANS_VLLM_SERVICE_PORT=8008
4745
export CODETRANS_LLM_SERVICE_PORT=9000

0 commit comments

Comments
 (0)