pub struct Accounting {
pub total: usize,
pub by_role: BTreeMap<String, usize>,
pub unknown: Vec<String>,
pub mtp_layers: Vec<usize>,
}Expand description
Result of accounting a whole checkpoint’s tensor-name list.
Fields§
§total: usize§by_role: BTreeMap<String, usize>§unknown: Vec<String>Anything classify refused. MUST be empty.
mtp_layers: Vec<usize>Layer indices that carry MTP-only tensors.
Trait Implementations§
Source§impl Debug for Accounting
impl Debug for Accounting
Source§impl Default for Accounting
impl Default for Accounting
Source§fn default() -> Accounting
fn default() -> Accounting
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Accounting
impl RefUnwindSafe for Accounting
impl Send for Accounting
impl Sync for Accounting
impl Unpin for Accounting
impl UnwindSafe for Accounting
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