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

Adapt test_collective_global_gather with Numpy >= 1.25.2 #58133

Conversation

mingxu1067
Copy link
Collaborator

@mingxu1067 mingxu1067 commented Oct 17, 2023

PR types

Bug fixes

PR changes

Others

Description

It is not supported for elementwise comparison between np.array and python-builtin list when numpy >= 1.25.2, then casues failures on UT test_collective_global_gather. Proposed this PR to fix.

PS: In Numpy 1.22.0, there is a corresponding warning when running test_collective_global_gather.

DeprecationWarning: elementwise comparison failed; this will raise an error in the future.

@paddle-bot
Copy link

paddle-bot bot commented Oct 17, 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 the contributor External developers label Oct 17, 2023
@mingxu1067 mingxu1067 added NVIDIA and removed contributor External developers labels Oct 17, 2023
@paddle-bot paddle-bot bot added the contributor External developers label Oct 17, 2023
@onecatcn onecatcn assigned zyfncg and ForFishes and unassigned zyfncg Oct 18, 2023
Copy link
Member

@ForFishes ForFishes left a comment

Choose a reason for hiding this comment

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

LGTM

@ForFishes ForFishes merged commit 6f48047 into PaddlePaddle:develop Oct 18, 2023
@paddle-bot paddle-bot bot removed the contributor External developers label Nov 3, 2023
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.

3 participants