Skip to content

[SOT] Extract FrameProxy to separate file frame_proxy.h and frame_proxy.c #69837

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

Merged
merged 9 commits into from
Dec 2, 2024

Conversation

zrr1999
Copy link
Member

@zrr1999 zrr1999 commented Nov 29, 2024

PR Category

Execute Infrastructure

PR Types

Performance

Description

把 PyInterpreterFrameProxy 抽离到单独的文件

Copy link

paddle-bot bot commented Nov 29, 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.

@zrr1999 zrr1999 marked this pull request as ready for review November 29, 2024 12:26
@paddle-bot paddle-bot bot added the contributor External developers label Nov 29, 2024
@zrr1999 zrr1999 requested review from SigureMo and gouzil November 29, 2024 12:26
Copy link
Member

Choose a reason for hiding this comment

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

要不叫 frame_proxy.h

相关实现也顺带抽到 frame_proxy.c

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@zrr1999 zrr1999 changed the title [SOT] extract PyInterpreterFrameProxy to separate file frame.h [SOT] extract FrameProxy to separate file frame_proxy.h and frame_proxy.c Nov 29, 2024
@SigureMo SigureMo requested a review from Copilot November 30, 2024 06:41
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 wasn't able to review any files in this pull request.

Files not reviewed (5)
  • paddle/fluid/pybind/CMakeLists.txt: Language not supported
  • paddle/fluid/pybind/jit.cc: Language not supported
  • paddle/fluid/pybind/sot/eval_frame.c: Language not supported
  • paddle/fluid/pybind/sot/frame_proxy.c: Language not supported
  • paddle/fluid/pybind/sot/frame_proxy.h: Language not supported

@@ -38,112 +39,8 @@ limitations under the License. */
// To avoid the error: undefined symbol: _PyFrame_GetFrameObject, all we need is
// to redefine this function based source code in python3.11. The advantage is
// that we don't need any modification in eval_frame functions.
Copy link
Member

Choose a reason for hiding this comment

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

这个不一起带走嘛

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

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

LGTMeow 🐾

@SigureMo SigureMo changed the title [SOT] extract FrameProxy to separate file frame_proxy.h and frame_proxy.c [SOT] Extract FrameProxy to separate file frame_proxy.h and frame_proxy.c Dec 2, 2024
@SigureMo SigureMo merged commit b4e2d5d into PaddlePaddle:develop Dec 2, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants