pub enum MtpLayout {
MtpPrefix,
ExtraLayer {
first: usize,
count: usize,
},
}Expand description
The MTP weight layout a checkpoint ships, if any.
Variants§
MtpPrefix
mtp.* — Qwen3.5 (mtp.fc.weight, mtp.layers.0.*) and the
DeepSeek mtp.0.* multi-module spelling.
ExtraLayer
Transformer layer(s) one past the skeleton: GLM-5.3’s
model.language_model.layers.45.* at num_hidden_layers = 45, and
the DeepSeek-V3 model.layers.61.* nextn block.
Trait Implementations§
impl Copy for MtpLayout
impl Eq for MtpLayout
impl StructuralPartialEq for MtpLayout
Auto Trait Implementations§
impl Freeze for MtpLayout
impl RefUnwindSafe for MtpLayout
impl Send for MtpLayout
impl Sync for MtpLayout
impl Unpin for MtpLayout
impl UnwindSafe for MtpLayout
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.