x
This commit is contained in:
@@ -19,5 +19,10 @@ if [ -f ${SCRIPTS_DIR}/apply_mineru_patches.py ]; then
|
||||
${VENV}/bin/python ${SCRIPTS_DIR}/apply_mineru_patches.py || echo "[entrypoint] apply_mineru_patches.py failed (non-fatal)"
|
||||
fi
|
||||
|
||||
# 确保 vllm 源码目录在 PYTHONPATH 中
|
||||
# patch_vllm_platform.py 中的 os.environ 修改不持久化到父进程
|
||||
# 这里无条件导出,防止 editable install 被破坏后 vllm 无法导入
|
||||
export PYTHONPATH="/opt/vllm:${PYTHONPATH}"
|
||||
|
||||
echo "[entrypoint] starting: $*"
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user