Skip to content
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

Add AXPY oneDNN handler #33632

Merged
merged 15 commits into from
Jun 21, 2021
Merged

Add AXPY oneDNN handler #33632

merged 15 commits into from
Jun 21, 2021

Conversation

lidanqing-intel
Copy link
Contributor

@lidanqing-intel lidanqing-intel commented Jun 17, 2021

PR types

Performance optimization

PR changes

OPs

Describe

This PR is to take over PR #33046. This PR introduces oneDNN AXPY handler providing BLAS::AXPY interface. The use of this handler is enabled at this moment only for bfloat16 data type for sum operator with SelectedRows input tensors. It gives almost 10% performance improvement on CPX machine. This PR speeds up SGD operator with Selected rows with AXPY handler.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@lidanqing-intel
Copy link
Contributor Author

@jczaja @arlesniak Please review it. Now PR-CI-APPROVAL and PR-CI-OP-benchmark all passed. If you leave LGTM it will be merged. Adam's commit record keep the same I just removed skip_bf16 in last commit.

Copy link
Contributor

@jczaja jczaja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@arlesniak arlesniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jczaja jczaja merged commit 773aabc into PaddlePaddle:develop Jun 21, 2021
@lidanqing-intel lidanqing-intel deleted the Adam_PR branch June 22, 2021 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants