pub struct LoraLandTarget {
pub tensor_name: String,
pub kind: LoraAbKind,
pub dst: u64,
pub out_dim: usize,
pub in_dim: usize,
pub rank: usize,
pub max_rank: usize,
}Expand description
One landing instruction: the adapter tensor tensor_name (a manifest key),
which half it is, the device destination address (a pool-slot sub-region
base, already pool + slot*slot_bytes + a_off|b_off), and the geometry the
convert/repack needs. rank is the adapter’s real r; max_rank the pool’s
padded rank.
Fields§
§tensor_name: String§kind: LoraAbKind§dst: u64Destination device address (DevicePtr.0) of the slot sub-region.
out_dim: usizeOutput dim (B rows). Unused for A.
in_dim: usizeInput dim (A cols). Unused for B.
rank: usizeAdapter real rank r (A rows / B cols).
max_rank: usizePool padded rank (B destination row stride).
Trait Implementations§
Source§impl Clone for LoraLandTarget
impl Clone for LoraLandTarget
Source§fn clone(&self) -> LoraLandTarget
fn clone(&self) -> LoraLandTarget
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 LoraLandTarget
impl Debug for LoraLandTarget
Source§impl PartialEq for LoraLandTarget
impl PartialEq for LoraLandTarget
impl Eq for LoraLandTarget
impl StructuralPartialEq for LoraLandTarget
Auto Trait Implementations§
impl Freeze for LoraLandTarget
impl RefUnwindSafe for LoraLandTarget
impl Send for LoraLandTarget
impl Sync for LoraLandTarget
impl Unpin for LoraLandTarget
impl UnwindSafe for LoraLandTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.