pub struct OverlayTensors {
pub embed_base: Option<String>,
pub embed_delta: Option<String>,
pub embed_full: Option<String>,
pub lmhead_base: Option<String>,
pub lmhead_delta: Option<String>,
pub lmhead_full: Option<String>,
pub lora_embedding_seen: bool,
}Expand description
Tensor names the loader has collected for one adapter, partitioned by
(module, role). Option<String> = the safetensors key, filled at most once.
Fields§
§embed_base: Option<String>§embed_delta: Option<String>§embed_full: Option<String>§lmhead_base: Option<String>§lmhead_delta: Option<String>§lmhead_full: Option<String>§lora_embedding_seen: boolAny classic lora_embedding_A/B tensor seen (Tier-2 — load-rejected).
Implementations§
Trait Implementations§
Source§impl Clone for OverlayTensors
impl Clone for OverlayTensors
Source§fn clone(&self) -> OverlayTensors
fn clone(&self) -> OverlayTensors
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverlayTensors
impl Debug for OverlayTensors
Source§impl Default for OverlayTensors
impl Default for OverlayTensors
Source§fn default() -> OverlayTensors
fn default() -> OverlayTensors
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OverlayTensors
impl RefUnwindSafe for OverlayTensors
impl Send for OverlayTensors
impl Sync for OverlayTensors
impl Unpin for OverlayTensors
impl UnwindSafe for OverlayTensors
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