-
Notifications
You must be signed in to change notification settings - Fork 473
feat: enable trtllm-gen attn speculative decoding verify by decode #1453
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
12945f3
init
yyihuang e1be6a8
upd workspace
yyihuang 99db15a
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 76dd13a
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang b9d59ad
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 6c3e713
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 14079df
stash
yyihuang 3701205
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 33712dc
stash
yyihuang 4e3e5c9
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 2560dab
revert stash
yyihuang f6ad3b1
upd
yyihuang a83029e
upd
yyihuang 4830e47
upd
yyihuang fe90f24
ruff
yzh119 b15c72e
fix
yyihuang 2a76af2
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 45dd56e
stash
yyihuang 53a6855
Merge branch 'main' of github.com:flashinfer-ai/flashinfer into trtllβ¦
yyihuang 7952789
fix
yyihuang 8ac93a6
cleanup
yyihuang 7e3039a
upd
yyihuang 3089139
upd
yyihuang c6d462a
fix
yyihuang 57f8338
upd
yyihuang 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still have deep concern about the special handling of precision here, a more fundamental solution could be a PrecisionManager to centrialize the handling of tolerance for different data types.
Also, let's add a flashinfer.testing.assert_allclose() function where there could be arguments such as max mismatched elements, it will be fallback to torch.testing.assert_allclose when mismatched elements is not specified.