-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
[Kernel] Triton implementation of causal-conv1d for Mamba-based models #18218
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
+1,120
−1,145
Merged
Changes from 41 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
ad83738
add causal-conv1d in Triton and integrate into vLLM with test code
thoangtrvn f4c56bf
add causal-conv1d in Triton and integrate into vLLM with test code
thoangtrvn dfa7159
resolve merge conflict
thoangtrvn 61d7ed9
fix a bug when migrating code to vLLM
thoangtrvn 8882cef
fix a bug when migrating code to vLLM
thoangtrvn 775e561
refactor for code style
thoangtrvn 939a823
refactor for code style
thoangtrvn 29b7941
refactor for code style
thoangtrvn 7bfe0e8
refactor for code style
thoangtrvn 52d601c
refactor for code style
thoangtrvn 081a8be
Update tests/kernels/mamba/test_causal_conv1d.py
thoangtrvn 9eb1cc3
update test code to cover more use-cases
thoangtrvn 091b31e
refactor code based on feedback
thoangtrvn bfabaae
refactor code based on feedback
thoangtrvn da660f0
refactor code based on feedback
thoangtrvn 7af7f58
refactor code based on feedback
thoangtrvn 10e332c
Merge branch 'main' into pr_conv1d_triton
thoangtrvn ecb3a2c
refactor code based on feedback
thoangtrvn 107911a
refactor code based on feedback
thoangtrvn bfc2f28
refactor code to fix mypy codecheck
thoangtrvn ef21b3d
refactor code to fix mypy codecheck
thoangtrvn 400e669
Merge branch 'pr_conv1d_triton' of github.com:thoangtrvn/vllm into pr…
thoangtrvn f0be762
refactor code to fix mypy codecheck
thoangtrvn 4cfb12d
revert code change based on feedback
thoangtrvn 64ee33d
revert code change based on feedback
thoangtrvn 19586c5
revert code change based on feedback
thoangtrvn e3192e8
migrate code change based on feedback
thoangtrvn 8aad208
migrate code change based on feedback
thoangtrvn a0d2170
revert code change based on feedback
thoangtrvn 4d1bb63
revert code change based on feedback
thoangtrvn 679eb1c
migrate code change based on feedback
thoangtrvn c782f25
fix merge conflict from upstream/main
thoangtrvn 6d0e77a
reduce kernel test time
thoangtrvn 20a34c5
remove CUDA causal-conv1d kernel
thoangtrvn 82091a7
Merge remote-tracking branch 'upstream/main' into pr_conv1d_triton
thoangtrvn 6784173
remove unused code based on feedback
thoangtrvn 6e8d966
update argument name
thoangtrvn 089b10b
Merge remote-tracking branch 'upstream/main' into pr_conv1d_triton
thoangtrvn 761bdea
Use typing.Union to work with Python 3.9
thoangtrvn 7448f0d
move _query_start_loc_to_chunk_indices_offsets to mamba_attn.py to avoid
thoangtrvn 5e41d6b
Merge remote-tracking branch 'upstream/main' into pr_conv1d_triton
thoangtrvn bbef3ac
Update vllm/v1/attention/backends/mamba_attn.py
thoangtrvn 6527b9d
revert space change in zamba2.py and address comments
thoangtrvn 129b32d
revert to using `has_initial_state` argument for causal_conv1d_fn, fix
thoangtrvn 37f801a
revert to using `has_initial_state` argument for causal_conv1d_fn
thoangtrvn a208d04
update code to work in v1
thoangtrvn a798b14
make typing compatible Python 3.9
thoangtrvn 736eeba
Merge branch 'main' into pr_conv1d_triton
tlrmchlsmth 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.
remove pybind11 C code and CUDA kernel