#[non_exhaustive]pub enum CommunicationCapabilityError {
UnreachableGroup {
id: CollectiveGroupId,
},
UnreachableRoute {
id: CommunicationRouteId,
source_rank: usize,
destination_rank: usize,
},
MissingBoundaryFraming {
protocol: BoundaryFramingProtocol,
},
MissingBoundedCompletion,
MissingSelectedCompletionPolicy,
UnsupportedCancellationMode {
cancellation: CompletionCancellationMode,
},
MissingOperation {
operation: CommunicationOperation,
},
UnsupportedDtype {
operation: CommunicationOperation,
dtype: TensorDtype,
},
InsufficientLimits {
operation: CommunicationOperation,
},
MissingExactCompletion {
operation: CommunicationOperation,
},
}Expand description
Missing or insufficient generic communication mechanism capability.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnreachableGroup
A logical group cannot be realized directly or as a proven world wave.
Fields
id: CollectiveGroupIdUnreachable group.
UnreachableRoute
A directed route cannot be realized directly or as a proven world wave.
Fields
id: CommunicationRouteIdUnreachable route.
MissingBoundaryFraming
A route selected an in-band framing protocol unavailable in the backend.
Fields
protocol: BoundaryFramingProtocolSelected protocol.
MissingBoundedCompletion
The manifest requires bounded completion but the backend did not advertise it.
MissingSelectedCompletionPolicy
A manifest selects communication resources but no bounded completion policy.
UnsupportedCancellationMode
The backend cannot safely apply the selected timeout disposition.
Fields
cancellation: CompletionCancellationModeSelected but unavailable timeout disposition.
MissingOperation
The exact operation is unavailable.
Fields
operation: CommunicationOperationMissing operation.
UnsupportedDtype
The operation cannot carry one required dtype.
InsufficientLimits
Tensor shape or count limits are too small.
Fields
operation: CommunicationOperationRequired operation.
MissingExactCompletion
Exact completion is required but unavailable.
Fields
operation: CommunicationOperationRequired operation.
Trait Implementations§
Source§impl Clone for CommunicationCapabilityError
impl Clone for CommunicationCapabilityError
Source§fn clone(&self) -> CommunicationCapabilityError
fn clone(&self) -> CommunicationCapabilityError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CommunicationCapabilityError
impl Debug for CommunicationCapabilityError
impl Eq for CommunicationCapabilityError
Source§impl Error for CommunicationCapabilityError
impl Error for CommunicationCapabilityError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()