-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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.24】 reg distributed_lookup_table #60911
【PIR Dist Op Reg No.24】 reg distributed_lookup_table #60911
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
087bb2c
to
8fd466e
Compare
8fd466e
to
5a51ebd
Compare
5a51ebd
to
fe1c840
Compare
|
||
import unittest | ||
|
||
import test_op_transcriber |
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.
import test_op_transcriber | |
import test_op_translator |
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.
感谢~已修改,麻烦再review一下~
795e695
to
bbefc1b
Compare
func : DistributeLookupTableInferMeta | ||
kernel : | ||
func : distributed_lookup_table | ||
data_type : ids |
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.
data_type : ids | |
data_type : dtype |
这里需要和DistributedLookupTableOp::GetExpectedKernelType 保持一致
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.
谢谢,已修改~
@@ -374,6 +374,15 @@ | |||
data_type : fpn_rois | |||
optional : rois_num, multi_level_rois_num | |||
|
|||
- op : distributed_lookup_table | |||
args : (Tensor[] ids, Tensor w, int table_id = 0, bool is_distributed = false, str lookup_table_version = "lookup_table", int64_t padding_idx = -1, int dtype = 5, bool is_test = false) |
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.
args : (Tensor[] ids, Tensor w, int table_id = 0, bool is_distributed = false, str lookup_table_version = "lookup_table", int64_t padding_idx = -1, int dtype = 5, bool is_test = false) | |
args : (Tensor[] ids, Tensor w, int table_id = 0, bool is_distributed = false, str lookup_table_version = "lookup_table", int64_t padding_idx = -1, DataType dtype = DataType::FLOAT32, bool is_test = false) |
paddle/phi/infermeta/binary.cc
Outdated
bool is_distributed, | ||
const std::string& lookup_table_version, | ||
int64_t padding_idx, | ||
int dtype, |
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.
int dtype, | |
DataType dtype, |
485650b
to
8be548c
Compare
8be548c
to
d0a8e3c
Compare
可以rerun一下CI,应该可以合入了 |
rerun后CI全过了,麻烦approve一下,感谢~ |
@@ -0,0 +1,56 @@ | |||
# 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
PR types
Others
PR changes
Others
Description
#60436
注册算子distributed_lookup_table