pub enum StreamingConversionError {
Source(WeightsError),
SourceCensus(Box<CensusReport>),
SourceDigestMismatch {
expected: String,
actual: String,
},
Plan(ConversionPlanError),
Artifact(FttsqError),
Quantization(MatrixQuantizationError<Q8SectionSinkError>),
}Expand description
Failure while converting a manifest-validated safetensors checkpoint.
Variants§
Source(WeightsError)
The source bytes were not a valid supported safetensors file.
SourceCensus(Box<CensusReport>)
The source file did not match its complete pinned manifest.
SourceDigestMismatch
The source bytes did not match the plan’s pinned SHA-256.
Fields
Plan(ConversionPlanError)
The conversion plan was incomplete or structurally inconsistent.
Artifact(FttsqError)
The container refused planned metadata or could not write the destination stream.
Quantization(MatrixQuantizationError<Q8SectionSinkError>)
The shared Q8 primitive refused a source matrix or destination section.
Trait Implementations§
Source§impl Debug for StreamingConversionError
impl Debug for StreamingConversionError
Source§impl Display for StreamingConversionError
impl Display for StreamingConversionError
Source§impl Error for StreamingConversionError
impl Error for StreamingConversionError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for StreamingConversionError
impl RefUnwindSafe for StreamingConversionError
impl Send for StreamingConversionError
impl Sync for StreamingConversionError
impl Unpin for StreamingConversionError
impl UnsafeUnpin for StreamingConversionError
impl UnwindSafe for StreamingConversionError
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