nemo_gym.orchestration.executors.utils
nemo_gym.orchestration.executors.utils
Module Contents
Functions
Data
API
Flatten export settings into shell-quoted +key.path=value tokens that Hydra reads back unchanged.
Unlike flatten_run_args, which shell-quotes scalars and flat lists as they are, each value is encoded for
Hydra first, so a string keeps its type and its characters, and numbers, booleans and null keep theirs. The
shell quotes are gone by the time Hydra parses the argument, which is why shell quoting alone is not enough.
Flatten a nested run config dict into shell-quoted ++key.path=value Hydra override tokens.
The shell-quoted TARGET, --agent, --sandbox and output root of a task run, which go ahead of its
Hydra overrides.
output_root is where the run keeps the rows and run config it prepares. The driver works in a fresh checkout
on every allocation, so the default (relative to the working directory) would name the rows by a different
absolute path each time and a continuation would no longer match the run it resumes; the caller passes a folder
in the benchmark’s job directory instead.
Empty without a target, so a benchmark that sets none renders exactly as before.