LlamaStateError enum

Inheritance
Available extensions

Values

badMagic → const LlamaStateError

File header didn't match — corrupted or wrong file type.

unsupportedVersion → const LlamaStateError

File was written by a different codec version we can't read.

truncated → const LlamaStateError

File ended before all sections were read.

badMetadata → const LlamaStateError

JSON metadata was malformed.

tokensMismatch → const LlamaStateError

Token list length / checksum didn't match metadata.

modelMismatch → const LlamaStateError

Loaded into a different model than the one that produced the file.

contextTooSmall → const LlamaStateError

Loaded into a context with smaller nCtx than the saved KV needs.

multimodalMismatch → const LlamaStateError

Saved file used a multimodal projector but the runtime has none, or vice-versa, or the projectors don't match.

llamaRejected → const LlamaStateError

llama_state_seq_set_data rejected the buffer.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<LlamaStateError>
A constant List of the values in this enum, in order of their declaration.