Skip to content

[JIT-kernel] Add unit test for nsa indexer fused_store_k_cache#19389

Merged
BBuf merged 1 commit intosgl-project:mainfrom
antgroup:ut_nsa_fused_store_k_cache
Mar 2, 2026
Merged

[JIT-kernel] Add unit test for nsa indexer fused_store_k_cache#19389
BBuf merged 1 commit intosgl-project:mainfrom
antgroup:ut_nsa_fused_store_k_cache

Conversation

@yuan-luo
Copy link
Copy Markdown
Collaborator

@yuan-luo yuan-luo commented Feb 26, 2026

Motivation

Follow up #19148 review comments, introduce a unit test for this jit kernel.

➜  sglang_dev3 git:(support_nsa_fuse_store_k_cache) ✗ python -m pytest -q -rs python/sglang/jit_kernel/tests/test_fused_store_index_cache.py
..............                                                                                                                                                                                                                              [100%]
================================================================================================================ warnings summary =================================================================================================================
<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyPacked has no __module__ attribute

<frozen importlib._bootstrap>:488
  <frozen importlib._bootstrap>:488: DeprecationWarning: builtin type SwigPyObject has no __module__ attribute

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
14 passed, 2 warnings in 34.76s

Modifications

Accuracy Tests

Benchmarking and Profiling

Checklist

Review Process

  1. Ping Merge Oncalls to start the PR flow. 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.
    • /tag-run-ci-label, /rerun-failed-ci, /tag-and-rerun-ci
  4. After green CI and required approvals, ask Merge Oncalls to merge.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@yuan-luo
Copy link
Copy Markdown
Collaborator Author

/rerun-failed-ci

@yuan-luo
Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci

@yuan-luo
Copy link
Copy Markdown
Collaborator Author

/rerun-failed-ci

@yuan-luo
Copy link
Copy Markdown
Collaborator Author

yuan-luo commented Mar 2, 2026

/rerun-failed-ci

@BBuf BBuf merged commit f6ee6dc into sgl-project:main Mar 2, 2026
360 of 412 checks passed
@yuan-luo yuan-luo deleted the ut_nsa_fused_store_k_cache branch March 2, 2026 04:40
Kangyan-Zhou pushed a commit to Kangyan-Zhou/sglang that referenced this pull request Mar 4, 2026
magicYang1573 pushed a commit to magicYang1573/sglang that referenced this pull request Mar 9, 2026
Wangzheee pushed a commit to Wangzheee/sglang that referenced this pull request Mar 21, 2026
JustinTong0323 pushed a commit to JustinTong0323/sglang that referenced this pull request Apr 7, 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.

2 participants