Skip to navigation

nemo_gym.orchestration.job_commands

View as MarkdownOpen in Claude

gym job: look at, stop and read the logs of the runs gym eval submit queued.

list reads this machine’s job index and nothing else. status asks the scheduler for what is happening, info describes one submission and where its parts are, cancel stops a benchmark or a whole submission, and logs prints one of a benchmark’s logs. What they print is rendered by job_render.py.

Module Contents

Functions

NameDescription
_onlysubmission narrowed to its live jobs, with a state and counts that describe only those.
cancel_commandStop one benchmark, or with everything every live benchmark after the id is typed; the exit code.
info_command-
list_command-
logs_command-
status_command-

API

submission narrowed to its live jobs, with a state and counts that describe only those.

nemo_gym.orchestration.job_commands.cancel_command(
gym_job_id: str,
benchmark: str | None,
everything: bool,
confirm: str | None,
as_json: bool
) -> int

Stop one benchmark, or with everything every live benchmark after the id is typed; the exit code.

nemo_gym.orchestration.job_commands.info_command(
gym_job_id: str,
benchmark: str | None,
show_config: bool,
as_json: bool
) -> None
nemo_gym.orchestration.job_commands.list_command(
limit: int | None,
as_json: bool
) -> None
nemo_gym.orchestration.job_commands.logs_command(
gym_job_id: str,
benchmark: str,
source: str,
instance: str | None,
tail: int | None
) -> None
nemo_gym.orchestration.job_commands.status_command(
ids: list[str],
benchmarks: list[str] | None,
limit: int | None,
as_json: bool
) -> None