pub enum ArtifactFinding {
Missing {
name: String,
},
Extra {
name: String,
},
ShapeMismatch {
name: String,
expected: Vec<u64>,
found: Vec<u64>,
},
DtypeMismatch {
name: String,
expected: StoredDtype,
found: StoredDtype,
},
WrongAccessClass {
name: String,
expected: AccessClass,
found: AccessClass,
},
DanglingSection {
name: String,
section: String,
},
}Expand description
One way an artifact diverged from its expected inventory.
Variants§
Missing
A required tensor is absent. Certain failure downstream.
Extra
The artifact carries a tensor the manifest does not list — the signature of a different checkpoint or a converter that changed its naming.
ShapeMismatch
Present, but not the shape we compiled kernels for.
DtypeMismatch
Present, but quantized differently than the recipe says.
WrongAccessClass
Present and correct, but filed under the wrong access class.
The quiet one: audio stays correct while the page-in policy silently becomes wrong.
DanglingSection
A tensor names a section the artifact does not declare.
Implementations§
Trait Implementations§
Source§impl Clone for ArtifactFinding
impl Clone for ArtifactFinding
Source§fn clone(&self) -> ArtifactFinding
fn clone(&self) -> ArtifactFinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArtifactFinding
impl Debug for ArtifactFinding
Source§impl Display for ArtifactFinding
impl Display for ArtifactFinding
impl Eq for ArtifactFinding
Source§impl PartialEq for ArtifactFinding
impl PartialEq for ArtifactFinding
impl StructuralPartialEq for ArtifactFinding
Auto Trait Implementations§
impl Freeze for ArtifactFinding
impl RefUnwindSafe for ArtifactFinding
impl Send for ArtifactFinding
impl Sync for ArtifactFinding
impl Unpin for ArtifactFinding
impl UnsafeUnpin for ArtifactFinding
impl UnwindSafe for ArtifactFinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more