HwReport

Struct HwReport 

Source
pub struct HwReport {
Show 15 fields pub model: ModelUnderPlan, pub resolved: Resolved, pub policy: Policy, pub class_settings: BTreeMap<String, String>, pub header: Header, pub tables: Vec<GapTable>, pub tensor_core: Vec<TcAudit>, pub routes: Vec<RouteRow>, pub prefill: Vec<(u64, f64)>, pub footprint: Footprint, pub weight_floor: f64, pub exec: BTreeMap<(String, String, String, Exec), usize>, pub absent: Vec<(KernelId, Absence)>, pub others: Vec<(String, f64)>, pub command: String,
}
Expand description

2026-09-30: A built hardware report.

Fields§

§model: ModelUnderPlan

2026-09-30: The model.

§resolved: Resolved

2026-09-30: The device’s class, resolved.

§policy: Policy

2026-09-30: The policy planned with.

§class_settings: BTreeMap<String, String>

2026-09-30: Settings the class’s defaults changed from the model’s source.

§header: Header

2026-09-30: Plan header.

§tables: Vec<GapTable>

2026-09-30: One table per report run (plan::report_runs).

§tensor_core: Vec<TcAudit>

2026-10-02: The tensor-core audit of each report run (its routes included), in the order of tables; empty when the class states no policy.

§routes: Vec<RouteRow>

2026-09-30: The runtime routes that apply to those runs, estimated.

§prefill: Vec<(u64, f64)>

2026-09-30: Prefill estimates: (tokens, microseconds).

§footprint: Footprint

2026-09-30: Weights, KV and state.

§weight_floor: f64

2026-09-30: Weight bytes one decode row reads.

§exec: BTreeMap<(String, String, String, Exec), usize>

2026-09-30: (declared pair, weight, activation, execution) to node count.

§absent: Vec<(KernelId, Absence)>

2026-09-30: Kernels of the rules this model’s ops and policy could select that the device cannot run.

§others: Vec<(String, f64)>

2026-09-30: Every registry device’s usable bytes, for the “does not fit” advice.

§command: String

2026-09-30: The regenerating command.

Implementations§

Source§

impl HwReport

Source

pub fn covered(&self, table: usize, measured_only: bool) -> f64

2026-09-30: Share of the step at table covered by shared kernels (measured, or any).

Trait Implementations§

Source§

impl Clone for HwReport

Source§

fn clone(&self) -> HwReport

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HwReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.