From 6ac57306405a294ba83887ee5be9564cfbe868e3 Mon Sep 17 00:00:00 2001 From: Icey <1790571317@qq.com> Date: Wed, 3 Dec 2025 17:35:06 +0800 Subject: [PATCH] [CI] Fix ut ci: no space on the device (#4662) ### What this PR does / why we need it? The current ut ci is encountering a disk space shortage issue, see https://github.com/vllm-project/vllm-ascend/actions/runs/19884417749/job/56990694594?pr=4168 ### Does this PR introduce _any_ user-facing change? N/A ### How was this patch tested? CI passed with new added/existing test. - vLLM version: 86e178f7c4d8c3b0eaf3c8e3f810a83f63b90e24 - vLLM main: https://github.com/vllm-project/vllm/commit/86e178f7c4d8c3b0eaf3c8e3f810a83f63b90e24 --------- Signed-off-by: wxsIcey <1790571317@qq.com> --- .github/workflows/vllm_ascend_test_pr_light.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/vllm_ascend_test_pr_light.yaml b/.github/workflows/vllm_ascend_test_pr_light.yaml index fdfa1cf8..2b2f5136 100644 --- a/.github/workflows/vllm_ascend_test_pr_light.yaml +++ b/.github/workflows/vllm_ascend_test_pr_light.yaml @@ -85,7 +85,14 @@ jobs: strategy: matrix: vllm_version: [86e178f7c4d8c3b0eaf3c8e3f810a83f63b90e24] + steps: + - name: Free up disk space + uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 + with: + tool-cache: true + docker-images: false + - name: Install packages run: | apt-get update -y @@ -109,6 +116,11 @@ jobs: - name: Install vllm-project/vllm-ascend run: | + export TMPDIR=/mnt + rm -f /usr/share/dotnet + rm -rf /opt/ghc + rm -rf "/usr/local/share/boost" + rm -rf "$AGENT_TOOLSDIRECTORY" export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib python3 -m pip install -r requirements-dev.txt --extra-index https://download.pytorch.org/whl/cpu/