BackendRuntimeIdentity class abstract

Optional backend capability for naming the runtime that runs the loaded model.

LlamaEngine.runtime reports runtime, and the engine applies that runtime's rules: a backend that reports LlamaRuntime.liteRtLm is held to LiteRT-LM limits such as having no external speculative draft model. A backend without this interface reports no runtime.

Constructors

BackendRuntimeIdentity()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtime → LlamaRuntime?
The runtime that runs this backend's model, or null when the backend cannot tell, as for an auto backend with no model loaded.
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