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
[AI Accelerators] Update torch.nn.functional multi_head_attention_forward(). Add pastpath #88912
Closed
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
1a89581
add fastpath run in functional multiheadattn
86ec287
pull from master, merge activation
736d597
Merge branch 'pytorch:master' into master
ynonaolga 2d44588
add null check in_proj, out_proj
b55b16d
use merge masks from functional
ynonaolga 957c79c
pull from master, merge activation
ynonaolga 1ada67e
Merge branch 'pytorch:master' into master
ynonaolga b42f855
add null check in_proj, out_proj
ynonaolga 8ee3da1
use merge masks from functional
ynonaolga ccbd4dd
Merge branch 'master' of https://github.com/ynonaolga/pytorch
ynonaolga f830d7f
Merge branch 'master' of https://github.com/pytorch/pytorch
ynonaolga ee378ee
merge from master
ynonaolga fb355b0
_merge_masks
ynonaolga 00f1a76
missing num_heads argument fix
ynonaolga 0ff1305
Merge branch 'master' into master
ynonaolga d840579
cast optional to tensor
ynonaolga 1d2bc5c
Merge branch 'master' of https://github.com/pytorch/pytorch
ynonaolga 06cb1a2
casting Optional as Tensor
ynonaolga bcf4e28
Merge branch 'master' of https://github.com/pytorch/pytorch
ynonaolga 9854d6b
assertion Optional parameters not None
ynonaolga b8bb397
Merge branch 'master' of https://github.com/pytorch/pytorch
ynonaolga 00b7ca7
removed cast import
ynonaolga File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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.
What is this change? Is this to avoid the assertion that you added elsewhere to prevent bias from being None?
Projection bias can be None, see the test and fix in this as per issue raised. #88970