Skip to content

[FIX] [MLX] MLX auxiliary-state test fixture - #37272

Closed
adityavaid wants to merge 1 commit into
sgl-project:mainfrom
adityavaid:fix-mlx-attention-patching-ut
Closed

adityavaid wants to merge 1 commit into
sgl-project:mainfrom
adityavaid:fix-mlx-attention-patching-ut

Conversation

@adityavaid

@adityavaid adityavaid commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

Upstream PR #37164 moved Mamba allocation state into ReqKvInfo , but the MLX FakeRequest fixture did not retain the separate top-level  mamba_branching_seqlen  field required by  MlxModelRunner .

  • Add the missing field to align the test double with the production  Req  contract and restore the MLX stage-A unit suite.

Validation

SGLANG_USE_MLX=1 HF_HUB_OFFLINE=1 \
python test/run_suite.py --hw mlx --suite stage-a-unit-test-mlx

Passed: 21/21 registered test files.

Checklist

Review and Merge Process

  1. Ping Merge Oncalls to start the process. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments or contact authorized users to do so.
    • Common commands include /tag-and-rerun-ci, /tag-run-ci-label, /rerun-failed-ci
  4. After green CI and required approvals, ask Merge Oncalls or people with Write permission to merge the PR.

CI States

Latest PR Test (Base): ❌ Run #33417333865
Latest PR Test (Extra): ❌ Run #33417333675
Latest PR Test (AMD ROCm 7.2): ❌ Run #33417333877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant