Skip to main content

Module models

Module models 

Source
Expand description

models.hyprstream.io/v1alpha1 — Model and Adapter.

A Model is git-ref intent: which repository, which ref, and which STEP stage the operator should observe. An Adapter is file-based adapter intent: a .safetensors file under adapters/ attached to a model (adapters are files, never branches — see the project’s adapter model).

Single-writer rule: spec is desired intent, status is observed git truth. The operator never writes weights; promotion/rollback happen in git via RegistryService.

Structs§

Adapter
A file-based LoRA adapter intent stored as adapters/NN_name.safetensors on a model. Adapters are files, not branches.
AdapterSpec
Desired state of an Adapter: a file-based adapter intent.
AdapterStatus
Observed truth for an Adapter. Written only by the operator.
Model
A hyprstream model as a git-ref intent (Stage → Train → Evaluate → Promote). spec is desired intent; status is observed git truth. The operator never writes weights.
ModelSpec
Desired state of a Model: a git-ref intent.
ModelStatus
Observed git/runtime truth for a Model. Written only by the operator.

Enums§

ModelStage
STEP-loop stage a model ref should be observed at.