-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[CINN][dynamic rank] optimize log and IsDeniedInCinn logic #70326
base: develop
Are you sure you want to change the base?
[CINN][dynamic rank] optimize log and IsDeniedInCinn logic #70326
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
SetSymbolForValueByStaticShape
&& CheckInferSymWithInferMeta
… support_zero_size_0
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.
如果出现动态rank的情况,是不是可以考虑放弃CINN的优化处理
@@ -166,6 +166,11 @@ void CheckInferSymWithInferMeta( | |||
const std::vector<symbol::DimExpr>& infer_sym_shape = | |||
infer_context->GetShapeOrDataForValue(res).shape(); | |||
|
|||
if (res.type().dyn_cast<pir::DenseTensorType>().dims().size() == -1) { | |||
LOG(WARNING) << "Warning: Rank of infer_meta_shape is dynamic. " |
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.
log里可以再加上op的信息,方便后续定位
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.
已修改
Sorry to inform you that 3e63f43's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
… support_zero_size_0
SetSymbolForValueByStaticShape
&& CheckInferSymWithInferMeta
PR Category
CINN
PR Types
Others
Description
Pcard-67164
https://xly.bce.baidu.com/paddlepaddle/paddle/newipipe/detail/12111031/job/28355010