pub enum Scheme {
Main,
Mtp,
}Expand description
Where a layer’s tensors live in the file.
The MTP modules are the same layer as any other — attention, a hyper-connection pair, a gated MoE over 256 experts — but the converter wrote them under DeepSeek’s internal names rather than the HF ones it used for the trunk. Two schemes, one loader: a second copy would drift.
Variants§
Trait Implementations§
impl Copy for Scheme
impl Eq for Scheme
impl StructuralPartialEq for Scheme
Auto Trait Implementations§
impl Freeze for Scheme
impl RefUnwindSafe for Scheme
impl Send for Scheme
impl Sync for Scheme
impl Unpin for Scheme
impl UnsafeUnpin for Scheme
impl UnwindSafe for Scheme
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