File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
ChatQnA/docker_compose/intel/hpu/gaudi Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -69,17 +69,19 @@ jobs:
6969 - name : Get test matrix
7070 shell : bash
7171 id : test-case-matrix
72+ env :
73+ HARDWARE : ${{ inputs.hardware }}
7274 run : |
7375 example_l=$(echo ${{ inputs.example }} | tr '[:upper:]' '[:lower:]')
7476 cd ${{ github.workspace }}/${{ inputs.example }}/tests
7577 run_test_cases=""
7678
77- if [[ "${{ inputs.hardware }} " == "gaudi"* ]]; then
79+ if [[ "$HARDWARE " == "gaudi"* ]]; then
7880 hardware="gaudi"
79- elif [[ "${{ inputs.hardware }} " == "xeon"* ]]; then
81+ elif [[ "$HARDWARE " == "xeon"* ]]; then
8082 hardware="xeon"
8183 else
82- hardware="${{ inputs.hardware }} "
84+ hardware="$HARDWARE "
8385 fi
8486 default_test_case=$(find . -type f -name "test_compose_on_$hardware.sh" | cut -d/ -f2)
8587 if [ "$default_test_case" ]; then run_test_cases="$default_test_case"; fi
@@ -110,9 +112,11 @@ jobs:
110112 run_test_cases=$other_test_cases
111113 fi
112114
113- if [[ "${{ hardware }} " == "xeon"* ]]; then
115+ if [[ "$hardware" == "xeon"* ]]; then
114116 if [ -f "${{ github.workspace }}/${{ inputs.example }}/tests/test_ui_on_xeon.sh" ]; then
115117 run_test_cases="$run_test_cases test_ui_on_xeon.sh";
118+ elif [ -f "${{ github.workspace }}/${{ inputs.example }}/tests/test_ui_on_gaudi.sh" ]; then
119+ run_test_cases="$run_test_cases test_ui_on_gaudi.sh";
116120 fi
117121 fi
118122 test_cases=$(echo $run_test_cases | tr ' ' '\n' | sort -u | jq -R '.' | jq -sc '.')
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ services:
9292 MAX_WARMUP_SEQUENCE_LENGTH : 512
9393 command : --model-id ${RERANK_MODEL_ID} --auto-truncate
9494 vllm-service :
95- image : ${REGISTRY:- opea} /vllm-gaudi:1.22.0
95+ image : opea/vllm-gaudi:1.22.0
9696 container_name : vllm-gaudi-server
9797 ports :
9898 - " 8007:80"
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ services:
130130 MAX_WARMUP_SEQUENCE_LENGTH : 512
131131 command : --model-id ${RERANK_MODEL_ID} --auto-truncate
132132 vllm-service :
133- image : ${REGISTRY:- opea} /vllm-gaudi:1.22.0
133+ image : opea/vllm-gaudi:1.22.0
134134 container_name : vllm-gaudi-server
135135 ports :
136136 - " 8008:80"
You can’t perform that action at this time.
0 commit comments