Skip to content

Commit

Permalink
remove comment on export_values
Browse files Browse the repository at this point in the history
as resumed using it

Signed-off-by: Masaki Kozuki <mkozuki@nvidia.com>
  • Loading branch information
crcrpar committed Nov 15, 2022
1 parent cc7d459 commit 861e20d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions torch/csrc/distributed/c10d/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,6 @@ This class does not support ``__members__`` property.)");
}
}));

// note(crcrpar): Deliberately skip
// [`export_values`](https://pybind11.readthedocs.io/en/stable/classes.html#enumerations-and-internal-types)
// here and manually set values in Python side. See note "ReduceOp static
// class attributes to support `isinstance`"
py::enum_<::c10d::ReduceOp::RedOpType>(reduce_op, "RedOpType")
.value("SUM", ::c10d::ReduceOp::RedOpType::SUM)
.value("AVG", ::c10d::ReduceOp::RedOpType::AVG)
Expand Down

0 comments on commit 861e20d

Please sign in to comment.