[Bugfix][CI] skip conftest for NPU compatibility test (#55799)
Signed-off-by: yangzeyu <532183776@qq.com>
This commit is contained in:
@@ -76,21 +76,12 @@ FROM ${BASE_IMAGE_NAME}
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
ENV SOC_VERSION="ascend910b1"
|
ENV SOC_VERSION="ascend910b1"
|
||||||
|
|
||||||
# Install uv and configure uv to use internal PyPI mirror
|
RUN pip config set global.index-url http://cache-service-vllm.nginx-pypi-cache.svc.cluster.local:${PYPI_CACHE_PORT}/pypi/simple && \
|
||||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
pip config set global.trusted-host cache-service-vllm.nginx-pypi-cache.svc.cluster.local
|
||||||
ENV PATH="/root/.local/bin:$PATH"
|
|
||||||
ENV UV_SYSTEM_PYTHON=true
|
|
||||||
ENV UV_INDEX_URL="http://cache-service-vllm.nginx-pypi-cache.svc.cluster.local:${PYPI_CACHE_PORT}/pypi/simple"
|
|
||||||
ENV UV_EXTRA_INDEX_URL="https://mirrors.huaweicloud.com/ascend/repos/pypi"
|
|
||||||
|
|
||||||
RUN apt-get update -y && \
|
|
||||||
apt-get install -y python3-pip git vim wget net-tools gcc g++ cmake libnuma-dev && \
|
|
||||||
rm -rf /var/cache/apt/* && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Install for pytest to make the docker build cache layer always valid
|
# Install for pytest to make the docker build cache layer always valid
|
||||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
uv pip install pytest>=6.0 'modelscope<1.38' --quiet
|
pip install pytest>=6.0
|
||||||
|
|
||||||
WORKDIR /workspace/vllm
|
WORKDIR /workspace/vllm
|
||||||
|
|
||||||
@@ -167,5 +158,5 @@ docker run \
|
|||||||
"${image_name}" \
|
"${image_name}" \
|
||||||
bash -c '
|
bash -c '
|
||||||
set -e
|
set -e
|
||||||
pytest -v -s tests/e2e/vllm_interface/test_vllm_pr_interface_compatibility.py
|
pytest --noconftest -v -s tests/e2e/vllm_interface/test_vllm_pr_interface_compatibility.py
|
||||||
'
|
'
|
||||||
|
|||||||
Reference in New Issue
Block a user