use latest sgl-kernel for mla test (#4222)

This commit is contained in:
Yineng Zhang
2025-03-08 22:27:47 -08:00
committed by GitHub
parent 79a321af55
commit ee132a4515

View File

@@ -95,8 +95,39 @@ jobs:
run: |
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:
needs: [unit-test, lint]
needs: [unit-test, mla-test, lint]
runs-on: ubuntu-latest
steps:
- name: Finish