Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Sep 12, 2024
1 parent 8efb5d0 commit e85c268
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions torch/csrc/distributed/c10d/ProcessGroupXCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ AutoXcclGroup::AutoXcclGroup() {
ccl::group_start();
}

AutoNcclGroup::AutoNcclGroup(xcclComm_t comm) {
comm_ = comm;
ccl::group_start();
}

AutoNcclGroup::~AutoNcclGroup() noexcept(false) {
ccl::group_end();
}
Expand Down
2 changes: 0 additions & 2 deletions torch/csrc/distributed/c10d/ProcessGroupXCCL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ constexpr const char* XCCL_BACKEND_NAME = "xccl";
namespace {
struct AutoXcclGroup {
AutoXcclGroup();
AutoXcclGroup(xcclComm_t comm);
~AutoXcclGroup() noexcept(false);
xcclComm_t comm_;
};
} // namespace

Expand Down

0 comments on commit e85c268

Please sign in to comment.