pub struct ExecutionProfile {Show 13 fields
pub version: u32,
pub written_unix_ms: u64,
pub source_import: String,
pub p64_path: String,
pub q42_helper_path: String,
pub layout: String,
pub inference_mode: String,
pub backend: String,
pub toggles: ExecutionToggles,
pub metrics: ExecutionMetrics,
pub representation: RepresentationNotes,
pub notes: Vec<String>,
pub objectives: ObjectiveScores,
}Expand description
Attested run recipe for a converted native weight package.
Fields§
§version: u32§written_unix_ms: u64ISO-ish stamp (unix ms) when this profile was written.
source_import: StringSource import path if known (GGUF/Safetensors); empty if measured from P64 only.
p64_path: StringAbsolute or operator-local path to the winning .p64.
q42_helper_path: StringOptional .q42 model-helper path.
layout: StringConvert layout: verbatim | f16 | soa | …
inference_mode: Stringportable | cuda | quant-graph | fast-verify
backend: Stringwgpu backend hint (auto | vulkan | dx12 | …).
toggles: ExecutionTogglesRuntime toggles applied or recommended for this package.
metrics: ExecutionMetricsMeasured evidence (honest; may be partial).
representation: RepresentationNotesRepresentation levers available or used (not all active at once).
notes: Vec<String>Human/agent notes — failures, next steps, human decisions needed.
objectives: ObjectiveScoresMulti-objective scores (optional; fill as gates land).
Implementations§
Source§impl ExecutionProfile
impl ExecutionProfile
pub fn path_for_p64(p64_path: &Path) -> PathBuf
pub fn now_ms() -> u64
Sourcepub fn write_beside_p64(&self, p64_path: &Path) -> Result<PathBuf, String>
pub fn write_beside_p64(&self, p64_path: &Path) -> Result<PathBuf, String>
Write JSON beside the P64 (atomic-ish: write temp then rename when possible).
pub fn load_beside_p64(p64_path: &Path) -> Result<Option<Self>, String>
Sourcepub fn from_explore_winner(
source_import: &str,
p64_path: &Path,
layout: &str,
inference_mode: &str,
backend: &str,
tok_s: f64,
tokens: u32,
toggle_label: &str,
) -> Self
pub fn from_explore_winner( source_import: &str, p64_path: &Path, layout: &str, inference_mode: &str, backend: &str, tok_s: f64, tokens: u32, toggle_label: &str, ) -> Self
Build a profile from an explore winner (minimal attested fields).
Sourcepub fn apply_env_script_ps1(&self) -> String
pub fn apply_env_script_ps1(&self) -> String
Env lines a campaign / operator can apply before load (PowerShell-friendly comments separate).
Trait Implementations§
Source§impl Clone for ExecutionProfile
impl Clone for ExecutionProfile
Source§fn clone(&self) -> ExecutionProfile
fn clone(&self) -> ExecutionProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionProfile
impl Debug for ExecutionProfile
Source§impl<'de> Deserialize<'de> for ExecutionProfile
impl<'de> Deserialize<'de> for ExecutionProfile
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>,
Source§impl PartialEq for ExecutionProfile
impl PartialEq for ExecutionProfile
Source§fn eq(&self, other: &ExecutionProfile) -> bool
fn eq(&self, other: &ExecutionProfile) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecutionProfile
impl Serialize for ExecutionProfile
impl StructuralPartialEq for ExecutionProfile
Auto Trait Implementations§
impl Freeze for ExecutionProfile
impl RefUnwindSafe for ExecutionProfile
impl Send for ExecutionProfile
impl Sync for ExecutionProfile
impl Unpin for ExecutionProfile
impl UnsafeUnpin for ExecutionProfile
impl UnwindSafe for ExecutionProfile
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
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>
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