Skip to content

fix(eval): preserve arguments in generated Slurm commands - #3990

Merged
zyzhou5 merged 1 commit into
mainfrom
flafrance/tb21-launcher-arguments-20261004
Oct 9, 2026
Merged

zyzhou5 merged 1 commit into
mainfrom
flafrance/tb21-launcher-arguments-20261004

Conversation

@lafrancef

@lafrancef lafrancef commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Hydra overrides containing inline dictionaries were expanded by Bash inside the generated Slurm evaluation command. A dataset override could become several arguments and fail configuration validation before evaluation began. Serialize each caller argument with Bash %q so both gym eval prepare and gym eval run receive it literally, including spaces, quotes, and newlines.

Update submit_batch.sh to pass its original argument array to the launcher, avoiding double escaping when used with the batch entrypoint from #3201. Keep the serialized GYM_BATCH_ARGS for its dependency check.

The generated commands preserve argument boundaries in preparation, evaluation, and the batch dependency check. Cluster smoke validation is pending. No separate issue is needed for this self-contained launcher repair.

@copy-pr-bot

copy-pr-bot Bot commented Oct 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@lafrancef lafrancef added area:orchestration Job submission, deployment, services, and lifecycle management bug Something isn't working labels Oct 4, 2026
@lafrancef

Copy link
Copy Markdown
Contributor Author

/ok to test 749ac8f

@lafrancef
lafrancef marked this pull request as ready for review October 5, 2026 21:21
@bxyu-nvidia

Copy link
Copy Markdown
Contributor

/ok to test 749ac8f

@copy-pr-bot

copy-pr-bot Bot commented Oct 5, 2026

Copy link
Copy Markdown

/ok to test 749ac8f

@bxyu-nvidia, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

bxyu-nvidia
bxyu-nvidia previously approved these changes Oct 5, 2026
@nemo-automation-bot
nemo-automation-bot Bot requested review from a team October 5, 2026 21:44
@lafrancef
lafrancef force-pushed the flafrance/tb21-launcher-arguments-20261004 branch from 749ac8f to b146d89 Compare October 5, 2026 21:55
@lafrancef
lafrancef requested a review from a team as a code owner October 5, 2026 21:55
@lafrancef
lafrancef changed the base branch from flafrance/tb21-harness-reliability-20261003 to main October 5, 2026 21:55
@lafrancef
lafrancef dismissed bxyu-nvidia’s stale review October 5, 2026 21:55

The base branch was changed.

@yaoyu-33 yaoyu-33 added complexity:low Localized change in one scope with a small, straightforward review surface needs-review PR is ready for code review and waiting on a reviewer labels Oct 5, 2026
@lafrancef
lafrancef force-pushed the flafrance/tb21-launcher-arguments-20261004 branch from b146d89 to 82b8dc5 Compare October 6, 2026 07:55
@lafrancef

Copy link
Copy Markdown
Contributor Author

/ok to test 82b8dc5

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

bxyu-nvidia
bxyu-nvidia previously approved these changes Oct 6, 2026
@bxyu-nvidia
bxyu-nvidia added this pull request to the merge queue Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37524261263

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 6, 2026
@lafrancef
lafrancef added this pull request to the merge queue Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37528359300

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37528748634

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 6, 2026
@lafrancef
lafrancef force-pushed the flafrance/tb21-launcher-arguments-20261004 branch from 82b8dc5 to e62b70f Compare October 6, 2026 22:04
@lafrancef

Copy link
Copy Markdown
Contributor Author

/ok to test e62b70f

@zyzhou5
zyzhou5 added this pull request to the merge queue Oct 9, 2026
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/37971806373

Merged via the queue into main with commit a3cf403 Oct 9, 2026
44 checks passed
@zyzhou5
zyzhou5 deleted the flafrance/tb21-launcher-arguments-20261004 branch October 9, 2026 18:28

This branch was previously deployed

1 inactive deployment
public — e62b70f0 Deployed Oct 7, 2026 by copy-pr-bot[bot] via release / finalize / notify #4539
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:orchestration Job submission, deployment, services, and lifecycle management bug Something isn't working complexity:low Localized change in one scope with a small, straightforward review surface needs-review PR is ready for code review and waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants