This commit is contained in:
2026-06-15 14:40:53 +08:00
parent a095bdd927
commit 2d5413779c
2 changed files with 34 additions and 10 deletions
+7 -1
View File
@@ -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 推理补丁