-
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
[convert_to_mixed_precision] fallback to fp32 when encounter circle #47902
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
var_names_in_circles_.insert(name); | ||
} | ||
for (auto& name : var_names_in_circles_) { | ||
LOG(INFO) << name |
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(INFO) ?
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.
是的,显示打印
for (auto* in_node : op_node->inputs) { | ||
if (!in_node->IsVar()) continue; | ||
auto* real_node = GetRealVarNode(block_idx, in_node); | ||
if (in_node->Var()->GetType() != VarType::LOD_TENSOR) { |
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.
why tensor array input not support?
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.
不支持tensor array,只支持DenseTensor
PR types
Others
PR changes
Others
Describe
当遇到环时,涉及算子fallback fp32