Repository navigation
feat(eval): add RunArtifacts to derive a run's files from its rollouts path - #4909
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
/ok to test f1014a2 |
f1014a2 to
5156a4f
Compare
|
/ok to test 5156a4f |
|
/review |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP — LGTM — no reliability concerns.
Reviewed all three changed files and checked the existing artifact writers and exporter marker conventions. RunArtifacts preserves those naming contracts without requiring files to exist. The new tests cover derived siblings, string-to-Path normalization, and absent sidecars.
Static review only; tests were not executed.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP — LGTM — no reliability concerns within this follow-up scope.
Inspected all three changed files, including RunArtifacts and its tests. The latest bot review reported no findings and reviewed this identical head, so there are no unresolved findings or subsequent changes to assess. No fresh whole-PR discovery was performed.
Static inspection only; tests were not executed.
Note: formal approval is not available for this request, so this review is posted as a comment only.
Review generated by codex. This was a findings-only review. Request a full review with /review reset=true.
5156a4f to
0a21f7b
Compare
f63790b to
0de96a3
Compare
0de96a3 to
7babf2b
Compare
7babf2b to
dbd7a92
Compare
|
/review |
…s path One place that names every sidecar of a run (failures, materialized inputs, aggregate metrics, saved config, per-exporter run id marker) so exporters do not each rebuild paths. Signed-off-by: Tomasz Grzegorzek <[email protected]>
dbd7a92 to
53c8b5a
Compare
|
/ok to test 53c8b5a |
iguehring-nvidia
left a comment
There was a problem hiding this comment.
Approving on Marta's stead.
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/40681009416 |
Summary
RunArtifacts(rollouts_jsonl_fpath)(nemo_gym/run_artifacts.py) derives every file of a run from the rollouts path: failures, materialized inputs, aggregate metrics, saved config and a per-exporter run id marker (exporter_run_id_path_for:rollouts.jsonl,mlflow->rollouts_mlflow_run_id).No behavior change; nothing uses it yet. Part of #2977 (export-aware evaluation runs).
PR plan
Separate PRs; steps 1-8 are stacked (stack #4910). Goal: make
gym eval exportpluggable so a finished run can go to tracking systems without live exporters, andgym eval submitcan export after each benchmark.gym eval run(feat(eval): save the masked config beside rollouts from gym eval run #4908)RunArtifactsand path derivation helpersExporterbase class and registry, starting withatif, plus the positional exporter CLI argument (--formatdeprecated) (feat(eval): add the Exporter base class and registry, with atif as the first exporter #4911)mlflowandwandbexport: shared metrics flattening,BaseExporter.export()and the already-exported guard (feat(eval): export a finished run to MLflow or W&B with gym eval export #4914)gym eval submitintegration: anexportmap with job-level defaults and per-benchmark overrides, validation, install extras, and a job-script tail (Slurm only at first) (feat(orchestration): run exports after each benchmark of gym eval submit #4974)Validation
test_run_artifacts.py: 3 passed (marker path, derived siblings, no files needed).pre-commit: passed.Rollout evidence
N/A: no agent, verifier or model behavior is touched.