pub struct Overrides {Show 15 fields
pub root: Option<PathBuf>,
pub model: Option<String>,
pub model_dir: Option<PathBuf>,
pub port: Option<u16>,
pub socket: Option<PathBuf>,
pub prefix_cache_mib: Option<usize>,
pub experts: Option<u32>,
pub miss_experts: Option<u32>,
pub cut_weak: Option<f32>,
pub drafts: Option<u8>,
pub pool_gb: Option<PoolBudget>,
pub repack: bool,
pub max_tokens: Option<usize>,
pub max_ctx: Option<usize>,
pub no_eos: Option<bool>,
}Expand description
Only explicit CLI values are retained and reapplied on every reload. Unlike resolved engine options, absent fields never supply a default.
Fields§
§root: Option<PathBuf>§model: Option<String>Model alias, source URI or path; overrides TOML model selection
model_dir: Option<PathBuf>§port: Option<u16>HTTP port on localhost (default: 8080)
socket: Option<PathBuf>Control socket (default: private per-user temporary directory)
prefix_cache_mib: Option<usize>Prefix cache in MiB; 0 disables it
experts: Option<u32>Expert precision: 4, 3 or 2 bits (default: 4)
miss_experts: Option<u32>Mid-step fetch precision; follows –experts (mixed mode needs resident 4-bit)
cut_weak: Option<f32>Skip late weak experts; nonzero makes output non-reproducible
drafts: Option<u8>Adaptive MTP drafts, 0..3 (default: 2); 0 unloads the draft head
pool_gb: Option<PoolBudget>Wired expert pool in decimal GB, or max (default: adaptive)
repack: boolRebuild the selected low-bit store at startup
max_tokens: Option<usize>Default output token limit (default: 64)
max_ctx: Option<usize>Context capacity; ~22.5 KB/token comes out of the expert pool (default: 2048)
no_eos: Option<bool>Ignore EOS for benchmarking; =false overrides a configured true
Implementations§
Trait Implementations§
Source§impl Args for Overrides
impl Args for Overrides
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Overrides
impl FromArgMatches for Overrides
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for Overrides
impl RefUnwindSafe for Overrides
impl Send for Overrides
impl Sync for Overrides
impl Unpin for Overrides
impl UnsafeUnpin for Overrides
impl UnwindSafe for Overrides
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
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> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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