pub struct Plan {
pub model: String,
pub context: Option<f64>,
pub backend: String,
pub kv_cache_type: Option<&'static str>,
pub unified_memory: bool,
pub kv_cache_known: bool,
pub paths: Vec<PathPlan>,
pub recommended: Option<&'static str>,
}Fields§
§model: String§context: Option<f64>§backend: String§kv_cache_type: Option<&'static str>§unified_memory: bool§kv_cache_known: boolFalse when the requested context’s KV cache cannot be sized from sourced geometry.
paths: Vec<PathPlan>§recommended: Option<&'static str>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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