pub struct ForwardPassMetrics {Show 14 fields
pub num_prefill_requests: u32,
pub sum_prefill_tokens: u64,
pub var_prefill_length: f64,
pub sum_prefill_kv_tokens: u64,
pub num_decode_requests: u32,
pub sum_decode_kv_tokens: u64,
pub var_decode_kv_tokens: f64,
pub num_queued_prefill: u32,
pub sum_queued_prefill_tokens: u64,
pub var_queued_prefill_length: f64,
pub num_queued_decode: u32,
pub sum_queued_decode_kv_tokens: u64,
pub var_queued_decode_kv_tokens: f64,
pub duration_ms: f64,
}Expand description
Per-pass scheduling statistics.
Fields§
§num_prefill_requests: u32§sum_prefill_tokens: u64§var_prefill_length: f64§sum_prefill_kv_tokens: u64§num_decode_requests: u32§sum_decode_kv_tokens: u64§var_decode_kv_tokens: f64§num_queued_prefill: u32§sum_queued_prefill_tokens: u64§var_queued_prefill_length: f64§num_queued_decode: u32§sum_queued_decode_kv_tokens: u64§var_queued_decode_kv_tokens: f64§duration_ms: f64Trait Implementations§
Source§impl Clone for ForwardPassMetrics
impl Clone for ForwardPassMetrics
Source§fn clone(&self) -> ForwardPassMetrics
fn clone(&self) -> ForwardPassMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ForwardPassMetrics
impl Debug for ForwardPassMetrics
Source§impl Default for ForwardPassMetrics
impl Default for ForwardPassMetrics
Source§fn default() -> ForwardPassMetrics
fn default() -> ForwardPassMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for ForwardPassMetrics
impl PartialEq for ForwardPassMetrics
impl StructuralPartialEq for ForwardPassMetrics
Auto Trait Implementations§
impl Freeze for ForwardPassMetrics
impl RefUnwindSafe for ForwardPassMetrics
impl Send for ForwardPassMetrics
impl Sync for ForwardPassMetrics
impl Unpin for ForwardPassMetrics
impl UnsafeUnpin for ForwardPassMetrics
impl UnwindSafe for ForwardPassMetrics
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