pub struct PredictedRow {
pub numerics: String,
pub batch: usize,
pub position: usize,
pub window_bytes: f64,
pub step_s: f64,
pub tokens_per_s: f64,
pub roofline_tokens_per_s: f64,
pub bound_share: BTreeMap<String, f64>,
pub memory_s: f64,
pub array_s: f64,
pub lanes_s: f64,
pub vector_s: f64,
}Expand description
One configuration the twin predicts, beside the roofline’s price of it.
Fields§
§numerics: String§batch: usize§position: usize§window_bytes: f64On-chip bytes the weights may stream ahead into: the card’s on-chip memory less the batch’s token-rows.
step_s: f64§tokens_per_s: f64§roofline_tokens_per_s: f64The pricer’s tokens per second for the same serving, the bound no schedule passes.
The share of the step each unit was the command’s bound for.
memory_s: f64§array_s: f64§lanes_s: f64§vector_s: f64Trait Implementations§
Source§impl Clone for PredictedRow
impl Clone for PredictedRow
Source§fn clone(&self) -> PredictedRow
fn clone(&self) -> PredictedRow
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 PredictedRow
impl Debug for PredictedRow
Source§impl PartialEq for PredictedRow
impl PartialEq for PredictedRow
Source§impl Serialize for PredictedRow
impl Serialize for PredictedRow
impl StructuralPartialEq for PredictedRow
Auto Trait Implementations§
impl Freeze for PredictedRow
impl RefUnwindSafe for PredictedRow
impl Send for PredictedRow
impl Sync for PredictedRow
impl Unpin for PredictedRow
impl UnsafeUnpin for PredictedRow
impl UnwindSafe for PredictedRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.