-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[GPU] Add Softmax/Eltwise Dropout attr support #4501
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
Conversation
c2451bf to
eb011f5
Compare
eb011f5 to
a638f8c
Compare
a638f8c to
85b4869
Compare
|
make test |
403c679 to
6bc2241
Compare
3e335af to
3aa6cba
Compare
|
make test |
3aa6cba to
45a485b
Compare
|
make test |
|
make test |
| status_t init(impl::engine_t *engine) override { | ||
| compute::kernel_ctx_t kernel_ctx; | ||
|
|
||
| bool with_seed_s64 |
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 the status of non-s64 seed? it is still supported via API but not through benchdnn?
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.
Yes, thats true. the seed was previously s32 in the API.
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.
Seems like something that should be enabled through benchdnn so we can test full range of supported features.
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.
It was a deliberate choice not to test s32 in favor of s64. It's highly unlikely anybody will use this functionality besides PyTorch which has a requirement for int64 seed.
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.
keeping it as a keep sake for a while @kealan-barbieri ;)
cf0e687 to
4e652b8
Compare
4e652b8 to
d1594ed
Compare
This PR is part 2 of adding dropout support for SDPA. This PR covers support for simple softmax kernel and ref eltwise kernel
Part 1 was here: #4494