Repository navigation
feat(agentic_if): keep episodes in the job's node-local dir when it has one - #6218
Merged
wprazuch merged 1 commit intoNov 16, 2026
Merged
Conversation
…as one artifacts_dir now defaults to $GYM_NODE_LOCAL_DIR/agentic_if when the env var is set (a submitted benchmark with node_local), and to <results_dir>/agentic_if otherwise, as before. agentic_if_artifacts_dir still wins. The episodes then leave shared storage; each Slurm job archives them into the job dir and later jobs, including the recovery re-grading job, restore the newest archive. The benchmark README says how to re-verify such a run outside the job. Signed-off-by: Wojciech Prazuch <[email protected]>
svcnvidia-nemo-ci
left a comment
Contributor
There was a problem hiding this comment.
SHIP
LGTM. No concerns found.
I inspected all four changed files and traced configuration precedence, saved-episode lookup, and Slurm archive/restore through continuation and recovery jobs. The documented extraction path matches the stable container path used by submitted runs.
Static review only. I did not execute tests.
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.
wprazuch
merged commit Nov 16, 2026
5f70a2f
into
wprazuch/segment-node-local-archive
63 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Stacked on #6217 (node-local driver directory). It targets that branch, so the diff here is only the agentic_if change; it retargets to
mainonce #6217 merges.Each agentic_if episode saves several files, so a full run writes thousands into the run's results dir. The agentic_if resources server's
artifacts_dirnow defaults to$GYM_NODE_LOCAL_DIR/agentic_ifwhen that variable is set, and to<results_dir>/agentic_ifotherwise, as before.agentic_if_artifacts_dirstill wins.A benchmark submitted with
node_localkeeps the episodes on the driver's node. Each Slurm job archives them into the job dir, and later jobs, including the re-grading jobgym eval resubmit --recoverqueues, restore them. The benchmark README shows how to re-verify such a run outside a job. A job that ends without archiving (a failed node, for instance) loses its episodes; their rows stay saved but can no longer be re-graded.Validation
resources_servers/agentic_if/tests/test_config.py: the default with and withoutGYM_NODE_LOCAL_DIR, and the explicit override.tests/unit_tests/orchestration/test_node_local.py: 48 passed. The agentic_if suites pass.pre-commit run --files <changed files>passes.Rollouts
N/A: only where the episode evidence is stored changes; grading is unchanged.
Compatibility and benchmark impact
None without
node_local:GYM_NODE_LOCAL_DIRis set only by it.Checklist
git commit -s).