pub struct PriorLoadInfo {
pub archive_bytes: u64,
pub archive_sha256: String,
pub vocab_sha256: String,
pub initialization_kind: InitializationKind,
pub source_depth: usize,
pub block_mapping: Vec<usize>,
pub block_schedule: Option<Vec<usize>>,
pub initial_state_sha256: String,
pub policy: Option<String>,
}Expand description
Summary of loading a QPI1 prior archive into a Transformer.
Fields§
§archive_bytes: u64Archive size in bytes.
archive_sha256: StringSHA-256 hex digest of the archive file.
vocab_sha256: StringSHA-256 hex digest of the vocabulary file.
initialization_kind: InitializationKindPrior expansion kind (depth-growth or loop-untying).
source_depth: usizeNumber of physical source layers in the archive.
block_mapping: Vec<usize>Effective target-to-source block mapping.
block_schedule: Option<Vec<usize>>Optional recurrent schedule for loop-untying.
initial_state_sha256: StringCanonical SHA-256 digest of the initialized model state.
policy: Option<String>Optional quantization policy label from archive metadata.
Trait Implementations§
Source§impl Clone for PriorLoadInfo
impl Clone for PriorLoadInfo
Source§impl Debug for PriorLoadInfo
impl Debug for PriorLoadInfo
Source§impl<'de> Deserialize<'de> for PriorLoadInfo
impl<'de> Deserialize<'de> for PriorLoadInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PriorLoadInfo
Source§impl PartialEq for PriorLoadInfo
impl PartialEq for PriorLoadInfo
Source§impl Serialize for PriorLoadInfo
impl Serialize for PriorLoadInfo
impl StructuralPartialEq for PriorLoadInfo
Auto Trait Implementations§
impl Freeze for PriorLoadInfo
impl RefUnwindSafe for PriorLoadInfo
impl Send for PriorLoadInfo
impl Sync for PriorLoadInfo
impl Unpin for PriorLoadInfo
impl UnsafeUnpin for PriorLoadInfo
impl UnwindSafe for PriorLoadInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more