pub struct BatchPagedDecodeDescriptor {
pub batch_size: i32,
pub num_qo_heads: i32,
pub sm_scale: f32,
pub paged_kv: PagedKvCacheDescriptor,
}Expand description
Descriptor for a batched paged-KV decode op.
Fields§
§batch_size: i32Number of requests in the batch (each contributes 1 query row).
num_qo_heads: i32Query / output attention heads.
sm_scale: f32Score scaling factor — typically 1.0 / sqrt(head_dim).
paged_kv: PagedKvCacheDescriptorPaged cache descriptor (shared between K and V — same shape/dtype).
Trait Implementations§
Source§impl Clone for BatchPagedDecodeDescriptor
impl Clone for BatchPagedDecodeDescriptor
Source§fn clone(&self) -> BatchPagedDecodeDescriptor
fn clone(&self) -> BatchPagedDecodeDescriptor
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 BatchPagedDecodeDescriptor
Auto Trait Implementations§
impl Freeze for BatchPagedDecodeDescriptor
impl RefUnwindSafe for BatchPagedDecodeDescriptor
impl Send for BatchPagedDecodeDescriptor
impl Sync for BatchPagedDecodeDescriptor
impl Unpin for BatchPagedDecodeDescriptor
impl UnsafeUnpin for BatchPagedDecodeDescriptor
impl UnwindSafe for BatchPagedDecodeDescriptor
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