-
Notifications
You must be signed in to change notification settings - Fork 1k
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
graph, benchdnn: several minor fixes for SDPA with mask #2660
Conversation
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.
Could you please also make a PR for rls-v3.7? Let's see if we have any chance to fix them also before the release.
97a7d24
to
fbb6c3f
Compare
make test |
fbb6c3f
to
16d1809
Compare
make test |
16d1809
to
a66be96
Compare
make test |
a66be96
to
ebbb934
Compare
make test |
with negative axis value
ebbb934
to
e1dd66f
Compare
make test |
Description
This PR includes 3 minor fixes for SDPA with explicit or implicit mask:
[x] enhance check of axis in implicit causal mask to include negative axis (-1 & -2).
[x] support 1D / 2D mask for explicit causal mask (MFDNN-13164).
[x] add a internal attribute for internal op dnnl_gen_index for constant propagation (SET_ATTR_IS_CONSTANT)