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][3.13] Don't pass NULL to resume fn #69735

Merged

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Nov 26, 2024

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

Python 3.13 因为 method 布局改了,不再能使用 #59297 的 trick 了,因此在 resume fn 的参数中排除掉 NULL,在抽的函数中如果需要 NULL,则直接 PUSH_NULL,而不是通过输入传递

目前只在 call breakgraph 和 if breakgraph 修改了,for 的场景还需要确认下

本 PR 确认修复了 test_numpy.pytest_min_graph_size.pytest_break_graph 可能叠加 #69700 也修复了,避免冲突暂不修改白名单

PCard-66972

Copy link

paddle-bot bot commented Nov 26, 2024

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

Copy link
Contributor

@Copilot Copilot AI left a comment

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 suggestions.

@SigureMo SigureMo merged commit e599445 into PaddlePaddle:develop Nov 27, 2024
27 of 28 checks passed
@SigureMo SigureMo deleted the sot/dont-pass-null-to-resume-fn branch November 27, 2024 02:08
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