x
This commit is contained in:
@@ -9,9 +9,15 @@ SCRIPTS_DIR=/opt/scripts
|
||||
|
||||
echo "[entrypoint] running patches..."
|
||||
|
||||
# vllm 平台补丁
|
||||
# vllm 平台补丁(非致命:非 GPU 容器可能失败)
|
||||
if [ -f ${SCRIPTS_DIR}/patch_vllm_platform.py ]; then
|
||||
set +e
|
||||
${VENV}/bin/python ${SCRIPTS_DIR}/patch_vllm_platform.py
|
||||
vllm_rc=$?
|
||||
set -e
|
||||
if [ $vllm_rc -ne 0 ]; then
|
||||
echo "[entrypoint] patch_vllm_platform.py exited with $vllm_rc (non-fatal for router/gradio)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# MinerU 推理补丁
|
||||
|
||||
Reference in New Issue
Block a user