-
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
Fix pir comiler name id bug #59642
Fix pir comiler name id bug #59642
Conversation
… fix_pir_comiler_name_id_bug
你的PR提交成功,感谢你对开源项目的贡献! |
✅ This PR's description meets the template requirements! |
… fix_pir_comiler_name_id_bug
… fix_pir_comiler_name_id_bug
… fix_pir_comiler_name_id_bug
group_inputs.insert(value); | ||
continue; | ||
} | ||
// if (std::find(this->input_names.begin(), |
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.
need to delete
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 overall
// std::transform( | ||
// group->output_ops.begin(), | ||
// group->output_ops.end(), | ||
// std::inserter(output_tensor_names, output_tensor_names.begin()), |
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.
need delete this
@@ -96,6 +91,49 @@ struct CompatibleInfo { | |||
std::vector<int64_t> GetBroadcastAxis(const phi::DDim& in_shape, | |||
const std::vector<int64_t>& out_shape); | |||
|
|||
struct NameGenerator { |
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.
这个是不是可以复用CINN里的,把那个头文件里的PrettyNamer 删除掉。
PR types
Bug fixes
PR changes
Others
Description
修复pir compiler中名字命名冲突的bug
Pcard-67164