pub struct PagedExecutorConfig {
pub vocab_size: usize,
pub num_layers: usize,
pub num_heads: usize,
pub num_kv_heads: usize,
pub head_dim: usize,
pub max_sequence_length: usize,
}Expand description
Configuration for the paged attention executor.
Fields§
§vocab_size: usize§num_layers: usize§num_heads: usize§num_kv_heads: usize§head_dim: usize§max_sequence_length: usizeTrait Implementations§
Source§impl Clone for PagedExecutorConfig
impl Clone for PagedExecutorConfig
Source§fn clone(&self) -> PagedExecutorConfig
fn clone(&self) -> PagedExecutorConfig
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 PagedExecutorConfig
impl Debug for PagedExecutorConfig
Auto Trait Implementations§
impl Freeze for PagedExecutorConfig
impl RefUnwindSafe for PagedExecutorConfig
impl Send for PagedExecutorConfig
impl Sync for PagedExecutorConfig
impl Unpin for PagedExecutorConfig
impl UnsafeUnpin for PagedExecutorConfig
impl UnwindSafe for PagedExecutorConfig
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