Skip to content

fix: correct register_xpu_ci args in DSA indexer XPU test (#24959) - #95

Draft
mingfeima wants to merge 24 commits into
mainfrom
cursor/fix-dsa-indexer-xpu-register-f265
Draft

fix: correct register_xpu_ci args in DSA indexer XPU test (#24959)#95
mingfeima wants to merge 24 commits into
mainfrom
cursor/fix-dsa-indexer-xpu-register-f265

Conversation

@mingfeima

@mingfeima mingfeima commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Motivation

Fixes the run_suite.py collection failure reported against sgl-project/sglang#24959:

ValueError: test/registered/xpu/test_dsa_indexer_xpu.py: register_xpu_ci() must specify exactly one of (stage, runner_config) pair or suite; got stage=True, runner_config=False, suite=False

This branch is based on Xia-Weiwen/glm5.1_enabling plus a one-line registration fix. Prefer cherry-picking the tip commit onto sgl-project#24959 rather than merging this whole branch if that PR remains the landing vehicle.

Modifications

In test/registered/xpu/test_dsa_indexer_xpu.py:

  • Before: register_xpu_ci(est_time=20, stage="suite-b-test-1-gpu-xpu")
  • After: register_xpu_ci(est_time=20, suite="stage-b-test-1-gpu-xpu")

register_xpu_ci() requires either legacy suite= or the (stage, runner_config) pair. Other XPU tests use suite=. The previous call also had a suite-b / stage-b typo.

Accuracy Tests

N/A — CI registration metadata only.

Speed Tests and Profiling

N/A

Checklist

  • Format your code according to the Format code with pre-commit guidance.
  • Add unit tests according to the Run and add unit tests guidance.
  • Update documentation according to Write documentations.
  • Provide accuracy and speed benchmark results according to Test the accuracy and Benchmark the speed.
  • Follow the SGLang code style guidance.
Open in Web Open in Cursor 

CI States

Latest PR Test (Base): ❌ Run #29791733906
Latest PR Test (Extra): ❌ Run #29791733733

Xia-Weiwen and others added 24 commits May 11, 2026 11:12
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Ma Mingfei <mingfei.ma@intel.com>
register_xpu_ci() requires either suite= or stage=+runner_config=.
The test used stage= alone with a suite-like string (and a suite/stage typo),
which broke run_suite.py collection for all XPU suites.

Co-authored-by: Ma Mingfei <mingfei.ma@intel.com>
@github-actions github-actions Bot added the quant label Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants