pub struct UpdateWeightsFromTensorReqInput {
pub rid: Option<StrOrList>,
pub http_worker_ipc: Option<String>,
pub serialized_named_tensors: Vec<Value>,
pub load_format: Option<String>,
pub flush_cache: bool,
pub weight_version: Option<String>,
}Expand description
Load weights from serialized tensors; the engines refuse it.
Fields§
§rid: Option<StrOrList>Request id; control operations rarely set it.
http_worker_ipc: Option<String>In-process HTTP worker address; unused across processes.
serialized_named_tensors: Vec<Value>One serialized tensor dict per world rank.
load_format: Option<String>Their format.
flush_cache: boolDrop the cached KV first.
weight_version: Option<String>The weight version afterwards.
Trait Implementations§
impl StructuralPartialEq for UpdateWeightsFromTensorReqInput
Auto Trait Implementations§
impl Freeze for UpdateWeightsFromTensorReqInput
impl RefUnwindSafe for UpdateWeightsFromTensorReqInput
impl Send for UpdateWeightsFromTensorReqInput
impl Sync for UpdateWeightsFromTensorReqInput
impl Unpin for UpdateWeightsFromTensorReqInput
impl UnsafeUnpin for UpdateWeightsFromTensorReqInput
impl UnwindSafe for UpdateWeightsFromTensorReqInput
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