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

【NPU】Cherry-pick ascendrc ops code by 0325 to develop #32197

Merged
merged 98 commits into from
Apr 15, 2021

Conversation

frankwhzhang
Copy link
Contributor

@frankwhzhang frankwhzhang commented Apr 12, 2021

PR types

New features

PR changes

OPs

Describe

Cherry-pick ascendrc ops code by 0325 to develop

@paddle-bot-old
Copy link

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

zhiqiu and others added 28 commits April 12, 2021 06:45
* [NPU] Support npu op: (1) pow (2) pow_grad

* Support fp16
* support list of list attribute for NPU

* fix compile problem

* fix reference
* init commit, add layer_norm npu kernel

* fix typo

* add unittest

* add unittest

* fix bug

* fix bug

* refine ut
* add npu kernel for equal op

* refine code

* add more ut

* update year
Co-authored-by: root <xiayanming@baidu.com>
* add gather npu op

* code review done

* update python new line

* precommit

* fix review

* del commit
…1518)

* support TensorFormVector, TensorToVector of bool type

* add ut

* fix compile problem
* add fill_constant npu

* add fill_constant npu

* fix
* add matmulv2_npu

* add matmul

* add matmul
* add gather npu op

* code review done

* update python new line

* precommit

* fix review

* del commit

* update gather_grad

* fix bug

* fix bug
…dlePaddle#31457)

* Support npu kernel for amp_check_finite_and_unscale_npu op

* support EnforceNotMet exception

* fix exception bug

* modify python unittest

* precommit

* update c++ unittest

* fix review

* fix review
@frankwhzhang frankwhzhang changed the title 【NPU】Merge ascendrc code by 0325 to develop 【NPU】Merge ascendrc ops code by 0325 to develop Apr 12, 2021
@frankwhzhang frankwhzhang changed the title 【NPU】Merge ascendrc ops code by 0325 to develop 【NPU】Cherry-pick ascendrc ops code by 0325 to develop Apr 12, 2021
zhiqiu
zhiqiu previously approved these changes Apr 14, 2021
Copy link
Contributor

@zhiqiu zhiqiu 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

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@frankwhzhang frankwhzhang merged commit e6bc358 into PaddlePaddle:develop Apr 15, 2021
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.