pub enum MoeExpertStrategy {
Scalar,
Auto,
TensorCore,
}Expand description
Original segmented expert GEMM strategy, selected independently for forward and backward.
Variants§
Scalar
Original FP32-accumulating device scalar kernel, not host computation.
Auto
Original capability-only choice; failed compilation/launch never selects recovery fallback.
TensorCore
Require original supported half/BF16 cooperative matrix kernels.
Trait Implementations§
Source§impl Clone for MoeExpertStrategy
impl Clone for MoeExpertStrategy
impl Copy for MoeExpertStrategy
Source§impl Debug for MoeExpertStrategy
impl Debug for MoeExpertStrategy
impl Eq for MoeExpertStrategy
Source§impl PartialEq for MoeExpertStrategy
impl PartialEq for MoeExpertStrategy
impl StructuralPartialEq for MoeExpertStrategy
Auto Trait Implementations§
impl Freeze for MoeExpertStrategy
impl RefUnwindSafe for MoeExpertStrategy
impl Send for MoeExpertStrategy
impl Sync for MoeExpertStrategy
impl Unpin for MoeExpertStrategy
impl UnsafeUnpin for MoeExpertStrategy
impl UnwindSafe for MoeExpertStrategy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.