pub enum KvType {
Auto,
F32,
F16,
}Expand description
K/V activation precision for the decoder’s flash-attention path.
Variants§
Auto
f16 for quantized weights, f32 for f32 weights. The best default.
F32
Full-precision K/V.
F16
Half-precision K/V.
Trait Implementations§
impl Copy for KvType
impl Eq for KvType
impl StructuralPartialEq for KvType
Auto Trait Implementations§
impl Freeze for KvType
impl RefUnwindSafe for KvType
impl Send for KvType
impl Sync for KvType
impl Unpin for KvType
impl UnsafeUnpin for KvType
impl UnwindSafe for KvType
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