[CI] Fix mypy CI (#443)

### What this PR does / why we need it?
Fix CI by updating mypy and pining numpy version

_the modification of model_runner_v1 is just to make CI happy_

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
CI passed

Signed-off-by: MengqingCao <cmq0113@163.com>
This commit is contained in:
Mengqing Cao
2025-04-01 09:25:33 +08:00
committed by GitHub
parent c42e21a5aa
commit 2dbd763584
4 changed files with 8 additions and 9 deletions

View File

@@ -63,10 +63,6 @@ jobs:
run: |
apt-get -y install `cat packages.txt`
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
- name: Checkout vllm-project/vllm repo
uses: actions/checkout@v4
with:
@@ -80,6 +76,8 @@ jobs:
- name: Install vllm-project/vllm-ascend
run: |
pip uninstall -y numpy
pip install -r requirements-dev.txt
pip install -e .
- name: Install pta