-
Notifications
You must be signed in to change notification settings - Fork 581
[Feature] Support batch prefill for POD Attention #2079
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 21 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
858919f
Add BatchPOD which supports batches of prefills instead of a single p…
37ae780
Ruff fix
42424b8
Fix formatting required by pre-commit
74fefdd
Update benchmarks/bench_mixed_attention.py
AKKamath e8e0934
Fix bugs and issues with passed params.
bc11239
Merge branch 'pod_batched_new' of github.com:AKKamath/flashinfer into…
78f9467
Update benchmarks/bench_mixed_attention.py
AKKamath 5f1e346
Update flashinfer/pod.py
AKKamath 1e004a6
Merge branch 'pod_batched_new' of github.com:AKKamath/flashinfer into…
3a396f3
'Fix' error where decode is mismatching
a8123ab
Remove dead code in batch_pod.cuh
5694da7
Avoid static variable for SM-aware scheduling, and move memory alloc …
53233ef
Fix pre-commit issues
b7b4d4c
add threshold
Edenzzzz f275715
Fixes to docstring and unused params
db9038a
Remove more dead code
77d20fd
Merge pull request #1 from Edenzzzz/pod_batched_new
AKKamath 639f447
Clamp lowerbound of max_grid_size to 0, to prevent possible underflow…
1b19890
Pre-commit
6e4fedb
Add num_colocated_ctas to BlockSparseAttention
970c480
Update BatchedPod documentation with demo usage of API.
64721eb
Replace qo_indptr_host_p.sum() with total_num_rows_p, since qo_indptr…
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
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.