Torch Distributed Class Definitions


I am trying to locate ReduceOp definitions, referred in the following comment in the source.

(I did search the git source and local installation both)

I couldn’t find the class definition. Am I missing something here?

ReduceOp is a C++ enum, and is exposed to the python interface using pybind ( That enum is defined here:

1 Like