InferenceInstallation class

Result of inference model installation

Constructors

InferenceInstallation({required InferenceModelSpec spec, ModelRuntimeDefaults? runtime, List<String> notes = const []})

Properties

fileType → ModelFileType
File type (task, binary)
no setter
hashCode → int
The hash code for this object.
no setterinherited
hasLora → bool
Whether LoRA weights were installed
no setter
modelId → String
Model ID (filename without extension)
no setter
modelType → ModelType
Model type (gemmaIt, deepSeek, etc.)
no setter
notes → List<String>
Advisory notes surfaced by the Hugging Face resolver (platform caveats, known issues); empty for non-HF sources. Also written to the log at install time. Unmodifiable — the constructor wraps whatever the resolver handed over, so this never aliases a list a resolver still holds.
final
runtime → ModelRuntimeDefaults?
Overridable runtime defaults resolved from a Hugging Face manifest when installed via fromHuggingFace(repo) (no file); null for every other source. Apply the model-level fields with getActiveModel(defaults: installation.runtime), and forward the two session-level fields (thinkingDeclared, minOutputTokens) to createSession yourself.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spec → InferenceModelSpec
final

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