Don't split input data in federated mode (#8279)
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu>
This commit is contained in:
co-authored by
Hyunsu Philip Cho
parent
66fd9f5207
commit
8d4038da57
@@ -170,6 +170,12 @@ class FederatedCommunicator : public Communicator {
|
||||
*/
|
||||
bool IsDistributed() const override { return true; }
|
||||
|
||||
/**
|
||||
* \brief Get if the communicator is federated.
|
||||
* \return True.
|
||||
*/
|
||||
bool IsFederated() const override { return true; }
|
||||
|
||||
/**
|
||||
* \brief Perform in-place allreduce.
|
||||
* \param send_receive_buffer Buffer for both sending and receiving data.
|
||||
|
||||
Reference in New Issue
Block a user