#[non_exhaustive]pub struct CacheTierAttribution {
pub g1_reused_input_tokens: usize,
pub host_reused_input_tokens: usize,
}Expand description
First-admission provenance for prompt tokens reused across cache tiers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.g1_reused_input_tokens: usizeReused prompt tokens already resident in device KV before any H2D.
host_reused_input_tokens: usizeAdditional reused prompt tokens restored from the native host tier.
Trait Implementations§
Source§impl Clone for CacheTierAttribution
impl Clone for CacheTierAttribution
Source§fn clone(&self) -> CacheTierAttribution
fn clone(&self) -> CacheTierAttribution
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 moreimpl Copy for CacheTierAttribution
Source§impl Debug for CacheTierAttribution
impl Debug for CacheTierAttribution
impl Eq for CacheTierAttribution
Source§impl PartialEq for CacheTierAttribution
impl PartialEq for CacheTierAttribution
impl StructuralPartialEq for CacheTierAttribution
Auto Trait Implementations§
impl Freeze for CacheTierAttribution
impl RefUnwindSafe for CacheTierAttribution
impl Send for CacheTierAttribution
impl Sync for CacheTierAttribution
impl Unpin for CacheTierAttribution
impl UnsafeUnpin for CacheTierAttribution
impl UnwindSafe for CacheTierAttribution
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.