Expand description
2026-09-30: The model side of a hardware plan: a circuit at its checkpoint’s formats, the
serving policy its rules read, and the kernel target (<model>/<quant>) whose sources a
class compiles for it. CircuitSource is the one seam between the hardware axis and how
a circuit is instantiated (today kernels/circuits/INSTANCES.toml; the checkpoint
instantiation plugs in behind the same trait).
Owner: metrale-circuit (hardware). Invariants:
- Settings a class’s
HARDWARE.toml [defaults]decides are re-read from the device’s class (policy_on_class), except on the class a recipe was written for (ModelUnderPlan::settings_class), where the recipe’s value stands: it may pin one away from the class default. recipeprecision is the instance’s own (the golden plans’ formats);declaredis the checkpoint’s declared formats. Neither is chosen silently: the report prints which.
Structs§
- Instances
Source - 2026-09-30: The source over
kernels/circuits/INSTANCES.toml. - Model
Spec - 2026-09-30: What names the model.
- Model
Under Plan - 2026-09-30: A model ready to plan.
Enums§
- Precision
Choice - 2026-09-30: Which formats a plan serves.
Constants§
- CLASS_
DEFAULT_ SETTINGS - 2026-09-30: Policy settings a class’s
HARDWARE.toml [defaults]decides: setting to the defaults key (booleans map toon/off). INSTANCES.toml cites these rows for the values its recipes state.
Traits§
- Circuit
Source - 2026-09-30: Instantiates the model a spec names.
Functions§
- header_
on - 2026-09-30:
headerwith the target re-spelled forclass. - model_
of - 2026-09-30:
instloaded as a model to plan. - policy_
on_ class - 2026-09-30:
policywith the class-decided settings re-read fromclass, unlessclassis thesettings_classthe policy was stated for; the changed keys are returned for the report. A class that does not state one is an error either way.