Enum anira_budget_kind#

enum anira_budget_kind#

How a Hard contract’s per-inference budget is set.

Values:

enumerator ANIRA_BUDGET_MEASURED#

What the warm-up pass measures at prepare (default): the slowest plan’s figure, each plan’s the maximum of its last four inferences, without a margin. Needs a pass of at least one inference: ANIRA_WARMUP_NONE and FIXED 0 are ANIRA_ERROR_CONFIG at prepare.

enumerator ANIRA_BUDGET_EXPLICIT#

The explicit_ms of anira_contract_hard_set_budget; the v2 max_inference_time.

enumerator ANIRA_BUDGET_KIND_FORCE32#