pub enum PressureKind {
VllmPreemption,
SglangRetraction,
}Expand description
Scheduler action taken to relieve KV pressure.
Variants§
VllmPreemption
vLLM evicted a running request and returned it to the waiting queue.
SglangRetraction
SGLang retracted a running decode request for later readmission.
Trait Implementations§
Source§impl Clone for PressureKind
impl Clone for PressureKind
Source§fn clone(&self) -> PressureKind
fn clone(&self) -> PressureKind
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 PressureKind
Source§impl Debug for PressureKind
impl Debug for PressureKind
Source§impl<'de> Deserialize<'de> for PressureKind
impl<'de> Deserialize<'de> for PressureKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PressureKind
Source§impl PartialEq for PressureKind
impl PartialEq for PressureKind
Source§impl Serialize for PressureKind
impl Serialize for PressureKind
impl StructuralPartialEq for PressureKind
Auto Trait Implementations§
impl Freeze for PressureKind
impl RefUnwindSafe for PressureKind
impl Send for PressureKind
impl Sync for PressureKind
impl Unpin for PressureKind
impl UnsafeUnpin for PressureKind
impl UnwindSafe for PressureKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.