diff --git a/torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp b/torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp index fbca2c7f470247..7b0336960b7285 100644 --- a/torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp +++ b/torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp @@ -319,8 +319,6 @@ c10::intrusive_ptr ProcessGroupXCCL::collective( auto comm = getXCCLComm(key, device); auto stream = xcclStreams_.at(key); - std::vector inputs{input}; - std::vector outputs{output}; c10::intrusive_ptr work;