Skip to content

Commit 7f71d94

Browse files
committed
Fix imperative.cc
1 parent c7f3b31 commit 7f71d94

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

paddle/fluid/pybind/imperative.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -800,10 +800,8 @@ void BindImperative(py::module *m_ptr) {
800800
imperative::AllReduce(self.Var(), self.MutableVar(), strategy);
801801
} else {
802802
PADDLE_THROW(platform::errors::Unimplemented(
803-
"Imperative SelectedRows allreduce is not supported "
804-
"when "
805-
"paddle is compiled with NCCL verison lower than "
806-
"v2.2.12. "
803+
"Imperative SelectedRows allreduce is not supported when "
804+
"paddle is compiled with NCCL verison lower than v2.2.12. "
807805
"You can set is_sparse=False for the Layer containing "
808806
"this argument, such as Embedding(is_sparse=False)."));
809807
}

0 commit comments

Comments
 (0)