Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chao1Han committed Sep 5, 2024
1 parent fb9746b commit 4f73180
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions torch/csrc/distributed/c10d/Ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ REGISTER_C10D_OP(alltoall_)
REGISTER_C10D_OP(alltoall_base_)
REGISTER_C10D_OP(barrier)

REGISTER_C10D_OP1(allreduce_, XPU)
// The following ops are specialized, register them separately

TORCH_LIBRARY_IMPL(c10d, CPU, m) {
Expand Down
2 changes: 1 addition & 1 deletion torch/csrc/distributed/c10d/ProcessGroupXCCL.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using XCCL_KVS = ccl::shared_ptr_class<ccl::kvs>;
constexpr const char* XCCL_BACKEND_NAME = "xccl";
// using namespace torch::xpu::xccl;

class TORCH_XPU_API ProcessGroupXCCL : public Backend {
class TORCH_API ProcessGroupXCCL : public Backend {
public:
class WorkXCCL : public Work {
public:
Expand Down

0 comments on commit 4f73180

Please sign in to comment.