Skip to content

[Spec][Ngram] 2/N: Rename branch length to max trie depth#21181

Merged
hnyls2002 merged 10 commits intosgl-project:mainfrom
kpham-sgl:kp/rename-branch-length-to-max-trie-depth
Mar 23, 2026
Merged

[Spec][Ngram] 2/N: Rename branch length to max trie depth#21181
hnyls2002 merged 10 commits intosgl-project:mainfrom
kpham-sgl:kp/rename-branch-length-to-max-trie-depth

Conversation

@kpham-sgl
Copy link
Copy Markdown
Collaborator

@kpham-sgl kpham-sgl commented Mar 23, 2026

Motivation

Part of Ngram refactoring series

Modifications

Rename branch-length to max-trie-depth

Accuracy Tests

Passed python -m pytest test/registered/spec/utils/test_ngram_corpus.py

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.

kpham-sgl and others added 9 commits March 23, 2026 04:29
- Rename module/extension (ngram_corpus_cpp), sources, and TrieCache→Trie
- Update ngram_worker and registered tests

Made-with: Cursor
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@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!

@kpham-sgl
Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci

@kpham-sgl kpham-sgl changed the title Kp/rename branch length to max trie depth Rename branch length to max trie depth Mar 23, 2026
@kpham-sgl kpham-sgl changed the title Rename branch length to max trie depth [Spec][Ngram] 2/N: Rename branch length to max trie depth Mar 23, 2026
@hnyls2002 hnyls2002 merged commit bc4aaab into sgl-project:main Mar 23, 2026
32 of 49 checks passed
0-693 pushed a commit to 0-693/sglang that referenced this pull request Mar 25, 2026
…t#21181)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation npu run-ci speculative-decoding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants