diff --git a/paddle/fluid/operators/detail/sendrecvop_utils.cc b/paddle/fluid/operators/detail/sendrecvop_utils.cc index 800d6d8bd2179946ba8ea3917d4eb6884723b7f8..d754630fd78f90423ed58fbf1791432873f0f7ef 100644 --- a/paddle/fluid/operators/detail/sendrecvop_utils.cc +++ b/paddle/fluid/operators/detail/sendrecvop_utils.cc @@ -14,6 +14,7 @@ limitations under the License. */ #include "paddle/fluid/operators/detail/sendrecvop_utils.h" +#include #include #include // NOLINT diff --git a/python/paddle/fluid/framework.py b/python/paddle/fluid/framework.py index 2cdf010926b415665986214100256d6eea086d83..c6262d54ac7520da93016b8ddbb57157d8b9ad5b 100644 --- a/python/paddle/fluid/framework.py +++ b/python/paddle/fluid/framework.py @@ -487,7 +487,7 @@ class Operator(object): 'rnn_memory_helper_grad', 'conditional_block', 'while', 'send', 'recv', 'listen_and_serv', 'parallel_do', 'save_combine', 'load_combine', 'ncclInit', 'channel_create', 'channel_close', - 'channel_send', 'channel_recv', 'select' + 'channel_send', 'channel_recv', 'select', 'gen_nccl_id' } if type not in no_kernel_op_set: self.desc.infer_var_type(self.block.desc)