Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.
Closed
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
1 change: 0 additions & 1 deletion include/torch_ucc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ class ProcessGroupUCC : public ProcessGroup {
OpType opType,
ucc_status_t status,
ucc_coll_req_h request,
ucc_ee_h ee,
CommBase* comm)
: ProcessGroup::Work(-1, opType),
status_(status),
Expand Down
8 changes: 4 additions & 4 deletions src/torch_ucc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ c10::intrusive_ptr<ProcessGroup::Work> CommPG::enqueue_p2p(
if (request == nullptr) {
// p2p2 request completed immediately don't save it to progress queue
return c10::make_intrusive<ProcessGroupUCC::WorkUCC>(
opType, UCC_OK, request, nullptr, &ucx_comm);
opType, UCC_OK, request, &ucx_comm);
}
auto work = c10::make_intrusive<ProcessGroupUCC::WorkUCC>(
opType, UCC_INPROGRESS, request, nullptr, &ucx_comm);
opType, UCC_INPROGRESS, request, &ucx_comm);
std::unique_lock<std::mutex> lock(mutex);
progress_queue.push_back(work);
lock.unlock();
Expand All @@ -386,7 +386,7 @@ c10::intrusive_ptr<ProcessGroupUCC::WorkUCC> CommPG::enqueue_collective(
throw std::runtime_error(ucc_status_string(st));
}
auto work = c10::make_intrusive<ProcessGroupUCC::WorkUCC>(
opType, UCC_INPROGRESS, request, nullptr, &ucc_comm);
opType, UCC_INPROGRESS, request, &ucc_comm);
work->data = std::move(data);
std::unique_lock<std::mutex> lock(mutex);
progress_queue.push_back(work);
Expand Down Expand Up @@ -427,7 +427,7 @@ c10::intrusive_ptr<ProcessGroupUCC::WorkUCC> CommPG::enqueue_cuda_collective(
TORCH_CHECK(st == UCC_OK && post_ev->ev_type == UCC_EVENT_COLLECTIVE_POST);
ucc_ee_ack_event(ee, post_ev);
auto work = c10::make_intrusive<ProcessGroupUCC::WorkUCC>(
opType, UCC_INPROGRESS, request, ee, &ucc_comm);
opType, UCC_INPROGRESS, request, &ucc_comm);
work->data = std::move(data);
work->ep = ep;
cuda_ev->record(stream);
Expand Down