I have a modified on pytorch2. add a std::string variable on Types.hpp::BarrierOptions, and i do add py::class_<::c10d::BarrierOptions> the def_readwrite. After finish compile and install, python report that not find variable member on BarrierOptions.
I use USE_SYSTEM_NCCL=1 USE_DISTRIBUTED=1 USE_CUDA=1 USE_NCCL=1 BUILD_TEST=0 python setup.py develop
cmd.
What the other code I need modify?