Skip to content

Commit

Permalink
[CustomDevice] fix release ProcessGroupCustom error when process exit
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny1996 committed Dec 7, 2023
1 parent ff9a5f6 commit 67f4b25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddle/fluid/pybind/distributed_py.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1271,6 +1271,7 @@ void BindDistributed(py::module *m) {
py::arg("rank"),
py::arg("world_size"),
py::arg("group_id") = 0,
py::return_value_policy::renference_internal,
py::call_guard<py::gil_scoped_release>());

#endif
Expand Down

0 comments on commit 67f4b25

Please sign in to comment.