Skip to content

fix(orchestration): propagate allocation accounts and bound run directories - #6116

Open
bpritam14 wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
bpritam14:fix/explicit-slurm-step-account
Open

bpritam14 wants to merge 1 commit into
NVIDIA-NeMo:mainfrom
bpritam14:fix/explicit-slurm-step-account

Conversation

@bpritam14

Copy link
Copy Markdown
Contributor

Slurm sites that validate each job step against a user's default account can reject srun inside an allocation charged to another account. Pass the selected compute.account consistently to model services, Ray head/workers, telemetry, the driver and resume admission, matching the owning allocation's #SBATCH --account.

Also export the actual bound run directory as NEMO_GYM_BENCH_DIR for native and command benchmarks on both Slurm and Kubernetes. A host $PWD alias may not exist inside a container. This intentionally overrides a user-supplied value of that variable; policy connection variables remain specific to command benchmarks. These are global orchestration compatibility changes, not benchmark-specific behavior.

Extracted from the review of #5772 to provide a small shared dependency for #5772 and #6015. No edits were made to #6015. No separate issue is needed for this bounded bug fix.

Validation:

  • 374 tests passed across test_slurm_script.py, test_orchestration_otel.py and test_kubernetes_executor.py, including account propagation to Ray head/workers and native/command run-directory parity.
  • pre-commit run --all-files passed; private guardword catalog unavailable, so that hook reported its documented skip.
  • git diff --check passed; commit has DCO sign-off.

Model rollout: N/A for this extracted script-generation change. No new cluster allocation or scheduler policy change was made for this review update. An actual Slurm launch with this new commit has not been performed.

@copy-pr-bot

copy-pr-bot Bot commented Nov 13, 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.

@nemo-automation-bot nemo-automation-bot Bot added the community-request Issue reported or requested by someone from the community label Nov 13, 2026
@svcnvidia-nemo-ci svcnvidia-nemo-ci added the waiting-on-maintainers Waiting on maintainers to respond label Nov 15, 2026
@github-actions github-actions Bot added the sla:triage-overdue Review assignment is over the one-business-day SLA label Nov 16, 2026
@svcnvidia-nemo-ci svcnvidia-nemo-ci added bug Something isn't working area:orchestration Job submission, deployment, services, and lifecycle management labels Nov 16, 2026

This branch has not been deployed

No deployments
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 community-request Issue reported or requested by someone from the community sla:triage-overdue Review assignment is over the one-business-day SLA waiting-on-maintainers Waiting on maintainers to respond

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants