-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Attention(23) CUDA #26466
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
Attention(23) CUDA #26466
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1e7d5ae
refactor redundant condition checks
titaiwangms 49d7a42
sync to Xavier's cpu refactors
titaiwangms 246a4d1
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms f244983
fix attention-cpu build
titaiwangms 8274bb1
draft
titaiwangms 78f5d61
lint - draft
titaiwangms 53d4e83
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 43623ad
fix typo
titaiwangms 08f15f6
typo-2
titaiwangms 0e75443
update namespace
titaiwangms 277648d
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 5253dd0
update doc
titaiwangms 4db63bc
removed deprecated functions in onnx
titaiwangms 0a7e5f9
Revert "removed deprecated functions in onnx"
titaiwangms 6b18bb4
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms a1ed3d9
fix qkv space - support 3d default
titaiwangms b462930
turn 4d to tru on disable cuda
titaiwangms 0494e95
refactor attn_mask
titaiwangms 2dc706a
simplify
titaiwangms 5f0b6cd
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 88e631c
support 4d and fix attn_mask bug
titaiwangms 000d394
disregard softcap and softmax_precision
titaiwangms 739e88f
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 6d6d478
fix offset in is_causal
titaiwangms 792445a
add past_seq_length to softmax bias add for causal
titaiwangms a26d812
resolve merge conflict
titaiwangms fbbf0b5
update failing cuda tests
titaiwangms 7010308
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 2c793b6
delete past_sequence_length and use flag output_is_Q_K_V_BNSH
titaiwangms ab41d04
add kv_sequence_length to softmax
titaiwangms 4a8f502
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 2a9167e
remove kv_sequence_length in softmax and disable cross attn causal tests
titaiwangms ff7e767
address reviews - comments
titaiwangms c001885
Merge branch 'main' into titaiwang/support_attention_cuda
titaiwangms 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
Oops, something went wrong.
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.