-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Commits on Apr 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c4ce9c5 - Browse repository at this point
Copy the full SHA c4ce9c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd13ff2 - Browse repository at this point
Copy the full SHA bd13ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0592003 - Browse repository at this point
Copy the full SHA 0592003View commit details -
[NPU] Support npu op pow and pow grad (PaddlePaddle#31247)
* [NPU] Support npu op: (1) pow (2) pow_grad * Support fp16
Configuration menu - View commit details
-
Copy full SHA for 5a69ab8 - Browse repository at this point
Copy the full SHA 5a69ab8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8b5505 - Browse repository at this point
Copy the full SHA e8b5505View commit details -
support list of list attribute for NPU (PaddlePaddle#31299)
* support list of list attribute for NPU * fix compile problem * fix reference
Configuration menu - View commit details
-
Copy full SHA for 9851897 - Browse repository at this point
Copy the full SHA 9851897View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5474d7 - Browse repository at this point
Copy the full SHA c5474d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1085db5 - Browse repository at this point
Copy the full SHA 1085db5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e952c3 - Browse repository at this point
Copy the full SHA 1e952c3View commit details -
[NPU] Support npu op layer_norm and layer_norm_grad (PaddlePaddle#31310)
* init commit, add layer_norm npu kernel * fix typo * add unittest * add unittest * fix bug * fix bug * refine ut
Configuration menu - View commit details
-
Copy full SHA for 19aca4f - Browse repository at this point
Copy the full SHA 19aca4fView commit details -
[NPU] add npu kernel for equal op (PaddlePaddle#31393)
* add npu kernel for equal op * refine code * add more ut * update year
Configuration menu - View commit details
-
Copy full SHA for b8789b0 - Browse repository at this point
Copy the full SHA b8789b0View commit details -
[NPU] Support npu kernel for shape op (PaddlePaddle#31427)
* add shape npu * fix * fix
Configuration menu - View commit details
-
Copy full SHA for c457e6b - Browse repository at this point
Copy the full SHA c457e6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 832548f - Browse repository at this point
Copy the full SHA 832548fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b788ae0 - Browse repository at this point
Copy the full SHA b788ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37ed82e - Browse repository at this point
Copy the full SHA 37ed82eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 612a998 - Browse repository at this point
Copy the full SHA 612a998View commit details -
[NPU] squeeze and unsqueeze op for ascend (PaddlePaddle#31452)
Co-authored-by: root <xiayanming@baidu.com>
Configuration menu - View commit details
-
Copy full SHA for 792c8e4 - Browse repository at this point
Copy the full SHA 792c8e4View commit details -
Support npu kernel for gather op (PaddlePaddle#31458)
* add gather npu op * code review done * update python new line * precommit * fix review * del commit
Configuration menu - View commit details
-
Copy full SHA for 738cbb9 - Browse repository at this point
Copy the full SHA 738cbb9View commit details -
【NPU】add scale op for npu (PaddlePaddle#31499)
* add scale npu * fix * fix
Configuration menu - View commit details
-
Copy full SHA for 01c7bf5 - Browse repository at this point
Copy the full SHA 01c7bf5View commit details -
Support TensorFormVector, TensorToVector of bool type (PaddlePaddle#3…
…1518) * support TensorFormVector, TensorToVector of bool type * add ut * fix compile problem
Configuration menu - View commit details
-
Copy full SHA for 33d16f2 - Browse repository at this point
Copy the full SHA 33d16f2View commit details -
【NPU】support npu kernel for fill_constant op (PaddlePaddle#31521)
* add fill_constant npu * add fill_constant npu * fix
Configuration menu - View commit details
-
Copy full SHA for 8b47d68 - Browse repository at this point
Copy the full SHA 8b47d68View commit details -
Configuration menu - View commit details
-
Copy full SHA for efa770c - Browse repository at this point
Copy the full SHA efa770cView commit details -
【NPU】Support npu kernel for matmul op (PaddlePaddle#31544)
* add matmulv2_npu * add matmul * add matmul
Configuration menu - View commit details
-
Copy full SHA for 06dd58d - Browse repository at this point
Copy the full SHA 06dd58dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 795c645 - Browse repository at this point
Copy the full SHA 795c645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d79141 - Browse repository at this point
Copy the full SHA 4d79141View commit details -
【NPU】add relu op for npu (PaddlePaddle#31515)
* add relu npu * fixed * fix
Configuration menu - View commit details
-
Copy full SHA for ad2c58c - Browse repository at this point
Copy the full SHA ad2c58cView commit details -
【NPU】Suppert npu kernel for reshape2 op (PaddlePaddle#31524)
* add reshape2 npu * add reshpe2
Configuration menu - View commit details
-
Copy full SHA for 9d2c9dc - Browse repository at this point
Copy the full SHA 9d2c9dcView commit details -
[NPU] Support npu kernel for gather op fix bug (PaddlePaddle#31541)
* add gather npu op * code review done * update python new line * precommit * fix review * del commit * update gather_grad * fix bug * fix bug
Configuration menu - View commit details
-
Copy full SHA for 991c03c - Browse repository at this point
Copy the full SHA 991c03cView commit details -
[NPU] Support npu kernel for amp_check_finite_and_unscale_npu op (Pad…
…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
Configuration menu - View commit details
-
Copy full SHA for 4765645 - Browse repository at this point
Copy the full SHA 4765645View commit details -
[NPU] accuracy op (PaddlePaddle#31492)
* accuracy op * fix license * fix * add test and fix bug
Configuration menu - View commit details
-
Copy full SHA for c28885e - Browse repository at this point
Copy the full SHA c28885eView commit details -
[NPU] add Assign OP (PaddlePaddle#31561)
* add assign op * add test assign npu test * dele if def Co-authored-by: oyjxer <1728722986@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 20a165c - Browse repository at this point
Copy the full SHA 20a165cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3738ec7 - Browse repository at this point
Copy the full SHA 3738ec7View commit details -
【NPU】Support npu op gelu and gelu_grad (PaddlePaddle#31530)
* Support npu op gelu and gelu_grad * Support npu op gelu and gelu_grad
Configuration menu - View commit details
-
Copy full SHA for 6096f9b - Browse repository at this point
Copy the full SHA 6096f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a7625c0 - Browse repository at this point
Copy the full SHA a7625c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 003eb59 - Browse repository at this point
Copy the full SHA 003eb59View commit details -
[NPU] add range op (PaddlePaddle#31560)
* add range op * fix codestyle; call GetSize directly Co-authored-by: oyjxer <1728722986@qq.com>
Configuration menu - View commit details
-
Copy full SHA for ba085b9 - Browse repository at this point
Copy the full SHA ba085b9View commit details -
【NPU】Support npu op elementwise_div and elementwise_div_grad (PaddleP…
…addle#31573) * Support npu op elementwise_div and elementwise_div_grad * Support npu op elementwise_div and elementwise_div_grad * Support npu op elementwise_div and elementwise_div_grad
Configuration menu - View commit details
-
Copy full SHA for cbe00cb - Browse repository at this point
Copy the full SHA cbe00cbView commit details -
[NPU] Support npu op log, log_grad, sqrt, sqrt_grad, square, tanh and…
… tanh_grad (PaddlePaddle#31600)
Configuration menu - View commit details
-
Copy full SHA for dc1f62b - Browse repository at this point
Copy the full SHA dc1f62bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ead5a0 - Browse repository at this point
Copy the full SHA 1ead5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4423e6 - Browse repository at this point
Copy the full SHA c4423e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 099cf9e - Browse repository at this point
Copy the full SHA 099cf9eView commit details -
[NPU] Support npu op table_lookup_v2 and table_lookup_v2_grad (Paddle…
…Paddle#31399) * [npu] support npu kernel `table_lookup_v2` * clean up * +python test * +cmake * clean up * remove int8 kernel + python unitest for fp16 * clean up
Configuration menu - View commit details
-
Copy full SHA for 14d3009 - Browse repository at this point
Copy the full SHA 14d3009View commit details -
[NPU] support npu kernel for
less_than
(PaddlePaddle#31327)* [npu] support npu kernel for `less than` * remove int* kernel * cleanup
Configuration menu - View commit details
-
Copy full SHA for 07f3f5a - Browse repository at this point
Copy the full SHA 07f3f5aView commit details -
[NPU] Support npu kernel scatter op (PaddlePaddle#31624)
* Support npu kernel scatter op * Add more test
Configuration menu - View commit details
-
Copy full SHA for 817a06e - Browse repository at this point
Copy the full SHA 817a06eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d5cd1e - Browse repository at this point
Copy the full SHA 2d5cd1eView commit details -
[NPU] Support NPU kernel cast op (PaddlePaddle#31635)
Co-authored-by: frankwhzhang <frankwhzhang@126.com>
Configuration menu - View commit details
-
Copy full SHA for 38419f5 - Browse repository at this point
Copy the full SHA 38419f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f4a044 - Browse repository at this point
Copy the full SHA 1f4a044View commit details -
【NPU】Support NPU kernel for reduce_sum op v2 (PaddlePaddle#31620)
* add reduce_sum * fix broadcastd * fix test * fix * add unsqueeze in reduce_sum * add template * add unittest for keep_dim * test reduce_all Co-authored-by: frankwhzhang <frankwhzhang@126.com>
Configuration menu - View commit details
-
Copy full SHA for 14f23be - Browse repository at this point
Copy the full SHA 14f23beView commit details -
[NPU] add npu kernel for adam (PaddlePaddle#31644)
* add npu kernel for adam * refine code * disable test * modify atol
Configuration menu - View commit details
-
Copy full SHA for 9ed9b8a - Browse repository at this point
Copy the full SHA 9ed9b8aView commit details -
【NPU】Support npu kernel for mul op (PaddlePaddle#31584)
* add mul * add test mul
Configuration menu - View commit details
-
Copy full SHA for b7ba6a2 - Browse repository at this point
Copy the full SHA b7ba6a2View commit details -
[NPU] add npu kernel for softmax_with_cross_entropy (PaddlePaddle#31656)
* init * fix bugs
Configuration menu - View commit details
-
Copy full SHA for cb2d7b2 - Browse repository at this point
Copy the full SHA cb2d7b2View commit details -
[NPU] add npu kernel for mean Op (PaddlePaddle#31562)
* update mean op * update mean op * give a better test activation Co-authored-by: oyjxer <1728722986@qq.com>
Configuration menu - View commit details
-
Copy full SHA for a6c6a09 - Browse repository at this point
Copy the full SHA a6c6a09View commit details -
Revert "[NPU] add npu kernel for mean Op (PaddlePaddle#31562)" (Paddl…
…ePaddle#31665) This reverts commit 468ac69.
Configuration menu - View commit details
-
Copy full SHA for 595e605 - Browse repository at this point
Copy the full SHA 595e605View commit details -
【NPU】Add TensorCopy to NPU kernel for reduce_sum op (PaddlePaddle#31667)
* update unittest * add TensorCopy in npu grad kernel
Configuration menu - View commit details
-
Copy full SHA for a0f7d11 - Browse repository at this point
Copy the full SHA a0f7d11View commit details -
[NPU] Support npu op
expand
(PaddlePaddle#31405)* [npu] support npu kernel for `expand`
Configuration menu - View commit details
-
Copy full SHA for 22b95a1 - Browse repository at this point
Copy the full SHA 22b95a1View commit details -
[NPU] fix shape of dx in mul_grad (PaddlePaddle#31675)
* fix shape of dx * refine code
Configuration menu - View commit details
-
Copy full SHA for ee43974 - Browse repository at this point
Copy the full SHA ee43974View commit details -
[NPU] add Increment op (PaddlePaddle#31563)
* add increment * fix * update test increment op inplace * update increment op * increment b = 2 Co-authored-by: oyjxer <1728722986@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 8c4b97c - Browse repository at this point
Copy the full SHA 8c4b97cView commit details -
[NPU] add NPU add topk (PaddlePaddle#31596)
* add topk op * add cmake * update topk npu op * refactor func * fix test not go npu TopKD bug * NPUPlace(4) to NPUPlace(0) * update comment Co-authored-by: oyjxer <1728722986@qq.com>
Configuration menu - View commit details
-
Copy full SHA for 41093f6 - Browse repository at this point
Copy the full SHA 41093f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d7aa89 - Browse repository at this point
Copy the full SHA 6d7aa89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e8f854 - Browse repository at this point
Copy the full SHA 5e8f854View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8acc60 - Browse repository at this point
Copy the full SHA e8acc60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 993235b - Browse repository at this point
Copy the full SHA 993235bView commit details -
Configuration menu - View commit details
-
Copy full SHA for af99906 - Browse repository at this point
Copy the full SHA af99906View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24ad385 - Browse repository at this point
Copy the full SHA 24ad385View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc9554d - Browse repository at this point
Copy the full SHA fc9554dView commit details -
[NPU] fix reshape npu op kernel (PaddlePaddle#31726)
* rename npu op file * fix reshape
Configuration menu - View commit details
-
Copy full SHA for 07f97a4 - Browse repository at this point
Copy the full SHA 07f97a4View commit details -
[NPU] change transpose to transpose2 (PaddlePaddle#31734)
* change transpose to transpose2 * fix bug
Configuration menu - View commit details
-
Copy full SHA for 3dcd6b5 - Browse repository at this point
Copy the full SHA 3dcd6b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d0f0c1 - Browse repository at this point
Copy the full SHA 9d0f0c1View commit details -
[NPU] fix some bugs of npu op (PaddlePaddle#31739)
* fix softmax * fix mean * fix lookup_table_v2
Configuration menu - View commit details
-
Copy full SHA for 504163a - Browse repository at this point
Copy the full SHA 504163aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76903ce - Browse repository at this point
Copy the full SHA 76903ceView commit details -
[NPU] fix the grad kernel diff bug of gather op (PaddlePaddle#31757)
* fix gather grad kernel diff * fix gather grad kernel diff * fix gather review bug
Configuration menu - View commit details
-
Copy full SHA for d0d14d0 - Browse repository at this point
Copy the full SHA d0d14d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 731d52c - Browse repository at this point
Copy the full SHA 731d52cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e4544d - Browse repository at this point
Copy the full SHA 2e4544dView commit details -
[NPU] support list of tensor input (PaddlePaddle#31801)
* support list of tensor as npu input * add comment * fix typo * fix typo
Configuration menu - View commit details
-
Copy full SHA for db31a33 - Browse repository at this point
Copy the full SHA db31a33View commit details -
[NPU] add npu kernel for concat op (PaddlePaddle#31695)
* add npu kernel for concat op * add npu kernel for concat op * refine code * update * refine concat_grad
Configuration menu - View commit details
-
Copy full SHA for b761a75 - Browse repository at this point
Copy the full SHA b761a75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9acdf0d - Browse repository at this point
Copy the full SHA 9acdf0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f674b39 - Browse repository at this point
Copy the full SHA f674b39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bcfa8a - Browse repository at this point
Copy the full SHA 5bcfa8aView commit details -
[NPU] support mixed precision input for npu layer norm (PaddlePaddle#…
…31847) * support mixed precision input for npu layer norm * fix layer_norm npu kernel Co-authored-by: zhiqiu <chenqiuliang@baidu.com>
Configuration menu - View commit details
-
Copy full SHA for 25aa56b - Browse repository at this point
Copy the full SHA 25aa56bView commit details -
【NPU】Support npu kernel for update_loss_scaling op (PaddlePaddle#31830)
* add update_loss_scaling_npu NPU kernel * change TensorFromVec to Memset
Configuration menu - View commit details
-
Copy full SHA for 7f6b837 - Browse repository at this point
Copy the full SHA 7f6b837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f8a972 - Browse repository at this point
Copy the full SHA 2f8a972View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f0944d - Browse repository at this point
Copy the full SHA 5f0944dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 661c4b2 - Browse repository at this point
Copy the full SHA 661c4b2View commit details -
[NPU] fix some op bugs (PaddlePaddle#31855)
* fix some op bugs * fix some bugs * follow comments * fix log level * add ut
Configuration menu - View commit details
-
Copy full SHA for 399959e - Browse repository at this point
Copy the full SHA 399959eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1464a59 - Browse repository at this point
Copy the full SHA 1464a59View commit details -
[NPU] add npu kernel for truncated_gaussian_random op (PaddlePaddle#3…
…1654) * init * add todo * add npu kernel for truncated_gaussian_random * add sync * fix concat_grad * fix typo
Configuration menu - View commit details
-
Copy full SHA for 479009e - Browse repository at this point
Copy the full SHA 479009eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9553a21 - Browse repository at this point
Copy the full SHA 9553a21View commit details -
Configuration menu - View commit details
-
Copy full SHA for de3d052 - Browse repository at this point
Copy the full SHA de3d052View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d94bd7 - Browse repository at this point
Copy the full SHA 8d94bd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a3cd69 - Browse repository at this point
Copy the full SHA 4a3cd69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e5278a - Browse repository at this point
Copy the full SHA 3e5278aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ac9f4b - Browse repository at this point
Copy the full SHA 2ac9f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c46f44f - Browse repository at this point
Copy the full SHA c46f44fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85ae3e2 - Browse repository at this point
Copy the full SHA 85ae3e2View commit details
Commits on Apr 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a5e35e2 - Browse repository at this point
Copy the full SHA a5e35e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f032717 - Browse repository at this point
Copy the full SHA f032717View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff622d8 - Browse repository at this point
Copy the full SHA ff622d8View commit details
Commits on Apr 14, 2021
-
1
Configuration menu - View commit details
-
Copy full SHA for 7e9c4ef - Browse repository at this point
Copy the full SHA 7e9c4efView commit details