#[non_exhaustive]pub enum RealtimeContractError {
Show 25 variants
EmptyIdentity,
EmptyMechanismRequirements,
EmptyExecutionIdentities,
ExecutionGraphLayoutMismatch,
SourceParameterDescriptionMismatch,
ExecutionParameterDescriptionMismatch {
execution: RealtimeIdentity,
},
DuplicateExecutionIdentity,
EmptyWeightLowerings,
InvalidWeightComponentShape,
IncompleteWeightComponentRecipe,
EmptyRecipeComponentSources,
WeightComponentRecipeMismatch,
GeneratedComponentHasSources,
MissingPrimaryWeightComponent,
DuplicatePrimaryWeightComponent,
PrimaryWeightComponentTargetMismatch,
DuplicateWeightComponentTarget,
DuplicateWeightComponentRole {
role: RealtimeWeightComponentRole,
},
DuplicateWeightLoweringTarget,
WeightLoweringParameterMismatch,
WeightComponentParameterMismatch {
target: RealtimeIdentity,
},
EmptyResidencies,
DuplicateResidency,
EmptyTopologyPolicy,
InvalidPureTensorParallelSize {
size: usize,
},
}Expand description
Invalid neutral realtime contract.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyIdentity
Stable identities must contain non-whitespace text.
EmptyMechanismRequirements
A realtime architecture must require generic mechanisms.
EmptyExecutionIdentities
At least one execution identity must be admitted.
ExecutionGraphLayoutMismatch
The retained execution graph and execution-unit layout must name the same groups.
SourceParameterDescriptionMismatch
Source parameters must be described against the exact retained graph and layout.
ExecutionParameterDescriptionMismatch
Execution parameters must be described against the exact retained graph and layout.
Fields
execution: RealtimeIdentityAdmitted execution whose description is incoherent.
DuplicateExecutionIdentity
Execution identities must be unique within one architecture contract.
EmptyWeightLowerings
Every admitted execution must describe its exact checkpoint lowerings.
InvalidWeightComponentShape
Physical component geometry must have positive nonempty extents.
IncompleteWeightComponentRecipe
Recipe owner and recipe identity must either both be present or both be absent.
EmptyRecipeComponentSources
A recipe-backed physical component must retain at least one source occurrence.
WeightComponentRecipeMismatch
A retained recipe or its exact output metadata differs from the component declaration.
GeneratedComponentHasSources
A transform-generated component cannot claim physical recipe sources.
MissingPrimaryWeightComponent
Every matrix lowering must contain its primary physical component.
DuplicatePrimaryWeightComponent
Every matrix lowering must contain exactly one primary physical component.
PrimaryWeightComponentTargetMismatch
The primary component target must equal the matrix lowering target.
DuplicateWeightComponentTarget
Atomic component targets must be unique within one matrix lowering.
DuplicateWeightComponentRole
Scale and affine-bias roles may each occur at most once.
Fields
role: RealtimeWeightComponentRoleRepeated companion role.
DuplicateWeightLoweringTarget
One execution cannot bind the same canonical target more than once.
WeightLoweringParameterMismatch
Lowering targets must exactly equal primary execution parameters.
WeightComponentParameterMismatch
One lowering’s components must exactly equal its execution parameter family.
Fields
target: RealtimeIdentityAffected primary lowering target.
EmptyResidencies
At least one residency must be admitted.
DuplicateResidency
Residency declarations must not be duplicated.
EmptyTopologyPolicy
A topology policy must admit replicated or pure tensor-parallel execution.
InvalidPureTensorParallelSize
Pure tensor-parallel sizes must contain more than one rank.
Trait Implementations§
Source§impl Clone for RealtimeContractError
impl Clone for RealtimeContractError
Source§fn clone(&self) -> RealtimeContractError
fn clone(&self) -> RealtimeContractError
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 RealtimeContractError
impl Debug for RealtimeContractError
Source§impl Display for RealtimeContractError
impl Display for RealtimeContractError
impl Eq for RealtimeContractError
Source§impl Error for RealtimeContractError
impl Error for RealtimeContractError
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()