nemo_gym.eval.recovery.budgets
nemo_gym.eval.recovery.budgets
The run’s retry, attempt and walltime budgets as the recovery decision reads and extends them.
Module Contents
Classes
Functions
API
Bases: BaseModel
An operator’s explicit budget for a run whose chain accounting is unknown.
retries infra retries remain from now (--extend-retries, one by default) and max_walltime is the
walltime cap (--max-walltime, raised as a recovery raises it). It only fills counters that are unknown: a
readable counter is never lowered or reset.
Bases: BaseModel
The run’s stored infra-retry and walltime budget and what its job chain used, as the chain files record them.
max_infra_retries and max_walltime_s come from the benchmark’s saved resume_config;
infra_retries_used from .gym_infra_retries and walltime_used_s from .gym_accumulated_walltime
(see resume_script). The chain records admitted retries and allows another only while
infra_retries_used < max_infra_retries. None means the evidence is unavailable and stops the decision.
Why this run cannot take an attempt extension, or None when it can.
Why this run cannot run masked results without an artifact again, or None when it can.
The run’s saved per-rollout attempt cap, from the Store’s facts; None when they do not say.
The Store’s facts as they read once extend_attempts more attempts are recorded for every rollout.
Only a rollout the Store would run again under some cap (replayable) gets the higher cap, and it is pending
while it has attempts left. Any other rollout keeps its cap and state: a model failure, a judge failure that kept
its saved answer (its re-judgment budget is the saved cap), a saved result.
The run’s two retry budgets as the gate reports them, each its configured cap and its recorded extension.
infra is the chain’s infra-retry cap (--extend-retries); attempts is every rollout’s attempt cap
(--extend-attempts). A value that could not be read is None.