#[non_exhaustive]pub enum ExpertPass {
Prefill,
Decode,
}Expand description
Execution-path classification for routed-expert telemetry and chunking.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Prefill
Prompt processing with more than one input token.
Decode
Autoregressive processing of one input token.
Implementations§
Source§impl ExpertPass
impl ExpertPass
Sourcepub const fn parameter_bank_access(self) -> ParameterBankAccess
pub const fn parameter_bank_access(self) -> ParameterBankAccess
Projects text execution semantics into a generic storage access class.
Trait Implementations§
Source§impl Clone for ExpertPass
impl Clone for ExpertPass
Source§fn clone(&self) -> ExpertPass
fn clone(&self) -> ExpertPass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpertPass
Source§impl Debug for ExpertPass
impl Debug for ExpertPass
impl Eq for ExpertPass
Source§impl Hash for ExpertPass
impl Hash for ExpertPass
Source§impl Ord for ExpertPass
impl Ord for ExpertPass
Source§fn cmp(&self, other: &ExpertPass) -> Ordering
fn cmp(&self, other: &ExpertPass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExpertPass
impl PartialEq for ExpertPass
Source§impl PartialOrd for ExpertPass
impl PartialOrd for ExpertPass
impl StructuralPartialEq for ExpertPass
Auto Trait Implementations§
impl Freeze for ExpertPass
impl RefUnwindSafe for ExpertPass
impl Send for ExpertPass
impl Sync for ExpertPass
impl Unpin for ExpertPass
impl UnsafeUnpin for ExpertPass
impl UnwindSafe for ExpertPass
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