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] clear shadow PyInterpreterFrame after eval to avoid memory leak #57793

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Sep 27, 2023

PR types

Bug fixes

PR changes

Others

Description

修复 3.11 eval frame 缺少对 shadow frame 的清理工作导致的模型级别测试大量 OOM 的问题

PCard-66972

@paddle-bot
Copy link

paddle-bot bot commented Sep 27, 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] clean shadow PyInterpreterFrame after eval to avoid memory leak [SOT][3.11] clear shadow PyInterpreterFrame after eval to avoid memory leak Sep 27, 2023
@SigureMo SigureMo changed the title [SOT][3.11] clear shadow PyInterpreterFrame after eval to avoid memory leak [SOT][3.11] clear shadow PyInterpreterFrame after eval to avoid memory leak Sep 27, 2023
@zrr1999 zrr1999 merged commit 29059a3 into PaddlePaddle:develop Sep 27, 2023
@SigureMo SigureMo deleted the sot/fix-311-memory-leak branch September 27, 2023 14:13
Frida-a pushed a commit to Frida-a/Paddle that referenced this pull request Oct 14, 2023
…ory leak (PaddlePaddle#57793)

* clean interpreter frame

* move clear ahead of free
jiahy0825 pushed a commit to jiahy0825/Paddle that referenced this pull request Oct 16, 2023
…ory leak (PaddlePaddle#57793)

* clean interpreter frame

* move clear ahead of free
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
…ory leak (PaddlePaddle#57793)

* clean interpreter frame

* move clear ahead of free
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