Skip to content

Commit 73fec4a

Browse files
authored
Merge pull request #122 from intel/update-branch
fix: update entrypoint script to handle model file availability for OpenVINO (#353)
2 parents 3c63cc3 + b9440b9 commit 73fec4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

usecases/ai/microservices/text-generation/vllm/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ fi
4545
if [ ! -f "$MODEL_PATH/openvino_model.xml" ]; then
4646
echo -e "Model file does not exist: $MODEL_PATH/openvino_model.xml. Please export the model first and save to $MODEL_PATH"
4747
exit 1
48+
else
49+
echo -e "Model file available. Setting VLLM_OPENVINO_ENABLE_QUANTIZED_WEIGHTS to OFF ..."
50+
unset VLLM_OPENVINO_ENABLE_QUANTIZED_WEIGHTS
4851
fi
4952

5053
echo -e "Starting OpenVINO VLLM service ..."

0 commit comments

Comments
 (0)