Skip to main content

TriageClass

Enum TriageClass 

Source
pub enum TriageClass {
    FixtureAway,
    OneMatchArm,
    NewCode,
    Unknown,
}
Expand description

How much work admitting one UNAUDITED architecture to the generic path would actually be.

Every architecture on the generic path that is not in AUDITED_GENERIC_GQA refuses with LoadError::UnauditedArchitecture, and that message used to say the same thing for all 47 of them. It hid a real difference: bailingmoe2 needs a test fixture and nothing else, deepseek needs one name added to one list, and olmo2 needs a decoder that can skip the two pre-norms it does not have. A user reading “nobody has checked this” cannot tell a one-line fix from a new attention implementation.

A verdict here is a reading of BOTH trees, never a guess. Every non-TriageClass::Unknown verdict names the src/models/*.cpp line that decides it and the ferrox file that would change. Unknown is a legitimate answer and says what would settle it. The precedent this rule exists for: four architectures in this very file once refused while naming a blocker that was not the real one – glm4moe was told it lacked an MLA hyper-parameter it must not have, and minimax-m2 was blamed on MTP weights no converter can emit.

Variants§

§

FixtureAway

Ferrox already implements everything this architecture needs. What is missing is EVIDENCE: a fixture, or a parity run against llama.cpp on a real checkpoint.

§

OneMatchArm

One small, nameable piece is missing: an activation, a norm slot, a routing flag, an ordering. Nameable is the bar – if the blocker cannot be written as a sentence naming the thing, it is not this class.

§

NewCode

A different attention or residual structure: a norm the decoder unconditionally applies and this model does not have, a scaled residual, ALiBi, MLA, block-sparse, recurrent, hybrid.

§

Unknown

Not decidable from reading the two trees. The blocker says what would settle it.

Implementations§

Source§

impl TriageClass

Source

pub fn label(self) -> &'static str

Short slug used in the refusal message.

Source

pub fn headline(self) -> &'static str

One sentence saying what the class means, so the message stands alone without this doc comment.

Trait Implementations§

Source§

impl Clone for TriageClass

Source§

fn clone(&self) -> TriageClass

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for TriageClass

Source§

impl Debug for TriageClass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for TriageClass

Source§

impl PartialEq for TriageClass

Source§

fn eq(&self, other: &TriageClass) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for TriageClass

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.