pub struct LocalTraceLink {
pub base_model_hash: String,
pub adapter: Option<AdapterTrace>,
pub tokenizer_hash: String,
pub seed: u64,
pub sampler: SamplerParams,
pub prompt_version: String,
pub recall: Option<RecallTrace>,
pub weights_mutated: bool,
pub execution_env: ExecutionEnv,
}Expand description
Local trace link — replay-eligible.
Contains all information needed to reproduce the exact output. Only local inference can provide this level of determinism.
Fields§
§base_model_hash: StringHash of base model weights
adapter: Option<AdapterTrace>Adapter ID + hash (if used)
tokenizer_hash: StringTokenizer hash
seed: u64Random seed used
sampler: SamplerParamsSampler parameters
prompt_version: StringPrompt version
recall: Option<RecallTrace>Recall trace (if used)
weights_mutated: boolWhether weights were mutated (merge)
execution_env: ExecutionEnvExecution environment
Trait Implementations§
Source§impl Clone for LocalTraceLink
impl Clone for LocalTraceLink
Source§fn clone(&self) -> LocalTraceLink
fn clone(&self) -> LocalTraceLink
Returns a duplicate of the value. Read more
1.0.0 · 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 LocalTraceLink
impl Debug for LocalTraceLink
Source§impl<'de> Deserialize<'de> for LocalTraceLink
impl<'de> Deserialize<'de> for LocalTraceLink
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
Auto Trait Implementations§
impl Freeze for LocalTraceLink
impl RefUnwindSafe for LocalTraceLink
impl Send for LocalTraceLink
impl Sync for LocalTraceLink
impl Unpin for LocalTraceLink
impl UnwindSafe for LocalTraceLink
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