Skip to content
Open
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
13 changes: 13 additions & 0 deletions comms/torchcomms/TorchCommBackend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,19 @@ class TorchCommBackend {
return false;
}

/**
* Check if the backend is fully initialized and ready for collective
* operations. In dynamic regime, the backend transitions to initialized
* state after a successful reconfigure().
*
* This method is non-throwing and safe to call regardless of backend state.
*
* @return True if the backend is initialized, false otherwise.
*/
virtual bool isInitialized() const {
return true;
}

/**
* Get the initialization handle for this backend.
* In dynamic regime, this URL encodes information required by the backend
Expand Down
Loading