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

[SOT] Fix NumPy array guard #71106

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

SigureMo
Copy link
Member

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

SOT 对于 NumPy array 之前是使用 object_equal_stringified_guard,也就是判等后直接 bool 的,而 NumPy array 是不能直接 bool 的,需要加 .all() 才可以,因此修改该 guard

PCard-66972

Copy link

paddle-bot bot commented Feb 12, 2025

你的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.

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

@SigureMo SigureMo changed the title [SOT] Fix NumPy array guard [SOT][3.13] Fix NumPy array guard Feb 12, 2025
@SigureMo SigureMo changed the title [SOT][3.13] Fix NumPy array guard [SOT] Fix NumPy array guard Feb 13, 2025
@SigureMo SigureMo merged commit c11cac9 into PaddlePaddle:develop Feb 13, 2025
33 checks passed
@SigureMo SigureMo deleted the sot/fix-numpy-array-guard branch February 13, 2025 02:30
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.

2 participants