[Feature] use pytest for sgl-kernel (#4896)
This commit is contained in:
committed by
GitHub
parent
4ede6770cd
commit
9fccda3111
5
.github/workflows/pr-test-sgl-kernel.yml
vendored
5
.github/workflows/pr-test-sgl-kernel.yml
vendored
@@ -80,7 +80,8 @@ jobs:
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
pip3 install torch==2.5.1 && pip3 install pytest && pip3 install vllm==0.6.4.post1
|
||||
bash scripts/ci_install_dependency.sh
|
||||
pip3 install torch==2.5.1 && pip3 install pytest && pip3 install vllm==0.7.2
|
||||
pip3 uninstall sgl-kernel -y || true
|
||||
pip3 install sgl-kernel/dist/*whl --force-reinstall --no-deps
|
||||
pip3 list | grep sgl-kernel
|
||||
@@ -89,7 +90,7 @@ jobs:
|
||||
timeout-minutes: 30
|
||||
run: |
|
||||
cd sgl-kernel
|
||||
find tests -name "test_*.py" | xargs -n 1 python3
|
||||
pytest tests/
|
||||
|
||||
- name: Uninstall dependencies
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user