nemo_gym.rollouts.provenance
nemo_gym.rollouts.provenance
Run metadata kept with a result: allowlisted identifiers, fingerprints of prompts and inputs, and the resolved config with secrets masked.
Module Contents
Classes
Functions
Data
API
Bases: BaseModel
Reproducibility metadata; unknown values stay null and credentials are never selected.
Bases: BaseModel
What one model backend reports serving at /models, or why that is unknown.
What one backend serves; any failure, from an unresolved ${...} URL to a malformed answer, is its own.
A mapping never searched for identifiers: whatever it holds can be a credential under any name.
Snapshot model, judge, template and sampling settings. The masked config itself is saved separately.
Ask each model server’s backends what they serve (GET <base_url>/models), once per run.
root is the checkpoint a vLLM backend loaded; hosted APIs report no root, which stays unknown. Nothing is
taken from the configured names, so a claimed model can be checked against the served one.
Write one provenance artifact next to a run’s materialized inputs before dispatch.
model_server_config returns the config that names the run’s model servers when config does not: a
--no-serve collection sees only its own config, and the model servers’ entries come from the head server.