Skip to content

[UnifiedTree]: Sync Replay SSM - #30636

Merged
hzh0425 merged 1 commit into
sgl-project:mainfrom
hzh0425:hybrid_tree/sync-mamba-replay
Jul 10, 2026
Merged

hzh0425 merged 1 commit into
sgl-project:mainfrom
hzh0425:hybrid_tree/sync-mamba-replay

Conversation

@hzh0425

@hzh0425 hzh0425 commented Jul 9, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

Modifications

Accuracy Tests

Speed Tests and Profiling

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 #29008480284
Latest PR Test (Extra): ❌ Run #29008480454

@hzh0425 hzh0425 added the run-ci CI: run the baseline test suite on this PR label Jul 9, 2026
@hzh0425

hzh0425 commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator Author

/rerun-group radix_cache/unified_radix_tree

@github-actions

github-actions Bot commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

Results for /rerun-group radix_cache/unified_radix_tree:

🚀 4-gpu-h100 (4 tests): ✅ View workflow run

cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_hicache_pp_kl.py
cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_cp.py
cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_dsv4.py
cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_mamba.py

🚀 8-gpu-h200 (2 tests): ❌ View workflow run

cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_dsv4_pp.py
cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_nightly.py

🚀 2-gpu-h100 (2 tests): ✅ View workflow run

cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_full.py
cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_swa.py

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the prepare_for_caching_req method in mamba_component.py to adjust the cache length for finished requests when enable_mamba_extra_buffer is disabled, accounting for the unflushed ring depth. Feedback on this change highlights potential issues where req.mamba_pool_idx could be None, leading to a TypeError, or where the subtraction could result in a negative cache_len. A guard and clamping logic were suggested to prevent these errors.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@hzh0425

hzh0425 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

/rerun-testregistered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_dsv4_pp.py

@github-actions

Copy link
Copy Markdown
Contributor

⛔ Please specify a test: /rerun-test <file>::<TestClass.test_method>

Examples:

  • /rerun-test test/registered/core/test_srt_endpoint.py::TestSRTEndpoint.test_simple_decode
  • /rerun-test registered/core/test_srt_endpoint.py::TestSRTEndpoint
  • /rerun-test test_srt_endpoint.py
  • /rerun-test test_a.py test_b.py test_c.py (multiple tests)
  • /rerun-test test_*backend*.py (wildcard — reruns every matching file; wrap the pattern in backticks so GitHub keeps the * literal)

@hzh0425

hzh0425 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

/rerun-test test_unified_radix_cache_kl_dsv4_pp.py

@github-actions

github-actions Bot commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Results for /rerun-test test_unified_radix_cache_kl_dsv4_pp.py:

🚀 8-gpu-h200 (1 test): ✅ View workflow run

cd test/ && python3 registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_dsv4_pp.py

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

Labels

run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant