pub struct AttentionProblemConfig {
pub seq_len: usize,
pub num_heads: usize,
pub head_dim: usize,
pub baseline_ms: f64,
pub baseline_vendor: String,
}Expand description
A single Attention problem size with its FlashAttention v2 baseline time.
Fields§
§seq_len: usize§num_heads: usize§head_dim: usize§baseline_ms: f64§baseline_vendor: StringImplementations§
Trait Implementations§
Source§impl Clone for AttentionProblemConfig
impl Clone for AttentionProblemConfig
Auto Trait Implementations§
impl Freeze for AttentionProblemConfig
impl RefUnwindSafe for AttentionProblemConfig
impl Send for AttentionProblemConfig
impl Sync for AttentionProblemConfig
impl Unpin for AttentionProblemConfig
impl UnsafeUnpin for AttentionProblemConfig
impl UnwindSafe for AttentionProblemConfig
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