pub struct PoolSizes {
pub moe_cache_slots: u64,
pub kv_pages: u64,
pub prefill_overlap: bool,
}Expand description
A pool split.
Fields§
§moe_cache_slots: u64Slots in the GPU expert cache.
kv_pages: u64Pages in the KV pool.
prefill_overlap: boolWhether the prefill double buffer survived the split. It needs two layers’ worth of slots, and a tight budget can take that away.
Trait Implementations§
impl Copy for PoolSizes
impl Eq for PoolSizes
impl StructuralPartialEq for PoolSizes
Auto Trait Implementations§
impl Freeze for PoolSizes
impl RefUnwindSafe for PoolSizes
impl Send for PoolSizes
impl Sync for PoolSizes
impl Unpin for PoolSizes
impl UnsafeUnpin for PoolSizes
impl UnwindSafe for PoolSizes
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> 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