#[non_exhaustive]pub enum InspectionIssueCode {
Show 23 variants
InvalidContainer,
InvalidConfiguration,
UnsupportedArchitecture,
MissingCheckpointShard,
UnsupportedTensorEncoding,
MissingRequiredTensor,
ConflictingTensorLayout,
TensorShapeMismatch,
QuantizationCompanionMismatch,
InvalidLayerOrExpertCount,
MissingTokenizer,
MissingChatTemplate,
MissingMediaProjector,
MissingProcessor,
UnsupportedQuantizationRequest,
UnsupportedResidencyPolicy,
UnsupportedParallelTopology,
UnsupportedSemanticProtocol,
UnsupportedToolProtocol,
MissingEosMetadata,
ValidationUnavailableUntilLoad,
RequestSpecificValidation,
Io,
}Expand description
Stable machine-readable inspection issue category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidContainer
Artifact path or container structure is invalid.
InvalidConfiguration
Configuration or architecture metadata is invalid.
UnsupportedArchitecture
Architecture dispatch has no backend implementation.
MissingCheckpointShard
A referenced checkpoint shard is absent or contradictory.
UnsupportedTensorEncoding
A tensor storage encoding cannot be consumed.
MissingRequiredTensor
An architecture-required tensor is absent.
ConflictingTensorLayout
Tensor aliases or layouts conflict after translation.
TensorShapeMismatch
A catalog tensor has the wrong rank or dimensions.
QuantizationCompanionMismatch
Packed quantization metadata and companion tensors disagree.
InvalidLayerOrExpertCount
Configured layer, attention, or expert geometry is invalid.
MissingTokenizer
No usable tokenizer is available.
MissingChatTemplate
No checkpoint or sidecar chat template is available.
MissingMediaProjector
A required multimodal projector is absent or ambiguous.
MissingProcessor
A media processor or its build feature is unavailable.
UnsupportedQuantizationRequest
Requested on-load quantization is incompatible.
UnsupportedResidencyPolicy
Requested weight-residency route is incompatible.
UnsupportedParallelTopology
Requested parallel topology cannot use this loader.
UnsupportedSemanticProtocol
No fail-closed semantic streaming protocol was recognized.
UnsupportedToolProtocol
No fail-closed native-tool protocol was recognized.
MissingEosMetadata
EOS metadata is absent.
Exact binding requires preparation-time module validation.
RequestSpecificValidation
Request data or runtime state still needs validation.
Io
An ordinary local I/O operation failed.
Trait Implementations§
Source§impl Clone for InspectionIssueCode
impl Clone for InspectionIssueCode
Source§fn clone(&self) -> InspectionIssueCode
fn clone(&self) -> InspectionIssueCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more