-
Notifications
You must be signed in to change notification settings - Fork 5.8k
[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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
paddle/fluid/pybind/sot/frame.h
Outdated
There was a problem hiding this comment.
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
吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
PyInterpreterFrameProxy
to separate file frame.h
FrameProxy
to separate file frame_proxy.h
and frame_proxy.c
There was a problem hiding this 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
paddle/fluid/pybind/sot/eval_frame.c
Outdated
@@ -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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个不一起带走嘛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FrameProxy
to separate file frame_proxy.h
and frame_proxy.c
FrameProxy
to separate file frame_proxy.h
and frame_proxy.c
PR Category
Execute Infrastructure
PR Types
Performance
Description
把 PyInterpreterFrameProxy 抽离到单独的文件