pub struct FlashAttentionData {
pub standard_attention_speed: f64,
pub flash_attention_speed: f64,
pub speedup: f64,
pub memory_savings_gb: f64,
pub standard_samples: Vec<f64>,
pub flash_samples: Vec<f64>,
}Fields§
§standard_attention_speed: f64§flash_attention_speed: f64§speedup: f64§memory_savings_gb: f64§standard_samples: Vec<f64>§flash_samples: Vec<f64>Trait Implementations§
Source§impl Clone for FlashAttentionData
impl Clone for FlashAttentionData
Source§fn clone(&self) -> FlashAttentionData
fn clone(&self) -> FlashAttentionData
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 moreAuto Trait Implementations§
impl Freeze for FlashAttentionData
impl RefUnwindSafe for FlashAttentionData
impl Send for FlashAttentionData
impl Sync for FlashAttentionData
impl Unpin for FlashAttentionData
impl UnsafeUnpin for FlashAttentionData
impl UnwindSafe for FlashAttentionData
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Converts
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>
Converts
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