Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/xccl/ProcessGroupXCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,15 +369,15 @@ ProcessGroupXCCL::ProcessGroupXCCL(
int size,
c10::intrusive_ptr<Options> options)
: Backend(rank, size),
store_(store),
options_(std::move(options)),
store_(std::move(store)),
xcclCommCounter_(0),
local_id_(process_group_id++) {
local_id_(process_group_id++),
options_(std::move(options)) {
this->setGroupUid(options_->group_name);
logPrefix_ = createLogPrefix();
blockingWait_ = getCvarBool(TORCH_XCCL_BLOCKING_WAIT, false);
traceBufferSize_ = getCvarInt({"TORCH_FR_BUFFER_SIZE"}, 2000);

this->setGroupUid(options_->group_name);
// In PGNCCL, the pg ranks are recorded on comm setup in each op, but we just
// do it here.
const auto XcclVersion = getXcclVersion();
Expand Down
2 changes: 0 additions & 2 deletions src/xccl/ProcessGroupXCCL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ class TORCH_API ProcessGroupXCCL : public Backend {
return c10::make_intrusive<Options>(is_high_priority_stream);
}
bool is_high_priority_stream;
std::vector<uint64_t> global_ranks_in_group;
std::string group_name;
};

ProcessGroupXCCL(
Expand Down
Loading