-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[TRTLLM-13234][feat] Complete TorchSampler beam search: length_penalty, diversity_rate, early_stopping, VBWS, and CBA performance #16620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
zhaoyangwang-nvidia
wants to merge
36
commits into
NVIDIA:main
Choose a base branch
from
zhaoyangwang-nvidia:beam-length-penalty
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,977
−1,317
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
65d4801
[TRTLLM-13234][feat] Complete TorchSampler beam search: length_penalt…
zhaoyangwang-nvidia 41a36a0
[TRTLLM-13234][fix] Match the actual beam-width rejection message in …
zhaoyangwang-nvidia 621580c
[TRTLLM-13234][fix] Address review: disagg check, early_stopping sche…
zhaoyangwang-nvidia a461406
[TRTLLM-13234][test] Assert the per-iteration beam width in the VBWS …
zhaoyangwang-nvidia 08bcc63
[TRTLLM-13234][fix] Clamp getBeamWidthByIter with the actual beam wid…
zhaoyangwang-nvidia 06135e8
[TRTLLM-13234][test] Decode further past the beam width array in the …
zhaoyangwang-nvidia 181060f
[TRTLLM-13234][fix] Exclude every kind of dummy request from the beam…
zhaoyangwang-nvidia 2eb914d
[TRTLLM-13234][fix] Offset generation logits by the static beam width
zhaoyangwang-nvidia 196365e
[TRTLLM-13234][fix] Pass row_stride in the abstract BeamSearchStep test
zhaoyangwang-nvidia a4bfc22
[TRTLLM-13234][fix] Serve every early_stopping mode from the CBA path
zhaoyangwang-nvidia cf9325a
[TRTLLM-13234][chore] Update comments left stale by the CBA unification
zhaoyangwang-nvidia 2f4727e
[TRTLLM-13234][fix] Key beam-search strategy groups regardless of tup…
zhaoyangwang-nvidia d83e91a
[TRTLLM-13234][fix] Stop the beam padding sentinel reaching request h…
zhaoyangwang-nvidia 3e162e5
[TRTLLM-13234][chore] Refresh comments the CBA unification invalidated
zhaoyangwang-nvidia f494470
[TRTLLM-13234][doc] Document the beam-search behaviour changes
zhaoyangwang-nvidia 416f8c0
[TRTLLM-13234][test] Cover the VBWS feature combinations end to end
zhaoyangwang-nvidia b9ef58e
[TRTLLM-13234][test] Cover length_penalty on the candidate-beams-arra…
zhaoyangwang-nvidia 148d751
[TRTLLM-13234][chore] Write down the _cba_step_math compile contract
zhaoyangwang-nvidia 6d50967
[TRTLLM-13234][chore] Delete the pool-free beam-search path
zhaoyangwang-nvidia ebdafe0
[TRTLLM-13234][chore] Remove state left behind by the pool-free path
zhaoyangwang-nvidia 512a13d
[TRTLLM-13234][feat] Gate speculative beam-history D2H per group
zhaoyangwang-nvidia f8d5589
[TRTLLM-13234][fix] Address beam-search review findings
zhaoyangwang-nvidia a2ea981
[TRTLLM-13234][fix] Keep the earliest per-beam finish reason on the C…
zhaoyangwang-nvidia 33d2992
[TRTLLM-13234][fix] Report per-beam finish reasons on the CBA path
zhaoyangwang-nvidia e86904d
[TRTLLM-13234][chore] Address beam-search review nits
zhaoyangwang-nvidia 3ec7225
[TRTLLM-13234][fix] Give the top-p-decay mock request a beam width
zhaoyangwang-nvidia 6e97568
[TRTLLM-13234][fix] Expect LENGTH from the CBA done verdict in its un…
zhaoyangwang-nvidia d84c778
[TRTLLM-13234][fix] Give the remaining request mocks a beam width
zhaoyangwang-nvidia e2bf705
[TRTLLM-13234][fix] Give the logprobs tests Dynamo recompile headroom
zhaoyangwang-nvidia b11b928
[TRTLLM-13234][fix] Give the compiled CBA step its own recompile head…
zhaoyangwang-nvidia acf489c
[TRTLLM-13234][fix] Latch the CBA harvest separately from the finish …
zhaoyangwang-nvidia 44612d6
[TRTLLM-13234][fix] Annotate two returns mypy could not infer
zhaoyangwang-nvidia 8da271e
[TRTLLM-13234][fix] Name _kernel_test's return type past functools.wraps
zhaoyangwang-nvidia b600855
[TRTLLM-13234][fix] Detect syncs without parking a hostfunc on the st…
zhaoyangwang-nvidia 238c420
[TRTLLM-13234][fix] Complete the disaggregated beam search handoff
zhaoyangwang-nvidia 5f4906a
[TRTLLM-13234][fix] Hand off a context phase that ends on its only token
zhaoyangwang-nvidia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.