nemo_gym.orchestration.api
nemo_gym.orchestration.api
Module Contents
Classes
Functions
Data
API
Bases: _StrictModel
Bases: BaseServiceConfig
Base for services that serve a model and can be wired as the policy model.
Bases: _HostEnvRefs, _StrictModel
Bases: _HostEnvRefs, _StrictModel
Bases: BaseComputeConfig
Bases: _StrictModel
An OpenTelemetry collector beside every benchmark job: scrapes each model service’s
Prometheus /metrics, receives OTLP from the job’s own processes on :4317/:4318, and ships
both to an OTLP/HTTP backend while keeping a copy under <job dir>/otel/. On by default, so
a run is observable unless it opts out. Remote export needs endpoint, service_name and
a token from the submitting shell; without the token, only the local copies are written.
Bases: _StrictModel
One gym eval reverify the driver runs over a benchmark’s rollouts after gym eval run succeeds.
The step re-judges every saved rollout with another resources server (a judge that labels rollouts, for
instance) and writes <bench dir>/artifacts/rollouts_<step name>.jsonl; the run’s own rollouts and rewards are
not changed. It runs before the exports, and its failure does not fail the job.
Bases: BaseComputeConfig
Bases: _StrictModel
services with each vllm_pd service expanded into its two tiers and its router.
Bases: VllmServiceConfig
The env var the batch script exports with the host of one node of this service’s pool.
One base URL per node, with each host left for the driver to resolve from its env var.
Bases: BaseModelServiceConfig
Prefill/decode disaggregated vLLM: two tiers behind a vllm-router.
Deployed as three services named <name>-prefill, <name>-decode and <name>
(the router); driver.policy_model names the router.
Bases: VllmServiceConfig
One tier of a vllm_pd service as deployed. Built by the service, never written by a user.
Bases: BaseModelServiceConfig
Bases: BaseModel
Remembers which env values came from host: so a dump can write the reference back.
Bases: BaseModel
A policy run value as a conflict message shows it, with no credential: an API key is never printed, and a URL keeps neither its password nor its query values.
value with the user-info password and every query value of each URL in it masked, also inside a list.
Whether the Ray Serve gateway manages this service’s instances/routing instead of vLLM’s own DP.
Resolve lit:/host:/runtime: prefixes on env values. Every value must use one
of these prefixes; a missing or misspelled prefix raises rather than being guessed at.
saved_config reads a value without a prefix as lit: (see SAVED_CONFIG).
lit:VALUE-> literal VALUE.host:VAR-> read from os.environ[VAR] on the machine runninggym eval submit; raises if VAR isn’t set there.runtime:VAR-> left unresolved; canonicalized toruntime:VARfor executors to pick up and reference from the job’s own environment at run time.