use latest sgl-kernel for mla test (#4222)
This commit is contained in:
33
.github/workflows/pr-test-sgl-kernel.yml
vendored
33
.github/workflows/pr-test-sgl-kernel.yml
vendored
@@ -95,8 +95,39 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip3 uninstall sgl-kernel -y
|
pip3 uninstall sgl-kernel -y
|
||||||
|
|
||||||
|
mla-test:
|
||||||
|
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
|
||||||
|
needs: build-wheels
|
||||||
|
runs-on: 1-gpu-runner
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Download artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
path: sgl-kernel/dist/
|
||||||
|
merge-multiple: true
|
||||||
|
pattern: wheel-*
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: |
|
||||||
|
bash scripts/ci_install_dependency.sh
|
||||||
|
pip3 uninstall sgl-kernel -y || true
|
||||||
|
pip3 install sgl-kernel/dist/*whl --force-reinstall --no-deps
|
||||||
|
pip3 list | grep sgl-kernel
|
||||||
|
|
||||||
|
- name: Run test
|
||||||
|
timeout-minutes: 30
|
||||||
|
run: |
|
||||||
|
cd test/srt
|
||||||
|
python3 test_mla_deepseek_v3.py
|
||||||
|
|
||||||
|
- name: Uninstall dependencies
|
||||||
|
run: |
|
||||||
|
pip3 uninstall sgl-kernel -y
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
needs: [unit-test, lint]
|
needs: [unit-test, mla-test, lint]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Finish
|
- name: Finish
|
||||||
|
|||||||
Reference in New Issue
Block a user