-
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
【PIR Dist Op Reg No.25】 reg distributed_fused_lamb_init #62050
【PIR Dist Op Reg No.25】 reg distributed_fused_lamb_init #62050
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
需要按照 #60436 里第二节的说明添加一个简单的单测,测试Op的翻译能否成功
好的,我这里后续加一下,aistudio上一直在第三方库上没编译成功。。。我有空编译好了添加一下 |
0e65734
to
583af04
Compare
@kangguangli ci通过了,麻烦review一下~ |
std::vector<MetaTensor*> grad_out, | ||
MetaTensor* global_scale, | ||
MetaTensor* step) { | ||
fp32_fused_param->set_dtype(DataType::FLOAT32); |
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.
这个算子不需要设置dims信息吗
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.
旧IR下该算子的InferShape为空,这些是他新增的。如果要新增dims的话,只能根据kernel的实现去推测,感觉可以等后续对InferMeta有需要再完善,这里我觉得保持现状较好。
@@ -0,0 +1,152 @@ | |||
# Copyright (c) 2023 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.
2023 -> 2024
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.
已修改,谢谢~
90dc536
to
a86d558
Compare
a86d558
to
474f1a3
Compare
@jzhang533 @sunzhongkai588 @Ligoml |
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
PR types
Others
PR changes
Others
Description
#60436
注册算子distributed_fused_lamb_init