#[non_exhaustive]pub enum ArchitecturePartitionError {
Show 20 variants
InvalidBoundary(ArchitectureBoundaryError),
ArchitectureTopology(String),
ArchitectureState(String),
MissingArchitectureState,
PromptCacheIdentity(String),
EmptyArchitectureUnitPath {
group: usize,
index: usize,
},
DuplicateArchitectureUnitPath(String),
ArchitectureGraphMismatch,
ArchitectureUnitLayoutMismatch,
LayoutGroupCountMismatch {
graph: usize,
layout: usize,
},
LayoutGroupMismatch {
index: usize,
graph: String,
layout: String,
},
UnknownGroup(String),
DuplicateGroup(String),
EmptyGroupRange {
group: String,
},
GroupRangeOutOfBounds {
group: String,
start: usize,
end: usize,
available: usize,
},
EmptyStaticRole,
DuplicateStaticRole(String),
StateOffsetOverflow {
offset: usize,
layers: usize,
},
DuplicateParameterTarget(String),
NonLocalParameterOwner(ParameterGroupOwner),
}Expand description
Invalid backend-neutral architecture partition declaration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidBoundary(ArchitectureBoundaryError)
The architecture supplied an invalid partition-boundary wire schema.
ArchitectureTopology(String)
The neutral architecture could not declare a canonical graph, unit count, or unit path.
ArchitectureState(String)
The architecture could not declare or partition its mutable state.
MissingArchitectureState
The realized partition owns no mutable architecture state.
PromptCacheIdentity(String)
The architecture state could not be converted to prompt-cache identity.
EmptyArchitectureUnitPath
A neutral architecture exposed an empty stable unit path.
DuplicateArchitectureUnitPath(String)
Two canonical architecture units exposed the same stable path.
ArchitectureGraphMismatch
The partition dependency graph differs from the concrete architecture.
ArchitectureUnitLayoutMismatch
The partition unit counts differ from the concrete architecture.
LayoutGroupCountMismatch
The graph and complete unit layout contain different group counts.
LayoutGroupMismatch
A unit-layout group identity differs from the graph at the same slot.
Fields
UnknownGroup(String)
A rank-local unit range names no canonical architecture group.
DuplicateGroup(String)
A canonical architecture group was declared more than once.
EmptyGroupRange
A group owns no execution units.
GroupRangeOutOfBounds
A group-local global unit range exceeds the canonical group size.
Fields
EmptyStaticRole
A static ownership role is blank.
DuplicateStaticRole(String)
A static ownership role was repeated.
StateOffsetOverflow
A local state layout cannot be placed in the global layer index space.
DuplicateParameterTarget(String)
Two semantic parameter groups claim the same physical target.
NonLocalParameterOwner(ParameterGroupOwner)
A supplied parameter owner is not part of this rank-local partition.
Trait Implementations§
Source§impl Clone for ArchitecturePartitionError
impl Clone for ArchitecturePartitionError
Source§fn clone(&self) -> ArchitecturePartitionError
fn clone(&self) -> ArchitecturePartitionError
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 ArchitecturePartitionError
impl Debug for ArchitecturePartitionError
Source§impl Display for ArchitecturePartitionError
impl Display for ArchitecturePartitionError
impl Eq for ArchitecturePartitionError
Source§impl Error for ArchitecturePartitionError
impl Error for ArchitecturePartitionError
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()