pub enum AutoSizeProfile {
Server,
Chat,
}Expand description
CLI usage profile: which presets the autosizer should consider.
Variants§
Server
ferrum serve — many concurrent requests. Admission width and
per-request logical context are resolved independently over the shared
physical KV block pool. Bench scripts also use this profile.
Chat
ferrum run — single interactive user, multi-turn chat. Trade
max_seqs for KV_CAPACITY so a long conversation doesn’t crash
after a few turns. With KV_CAPACITY=512 (server default), Qwen3
thinking-mode replies hit overflow at the 4th turn.
Trait Implementations§
Source§impl Clone for AutoSizeProfile
impl Clone for AutoSizeProfile
Source§fn clone(&self) -> AutoSizeProfile
fn clone(&self) -> AutoSizeProfile
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 AutoSizeProfile
Source§impl Debug for AutoSizeProfile
impl Debug for AutoSizeProfile
impl Eq for AutoSizeProfile
Source§impl PartialEq for AutoSizeProfile
impl PartialEq for AutoSizeProfile
impl StructuralPartialEq for AutoSizeProfile
Auto Trait Implementations§
impl Freeze for AutoSizeProfile
impl RefUnwindSafe for AutoSizeProfile
impl Send for AutoSizeProfile
impl Sync for AutoSizeProfile
impl Unpin for AutoSizeProfile
impl UnsafeUnpin for AutoSizeProfile
impl UnwindSafe for AutoSizeProfile
Blanket Implementations§
impl<T> Boilerplate for T
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<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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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