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

[KP] Activation op registration for XPU2. part 1/2 #40002

Merged
merged 25 commits into from
Mar 2, 2022

Conversation

AshburnLee
Copy link
Contributor

@AshburnLee AshburnLee commented Feb 28, 2022

PR types

New features

PR changes

OPs

Describe

Function

Add 26/48 activation op registration for the support of XPU2. Part 2 will be added in the next PR.

Result

8 existing tested OPs and the executing device:

截屏2022-03-01 18 27 05

截屏2022-03-01 18 27 52

截屏2022-03-01 18 28 13

截屏2022-03-01 18 28 32

截屏2022-03-01 18 28 53

截屏2022-03-01 18 29 17

截屏2022-03-01 18 29 37

截屏2022-03-01 18 33 20

截屏2022-03-01 18 30 19

  • The keyword 'using XPU KP kernel' indicates that this op is running on XPU with KP library, which is expected.
  • Only float is supported on XPU by now
  • Export XPU_KPWHITE_LIST before running unittest: export XPU_KPWHITE_LIST=leaky_relu,sigmoid,relu,exp,log,reciprocal,softplus,hard_swish

update Paddle USERNAME repo
@paddle-bot-old
Copy link

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

Copy link
Member

@Liu-xiandong Liu-xiandong left a comment

Choose a reason for hiding this comment

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

因为现在还没有CI,所以需要麻烦一下,把本地相关单测的结果也贴一下,然后需要保证OP的kernel用的是KP的kernel

@AshburnLee
Copy link
Contributor Author

因为现在还没有CI,所以需要麻烦一下,把本地相关单测的结果也贴一下,然后需要保证OP的kernel用的是KP的kernel

Done,见PR描述

Copy link
Member

@Liu-xiandong Liu-xiandong 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

@AnnaTrainingG AnnaTrainingG left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants