Skip to content

[NVBug 6649458] Document GDPval Apptainer prerequisite; don't exit 0 with no metrics #4501

Closed

Description

@qiaochuz-nv

Queue rank 13/48 · Difficulty 2/5 · Status on main: not_fixed

NVBug: https://nvbugspro.nvidia.com/bug/6649458 · priority: P0-Must have · ARB: Alex Gronskiy
GitHub: none found (related, not a fix: PR #3685 — stirrup sandbox alignment)

Summary

A default gym eval run --benchmark gdpval on main finishes "successfully" but writes no *_aggregate_metrics.json. Every task fails because GDPval hard-requires the Apptainer sandbox and gdpval_container_path is unset. Failures go to the sidecar, aggregation sees zero scored rows and writes nothing, and the run exits 0 — a silent no-metrics success. Observed on main ~2026-08-20, H100x8.

Reproduction (commands reconstructed; record only says "See Benchmarks")

gym eval prepare --benchmark gdpval, then gym eval run --model-type vllm_model --benchmark gdpval --split benchmark. Without GDPVAL_CONTAINER_PATH set every rollout raises; output ends Aggregate metrics: None, no artifact, exit 0.

Root cause

stirrup_agent/tasks/gdpval.py:168-174 (and app.py:585-590) raise RuntimeError: GDPval requires the Apptainer sandbox... when the path is empty. It defaults to null (configs/stirrup_agent.yaml:29; benchmarks/gdpval/config.yaml -> ${oc.env:GDPVAL_CONTAINER_PATH,null}). The benchmark README recipes and benchmarks doc never mention building the .sif or setting the env var. Those failures hit the sidecar, so _call_aggregate_metrics returns on if not results: return None (rollout_collection.py:3214) and writes no file; require_complete defaults False (:982).

Status on main (not_fixed)

Sandbox-required RuntimeError still intentional at tasks/gdpval.py:170. benchmarks/gdpval/README.md still has no sif/apptainer/GDPVAL_CONTAINER_PATH; gdpval absent from benchmarks.mdx. PR #3685 (merged 2026-10-01) updated the stirrup README + added build-gdpval-sif.sh but not the benchmark README or the exit-0 UX. Note: PR #3716 already enables require_complete by default for gym eval submit, so submit-side false-success is fixed; standalone gym eval run (the repro) still exits 0.

Proposed fix

  • Docs (primary): add a "Prerequisite — build the Apptainer sandbox" block before the run recipes in benchmarks/gdpval/README.md, cross-linked from the manifest.
  • UX guard (optional): preflight-fail in stirrup_agent/app.py when gdpval runs with no container path, or surface a clear error when a run scores zero rollouts and emits no aggregate-metrics artifact.

Validation

No gdpval testcase exists (testcases/environments/, 97 scripts). Add one modeled on evalplus.py: no-container run fails fast with the documented message; a run with a built .sif writes a non-empty *_aggregate_metrics.json.

Triage

Difficulty 2/5 — one doc edit plus a small localized preflight guard, unit-testable; E2E repro needs the sandbox. Needs GPU: no for fix/unit tests, yes for full E2E.

Reviewer notes

Verifier confirmed all paths exist and status not_fixed on main (HEAD 75bb53e); difficulty held at 2. Corrections applied: noted PR #3716 already fixes submit-side false-success, leaving standalone gym eval run exit-0 as the remaining gap; flagged the reproduction commands as reconstructed since the record only says "See Benchmarks".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions