-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[PHI Decoupling]Remove Profiler header (Part3) #50721
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -0,0 +1,39 @@ | |||
/* Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved. |
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.
2021 -> 2023
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.
下个解耦pr修改
@@ -30,10 +31,8 @@ class RuntimeContext; | |||
} | |||
namespace platform { | |||
|
|||
class RecordOpInfoSupplement { | |||
class RecordOpInfoSupplement : public phi::RecordOpInfoSupplement { |
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.
实际上不同名,因为命名空间不一样,继承是为了能够使用phi::RecordOpInfoSupplement当中的函数
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.
LGTM
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.
LGTM to move common_event and supplement_tracing in phi for recording Op input shape info.
PR types
Others
PR changes
Others
Describe
迁移Profiler组件并移除对"paddle/fluid/platform/profiler/supplement_tracing.h"的依赖