pub struct LaunchOverrides {
pub options: ServerConfigOptions,
pub cache_ram: Option<CacheRamSetting>,
}Expand description
Per-call launch overrides layered on a runtime’s standing configuration.
A runtime is normally built once with a standing template — the proxy’s cache settings, say — and then shared, so that only one llama-server runs at a time. This is how an individual caller contributes launch options on top of that template without needing a manager of its own.
Default means “no opinion”: every field falls through to the template.
Fields§
§options: ServerConfigOptionsExplicit options merged over the runtime’s template, Some fields
winning — see ServerConfigOptions::overlay.
cache_ram: Option<CacheRamSetting>How to size llama-server’s host-RAM prompt cache for this launch.
Separate from Self::options because it is resolved at spawn against
live system RAM and the model’s KV footprint, not carried as a flag.
None defers to the runtime’s own setting.
Trait Implementations§
Source§impl Clone for LaunchOverrides
impl Clone for LaunchOverrides
Source§fn clone(&self) -> LaunchOverrides
fn clone(&self) -> LaunchOverrides
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more