Skip to content
Open
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
5 changes: 0 additions & 5 deletions comms/torchcomms/xccl/TorchCommXCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,6 @@ std::shared_ptr<TorchCommBackend> TorchCommXCCL::split(
"XCCL split is not supported now and will be added later");
}

std::shared_ptr<c10::Allocator> TorchCommXCCL::getMemAllocator() {
throw std::runtime_error(
"XCCL getMemAllocator is not supported now and will be added later");
}

XCCLException::XCCLException(
XcclApi& xccl_api,
const std::string& message,
Expand Down
2 changes: 0 additions & 2 deletions comms/torchcomms/xccl/TorchCommXCCL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ class TorchCommXCCL : public TorchCommBackend,
const std::string& name,
const CommOptions& options = {}) override;

std::shared_ptr<c10::Allocator> getMemAllocator() override;

// Friend access for TorchCommXCCL
friend class TorchWorkXCCL;

Expand Down
4 changes: 0 additions & 4 deletions comms/torchcomms/xccl/TorchWorkXCCL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ void TorchWorkXCCL::recordEnd() {
"Failed to record end event");
}

bool TorchWorkXCCL::isCompleted() {
return state_ == WorkStatus::COMPLETED;
}

TorchWorkXCCL::WorkStatus TorchWorkXCCL::checkStatus() {
// If already marked as completed, return COMPLETED
if (state_ == WorkStatus::COMPLETED || state_ == WorkStatus::ERROR ||
Expand Down
1 change: 0 additions & 1 deletion comms/torchcomms/xccl/TorchWorkXCCL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class TorchWorkXCCL : public TorchWork {
TorchWorkXCCL& operator=(TorchWorkXCCL&&) = delete;

// Override virtual functions from TorchWork
bool isCompleted() override;
void wait() override;

protected:
Expand Down
Loading