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