Skip to content

Commit

Permalink
refactor: ProcessGroupNCCL (#47740)
Browse files Browse the repository at this point in the history
  • Loading branch information
HermitSun authored Nov 9, 2022
1 parent 87d9724 commit ae14bad
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 147 deletions.
8 changes: 0 additions & 8 deletions paddle/fluid/distributed/collective/ProcessGroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,14 +350,6 @@ class ProcessGroup {
GetBackendName()));
}

virtual std::shared_ptr<ProcessGroup::Task> _ReduceScatterBase(
phi::DenseTensor&, // NOLINT
phi::DenseTensor&, // NOLINT
const ReduceScatterOptions&) {
PADDLE_THROW(platform::errors::InvalidArgument(
"ProcessGroup%s does not support ReduceScatter", GetBackendName()));
}

protected:
const int rank_;
const int size_;
Expand Down
Loading

0 comments on commit ae14bad

Please sign in to comment.