-
Notifications
You must be signed in to change notification settings - Fork 592
Port TRT-LLM communication kernels to flashinfer #2102
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
djns99
wants to merge
36
commits into
flashinfer-ai:main
Choose a base branch
from
djns99:djns99/update-trtllm-kernels
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,839
−14
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
1aa3935
Initial draft of cursor port
djns99 24531bc
Properly cache jit compiled module
djns99 72a46ea
Cleanup prints
djns99 131f402
Combine tests run without crashing
djns99 863a1cc
Update tests with fake_moe properly
djns99 da39075
Clear MOE workspace before each run
djns99 0a22c8e
Cleanup MPI processes on test failures
djns99 f22cddd
More exit handling for rank failures
djns99 fa1cd5b
Cleaner test implementation
djns99 80de9b6
Update MNNVL config setup
djns99 5ea1842
Update test to get ep size from MPI
djns99 589d03c
Update tests with better test bounds
djns99 a250ddf
Fix timeout logic
djns99 6656c49
Disable python steps for MPI tests
djns99 ce239b2
Standardise API name to match existing code better
djns99 a4602a1
Enhance tests and add convenience APIs for more general usage
djns99 45d7eae
Fix existing dispatch tests
djns99 1d54756
Tests for sanitize and combine
djns99 06b5f34
Fix logic for inplace combine workspace setup
djns99 d1a182b
Limit num tokens to allow combine to successfully run on 1 GPU
djns99 52908f9
Unify naming
djns99 4086053
Add test for payload not in the workspace and fix coderabbit comments
djns99 e10accf
Update comm.rst
djns99 28bbc95
Fix coderabbit nits
djns99 e03a27c
Properly export all functions
djns99 5ed4ee5
Add A2A single GPU tests to CI
djns99 c9e9747
Remove internal API from docs
djns99 d117915
Align workspace calculation to match TRT-LLM style
djns99 cef5ed7
Add checks for MNNVL support for tests that use the API
djns99 45fbace
Remove MNNVL from binding names
djns99 b25cb7c
Rename the flashinfer MOE A2A namespace
djns99 2791cfe
Fix code rabbit bugs
djns99 573cff8
Fix workspace allocation to work with non-contiguous rank allocations
djns99 4c72af6
Update MNNVL tests to use proper workspace allocation
djns99 a382ae3
Decorate API functions with flashinfer_api decorator
djns99 f93dd14
Fix import path for flashinfer_api
djns99 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
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.
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.
should we document env vars too?
Uh oh!
There was an error while loading. Please reload this page.
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.
@bobboli can you advise? Should we remove these or do you know the cases these should be enabled