Skip to main content

Module model_target

Module model_target 

Source
Expand description

Model precision targets and mapping registry.

Represents a model’s operational envelope (architecture family, context window, backend capabilities, template family, target domain, and active precision profile).

Structs§

ModelPrecisionRegistry
Registry mapping model identifiers to precision targets and active profiles.
ModelPrecisionTarget
Operational envelope and precision profile target for a specific model.

Enums§

ModelFamily
Model architecture families.

Functions§

global_model_precision_registry
Process-global registry used by model activation and chat lowering. The registry holds cold-path configuration; it is never accessed in decode loops.
resolve_global_active_contract
Resolve a copy of the active contract from the two lifecycle registries. Mismatches fail closed by returning None, leaving the regular chat path unchanged until a coherent calibration is registered.