Skip to content

Commit

Permalink
[CI] Remove useless ci deps (#48)
Browse files Browse the repository at this point in the history
### What this PR does / why we need it?

Remove useless ci deps because we use `VLLM_TARGET_DEVICE=empty` to
build

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
CI passed

Signed-off-by: Yikun <yikunkero@gmail.com>
  • Loading branch information
Yikun authored Jan 28, 2025
1 parent c240cb4 commit 6889a52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/vllm_ascend_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,9 @@ jobs:
run: |
apt-get update -y
apt-get -y install `cat packages.txt`
update-alternatives --install /usr/bin/gcc \
gcc /usr/bin/gcc-12 10 --slave /usr/bin/g++ g++ /usr/bin/g++-12
- name: Install dependencies
run: |
pip install cmake>=3.26 wheel packaging ninja "setuptools-scm>=8" numpy
pip install -r requirements-dev.txt
# This is the base vllm master code cached in the container to speed up
Expand All @@ -91,14 +88,13 @@ jobs:
# - apply_plugin: the code of vllm with the plugin applied
- name: copy vllm
run: |
cp -r /root/vllm /root/vllm-cpu
cp -r /root/vllm /root/vllm-empty
- name: Install vLLM from source
working-directory: /root/vllm-cpu
working-directory: /root/vllm-empty
run: |
git checkout up-main
pip install -r requirements-cpu.txt
VLLM_TARGET_DEVICE=empty python setup.py install
VLLM_TARGET_DEVICE=empty pip install -e .
- name: Install vllm_ascend
run: |
Expand Down
11 changes: 1 addition & 10 deletions packages.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
git
vim
gcc-12
g++-12
libnuma-dev
make
cmake
ninja-build
curl
libgl1
libglib2.0-0
libsndfile1

2 changes: 1 addition & 1 deletion tools/npu-vllm-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

set -o pipefail

TEST_DIR="/root/vllm-cpu/tests"
TEST_DIR="/root/vllm-empty/tests"
TEST_FILES=(
test_sequence.py
# test_utils.py
Expand Down

0 comments on commit 6889a52

Please sign in to comment.