diff --git a/paddle/fluid/framework/details/multi_devices_graph_builder.cc b/paddle/fluid/framework/details/multi_devices_graph_builder.cc index 635faafe4c62513d6efca426c639b8f6dfa29a2f..1c1b11d0e445b97469a19ca7c09ddfe249b1b63f 100644 --- a/paddle/fluid/framework/details/multi_devices_graph_builder.cc +++ b/paddle/fluid/framework/details/multi_devices_graph_builder.cc @@ -191,7 +191,6 @@ std::unique_ptr MultiDevSSAGraphBuilder::Build( }; bool is_forwarding = true; - std::unordered_map rpc_var_device_mapping; int rpc_op_device_id = 0; auto schedule_rpc_op = [&]() -> void { rpc_op_device_id++;