fix python path
All checks were successful
Docker Build and Push / docker (push) Successful in 1m5s

This commit is contained in:
4paradigm
2026-09-20 14:49:19 +08:00
parent 6219e91e20
commit 5782591317

View File

@@ -7,7 +7,7 @@ if [ "$1" = "serve" ] && [ -n "$2" ]; then
MODEL_DIR="$2"
shift 2
FIXED_DIR=$(python3 /opt/fix_tokenizer.py "$MODEL_DIR")
FIXED_DIR=$(/opt/conda/bin/python /opt/fix_tokenizer.py "$MODEL_DIR")
if [ -n "$FIXED_DIR" ]; then
exec /opt/conda/bin/vllm_real serve "$MODEL_DIR" --tokenizer "$FIXED_DIR" "$@"
else