Skip to content

Commit 6ac5730

Browse files
authored
[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: vllm-project/vllm@86e178f --------- Signed-off-by: wxsIcey <[email protected]>
1 parent 15dc01f commit 6ac5730

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/vllm_ascend_test_pr_light.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,14 @@ jobs:
8585
strategy:
8686
matrix:
8787
vllm_version: [86e178f7c4d8c3b0eaf3c8e3f810a83f63b90e24]
88+
8889
steps:
90+
- name: Free up disk space
91+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
92+
with:
93+
tool-cache: true
94+
docker-images: false
95+
8996
- name: Install packages
9097
run: |
9198
apt-get update -y
@@ -109,6 +116,11 @@ jobs:
109116

110117
- name: Install vllm-project/vllm-ascend
111118
run: |
119+
export TMPDIR=/mnt
120+
rm -f /usr/share/dotnet
121+
rm -rf /opt/ghc
122+
rm -rf "/usr/local/share/boost"
123+
rm -rf "$AGENT_TOOLSDIRECTORY"
112124
export PIP_EXTRA_INDEX_URL=https://mirrors.huaweicloud.com/ascend/repos/pypi
113125
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Ascend/ascend-toolkit/latest/x86_64-linux/devlib
114126
python3 -m pip install -r requirements-dev.txt --extra-index https://download.pytorch.org/whl/cpu/

0 commit comments

Comments
 (0)