#[non_exhaustive]pub enum CommunicationManifestError {
Show 26 variants
InvalidBoundaryContract,
RankOutOfRange {
rank: usize,
world_size: usize,
},
TopologyMismatch,
InvalidTopologyProjection,
InvalidOperationLimits,
InvalidOperationDtypes,
InvalidCompletionPolicy,
InvalidCompletionCapabilities,
DuplicateOrMissingOperation,
EmptyGroup {
id: CollectiveGroupId,
},
DuplicateGroupMember {
id: CollectiveGroupId,
},
GroupMemberOutOfRange {
id: CollectiveGroupId,
world_size: usize,
},
WrongLocalIndex {
id: CollectiveGroupId,
},
DuplicateGroupId {
id: CollectiveGroupId,
},
WrongGroupOrder {
id: CollectiveGroupId,
expected: usize,
actual: usize,
},
InvalidRouteEndpoints {
id: CommunicationRouteId,
},
InvalidRouteOperation {
id: CommunicationRouteId,
},
RouteEndpointOutOfRange {
id: CommunicationRouteId,
world_size: usize,
},
DuplicateRouteId {
id: CommunicationRouteId,
},
WrongRouteOrder {
id: CommunicationRouteId,
expected: usize,
actual: usize,
},
WrongManifestCount {
expected: usize,
actual: usize,
},
MissingRankManifest {
rank: usize,
},
DuplicateRankManifest {
rank: usize,
},
IncompatibleRankManifest {
rank: usize,
},
DescriptorCountOverflow,
InvalidPeerCounts {
group_size: usize,
send: usize,
receive: usize,
},
}Expand description
Invalid opaque communication manifest or topology projection.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidBoundaryContract
A role-exact route schema is empty, incoherent, or not representable.
RankOutOfRange
Manifest rank is outside the declared world.
TopologyMismatch
Rank topology and complete topology disagree.
InvalidTopologyProjection
A validated core topology could not be projected consistently.
InvalidOperationLimits
Tensor/count limits were absent or incoherent for the operation.
InvalidOperationDtypes
Dtype requirements were empty or repeated.
InvalidCompletionPolicy
A bounded completion policy has no positive representable deadline.
InvalidCompletionCapabilities
Completion capability modes were absent or repeated.
DuplicateOrMissingOperation
A group requirement was empty or repeated an operation.
EmptyGroup
A group has no members.
Fields
id: CollectiveGroupIdInvalid group.
DuplicateGroupMember
A group repeats a world rank.
Fields
id: CollectiveGroupIdInvalid group.
GroupMemberOutOfRange
A group member is outside the manifest world.
WrongLocalIndex
A group local index does not identify the manifest rank exactly.
Fields
id: CollectiveGroupIdInvalid group.
DuplicateGroupId
Group IDs are not unique.
Fields
id: CollectiveGroupIdRepeated group identity.
WrongGroupOrder
Group descriptors are not in their declared canonical order.
Fields
id: CollectiveGroupIdInvalid group.
InvalidRouteEndpoints
A route is not directed between distinct endpoints.
Fields
id: CommunicationRouteIdInvalid route.
InvalidRouteOperation
A route carries a non-point-to-point operation.
Fields
id: CommunicationRouteIdInvalid route.
RouteEndpointOutOfRange
A route endpoint is outside the manifest world.
DuplicateRouteId
Route IDs are not unique.
Fields
id: CommunicationRouteIdRepeated route identity.
WrongRouteOrder
Route descriptors are not in their declared canonical order.
Fields
id: CommunicationRouteIdInvalid route.
WrongManifestCount
The number of per-rank projections does not match the world.
MissingRankManifest
No manifest was supplied for a world rank.
DuplicateRankManifest
More than one manifest was supplied for a world rank.
IncompatibleRankManifest
A rank derived different global descriptors or local positions.
DescriptorCountOverflow
The projected descriptor count cannot be represented by the stable ID.
InvalidPeerCounts
Variable exchange counts do not match opaque group membership.
Trait Implementations§
Source§impl Clone for CommunicationManifestError
impl Clone for CommunicationManifestError
Source§fn clone(&self) -> CommunicationManifestError
fn clone(&self) -> CommunicationManifestError
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 CommunicationManifestError
impl Debug for CommunicationManifestError
Source§impl Display for CommunicationManifestError
impl Display for CommunicationManifestError
impl Eq for CommunicationManifestError
Source§impl Error for CommunicationManifestError
impl Error for CommunicationManifestError
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()