nemo_gym.environment.validation
nemo_gym.environment.validation
Static manifest validation for manifest-backed workloads.
Module Contents
Classes
Functions
Data
API
Bases: ConfigError
A manifest-backed workload failed static manifest validation.
The servers a workload config wires around its dataset-bearing agent.
Bases: GlobalConfigDictParser
Reject partially valid server configs before the parser prints its almost-server banner.
Catalog lookup remains strict even with error_on_almost_servers: false: its caller falls back to raw names
rather than selecting from only the valid blocks. Other parser warnings and metadata fallback are unaffected.
The resources binding selected by all dataset routes, or unknown when they do not identify one instance.
Resolve which servers a workload config wires, without probing or materializing runtime services.
The agent rollout dispatch routes owner_instance_name’s datasets to (validation-time check).
Resolve manifest wiring, with datasets in manifest form, without probing or materializing runtime services.
The resources server and agent selected by a workload config’s runtime routes.
Wiring resolution still needs an unambiguous dataset owner and agent, but skips manifest-only dataset checks
such as requiring a benchmark preparation script. Returns None when the config does not resolve on its own:
for example, it needs runtime-only values or contains invalid server blocks, even with
error_on_almost_servers: false. Parser compatibility warnings can still go to stderr, and the caller’s
metadata fallback may emit its own diagnostics. A resolved config with ambiguous or differing resources routes
returns (None, agent) so the catalog does not guess from raw names.
Validate a manifest without probing services or runtime output paths.
Component CI may disable dataset checks to exercise committed verifier fixtures without downloading a workload’s full benchmark or training dataset.