nemo_gym.rollout_collection
nemo_gym.rollout_collection
Module Contents
Classes
Functions
API
Bases: SharedRolloutCollectionConfig
Spin up all necessary servers and perform a batch of rollout collection using each dataset inside the provided configs.
Examples:
Bases: BaseNeMoGymCLIConfig
Aggregate metrics across rollout shards produced by ng_collect_rollouts +disable_aggregation=true.
Reads every JSONL file matching input_glob, computes aggregate metrics by POSTing to each
agent server’s /aggregate_metrics endpoint over the global union of records, and writes a
single <output_jsonl_fpath stem>_aggregate_metrics.json next to the rollouts. By default
also concatenates all shards into output_jsonl_fpath.
Examples:
Bases: BaseModel
Bases: SharedRolloutCollectionConfig
Perform a batch of rollout collection.
Examples:
Bases: BaseModel
Call /aggregate_metrics on each agent server after rollouts complete.
Writes a single _aggregate_metrics.json with one entry per agent (same shape as the old _agent_metrics.json). Returns the file path.
We provide this function as a lower level interface for running rollout collection.
Bases: BaseNeMoGymCLIConfig
Expand a glob-or-comma-separated-globs string into a sorted, deduplicated list of paths.
Examples: