pub struct PriorPlan {
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 target_sources: BTreeMap<usize, usize>,
pub root_names: Vec<String>,
pub block_suffixes: Vec<String>,
pub zero_unmapped_targets: Vec<usize>,
pub policy: Option<String>,
}Expand description
Validated plan for applying a QPI1 prior to a target Transformer.
Fields§
§archive_bytes: u64Size of the archive file in bytes.
archive_sha256: StringSHA-256 hex digest of the archive file.
vocab_sha256: StringSHA-256 hex digest of the pinned vocabulary file.
initialization_kind: InitializationKindInitialization strategy used by the prior.
source_depth: usizeNumber of physical blocks stored in the archive.
block_mapping: Vec<usize>Effective block mapping (Vec<usize>) recorded for diagnostics.
block_schedule: Option<Vec<usize>>Recurrent block schedule if loop-untying.
target_sources: BTreeMap<usize, usize>Map from target block index to archive source block index.
root_names: Vec<String>Root (non-block) parameter names verified present in both prior and target.
block_suffixes: Vec<String>Per-block suffix names (after "blocks.{i}.").
zero_unmapped_targets: Vec<usize>Unmapped target block indices whose residual output projections must be zeroed (depth-growth).
policy: Option<String>Optional quantization policy name.
Trait Implementations§
impl Eq for PriorPlan
impl StructuralPartialEq for PriorPlan
Auto Trait Implementations§
impl Freeze for PriorPlan
impl RefUnwindSafe for PriorPlan
impl Send for PriorPlan
impl Sync for PriorPlan
impl Unpin for PriorPlan
impl UnsafeUnpin for PriorPlan
impl UnwindSafe for PriorPlan
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