-
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
【PIR Dist Op Reg No.12】 reg all_reduce #62634
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
@kangguangli 麻烦问一下问一下all_reduce在旧ir下的定义在呢,似乎没看AllReduceOp和AllReduceOpMaker |
大部分静态图算子的定义是经由代码生成机制产生的,我们只需要配置yaml即可,部分静态图独有算子如 顺便一提,生成的定义,即AllReduceOp和AllReduceOpMaker在编译后得到的 |
@@ -120,6 +120,7 @@ | |||
|
|||
NO_NEED_GEN_STATIC_ONLY_APIS = [ | |||
'add_n_', | |||
'all_reduce', |
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.
'all_reduce', | |
'all_reduce', | |
'all_reduce_', |
这个op有inplace
属性,会自动生成all_reduce_
,所以需要把all_reduce_
加入
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 types
Others
PR changes
Others
Description
#60436
注册算子all_reduce