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.11] fix pass NULL to resume function in jump breakgraph #58187

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Oct 18, 2023

PR types

Bug fixes

PR changes

Others

Description

当发生子图打断的时候,是有可能将 NULL 恢复到栈上的(生成代码),一旦将 NULL 恢复到栈上并作为参数传递给后续的 resume function,就会触发段错误

之前我们对 call breakgraph 做了如果 resume 参数是 NULL 则改为 NullVariable 的处理,但在 3.11 中 jump breakgraph 有同样的问题,因此对 jump breakgraph 做同样的修复

PCard-66972

@paddle-bot
Copy link

paddle-bot bot commented Oct 18, 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.

@SigureMo SigureMo changed the title [SOT][3.11] fix NULL pass to resume function in jump breakgraph [SOT][3.11] fix pass NULL to resume function in jump breakgraph Oct 18, 2023
@SigureMo SigureMo requested a review from zrr1999 October 18, 2023 12:32
@SigureMo SigureMo merged commit 4787ac1 into PaddlePaddle:develop Oct 18, 2023
27 of 28 checks passed
@SigureMo SigureMo deleted the sot/fix-311-null-pass-to-resume-in-jump-breakgraph branch October 18, 2023 15:21
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
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