Skip to navigation

nemo_gym.artifacts.resolved_config

View as Markdown

Module Contents

Functions

NameDescription
write_resolved_configSave the run’s config beside its rollouts file as <stem>_resolved_config.yaml.

API

nemo_gym.artifacts.resolved_config.write_resolved_config(
global_config_dict: collections.abc.Mapping[str, typing.Any],
output_fpath: pathlib.Path
) -> pathlib.Path

Save the run’s config beside its rollouts file as <stem>_resolved_config.yaml.

Secret-shaped values are masked and interpolations stay as ${...} strings, so the file is safe to share and records what was asked for rather than what the environment resolved to. It replaces any earlier attempt’s file atomically.