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 float16 and bfloat16 support and test for argsort #55105

Merged
merged 16 commits into from
Jul 31, 2023

Conversation

enkilee
Copy link
Contributor

@enkilee enkilee commented Jul 4, 2023

PR types

Others

PR changes

Others

Description

@paddle-bot
Copy link

paddle-bot bot commented Jul 4, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Jul 4, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jul 4, 2023
@enkilee
Copy link
Contributor Author

enkilee commented Jul 10, 2023

@zhangting2020 婷姐,下面这个报错,怎么会到mean_grad那去了?

2023-07-07 19:05:43 NotFoundError: The kernel with key (GPU, Undefined(AnyLayout), int64) of kernel `mean_grad` is not registered and fail to fallback to CPU one. Selected wrong DataType `int64`. Paddle support following DataTypes: complex64, bool, float16, bfloat16, complex128, float32, float64.
2023-07-07 19:05:43   [Hint: Expected kernel_iter != iter->second.end(), but received kernel_iter == iter->second.end().] (at ..\paddle\phi\core\kernel_factory.cc:304)

@zhangting2020
Copy link
Contributor

@zhangting2020 婷姐,下面这个报错,怎么会到mean_grad那去了?

2023-07-07 19:05:43 NotFoundError: The kernel with key (GPU, Undefined(AnyLayout), int64) of kernel `mean_grad` is not registered and fail to fallback to CPU one. Selected wrong DataType `int64`. Paddle support following DataTypes: complex64, bool, float16, bfloat16, complex128, float32, float64.
2023-07-07 19:05:43   [Hint: Expected kernel_iter != iter->second.end(), but received kernel_iter == iter->second.end().] (at ..\paddle\phi\core\kernel_factory.cc:304)

我调试看看原因

@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Jul 15, 2023

Sorry to inform you that 3587083's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

test/legacy_test/test_argsort_op.py Outdated Show resolved Hide resolved
test/legacy_test/test_argsort_op.py Outdated Show resolved Hide resolved
test/white_list/no_check_set_white_list.py Outdated Show resolved Hide resolved
test/white_list/no_grad_set_white_list.py Outdated Show resolved Hide resolved
Copy link
Contributor

@zhangting2020 zhangting2020 left a comment

Choose a reason for hiding this comment

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

记得更新中文文档

@luotao1 luotao1 merged commit 60e37d1 into PaddlePaddle:develop Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants