Fix sgl-kernel-mla-test path after test was moved to test/manual (#24914)
Co-authored-by: Alison Shao <a.shao@wustl.edu> Co-authored-by: Alison Shao <54658187+alisonshao@users.noreply.github.com>
This commit is contained in:
co-authored by
Alison Shao
Alison Shao
parent
8e2142c15a
commit
d5e707f132
@@ -66,41 +66,6 @@ jobs:
|
|||||||
cd sgl-kernel
|
cd sgl-kernel
|
||||||
pytest tests/
|
pytest tests/
|
||||||
|
|
||||||
sgl-kernel-mla-test:
|
|
||||||
runs-on: 1-gpu-h100
|
|
||||||
timeout-minutes: 240
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: ${{ inputs.pr_head_sha || inputs.git_ref || github.sha }}
|
|
||||||
|
|
||||||
- uses: ./.github/actions/check-stage-health
|
|
||||||
|
|
||||||
- uses: ./.github/actions/check-maintenance
|
|
||||||
|
|
||||||
- name: Cleanup
|
|
||||||
run: |
|
|
||||||
ls -alh sgl-kernel/dist || true
|
|
||||||
rm -rf sgl-kernel/dist/* || true
|
|
||||||
|
|
||||||
- name: Download artifacts
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
path: sgl-kernel/dist/
|
|
||||||
merge-multiple: true
|
|
||||||
pattern: wheel-python3.10-cuda*
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
timeout-minutes: 20
|
|
||||||
run: |
|
|
||||||
CUSTOM_BUILD_SGL_KERNEL=${{inputs.sgl_kernel}} bash scripts/ci/cuda/ci_install_dependency.sh
|
|
||||||
|
|
||||||
- name: Run test
|
|
||||||
timeout-minutes: 30
|
|
||||||
run: |
|
|
||||||
cd test/registered/mla
|
|
||||||
python3 test_mla_deepseek_v3.py
|
|
||||||
|
|
||||||
sgl-kernel-benchmark-test:
|
sgl-kernel-benchmark-test:
|
||||||
runs-on: 1-gpu-h100
|
runs-on: 1-gpu-h100
|
||||||
timeout-minutes: 240
|
timeout-minutes: 240
|
||||||
|
|||||||
@@ -158,7 +158,8 @@ jobs:
|
|||||||
- "python/pyproject.toml"
|
- "python/pyproject.toml"
|
||||||
- "python/sglang/jit_kernel/**"
|
- "python/sglang/jit_kernel/**"
|
||||||
sgl_kernel:
|
sgl_kernel:
|
||||||
- ".github/workflows/pr-test-sgl-kernel.yml"
|
# Intentionally excludes ".github/workflows/pr-test-sgl-kernel.yml" —
|
||||||
|
# see API-side detector below for rationale.
|
||||||
- "sgl-kernel/**/!(*.md|THIRDPARTYNOTICES.txt|LICENSE)"
|
- "sgl-kernel/**/!(*.md|THIRDPARTYNOTICES.txt|LICENSE)"
|
||||||
|
|
||||||
# For /rerun-stage (workflow_dispatch with target_stage), dorny/paths-filter doesn't work
|
# For /rerun-stage (workflow_dispatch with target_stage), dorny/paths-filter doesn't work
|
||||||
@@ -192,7 +193,15 @@ jobs:
|
|||||||
echo "..."
|
echo "..."
|
||||||
|
|
||||||
# Check for sgl-kernel changes
|
# Check for sgl-kernel changes
|
||||||
if echo "$CHANGED_FILES" | grep -qE "^(sgl-kernel/|\.github/workflows/pr-test-sgl-kernel\.yml)"; then
|
# Note: edits to .github/workflows/pr-test-sgl-kernel.yml are intentionally
|
||||||
|
# NOT considered sgl-kernel changes. That filter line used to be included
|
||||||
|
# so workflow refactors got retested, but in practice it only catches the
|
||||||
|
# workflow's *consumers* (test job definitions), not the wheel build steps
|
||||||
|
# themselves — and gating sgl_kernel=true on it forces a 20-30 min wheel
|
||||||
|
# rebuild + the stage-a-test-1-gpu-small gate for pure CI-yaml edits that
|
||||||
|
# can't actually affect kernel behavior. PRs that touch wheel-build logic
|
||||||
|
# in scripts/ci/cuda/ or sgl-kernel/ still trigger correctly.
|
||||||
|
if echo "$CHANGED_FILES" | grep -qE "^sgl-kernel/"; then
|
||||||
echo "sgl_kernel=true" >> $GITHUB_OUTPUT
|
echo "sgl_kernel=true" >> $GITHUB_OUTPUT
|
||||||
echo "Detected sgl-kernel changes"
|
echo "Detected sgl-kernel changes"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user