Skip to content

Support additional Slurm parameters#14701

Merged
bdubauski merged 7 commits intoNVIDIA-NeMo:llmb-nemo-r2.4.0from
bdubauski:support-additional-params
Sep 10, 2025
Merged

Support additional Slurm parameters#14701
bdubauski merged 7 commits intoNVIDIA-NeMo:llmb-nemo-r2.4.0from
bdubauski:support-additional-params

Conversation

@bdubauski
Copy link
Copy Markdown
Collaborator

@bdubauski bdubauski commented Sep 9, 2025

Important

The Update branch button must only be pressed in very rare occassions.
An outdated branch is never blocking the merge of a PR.
Please reach out to the automation team before pressing that button.

What does this PR do ?

Primary goal is to allow submission of LLM recipe jobs on specific slurm nodes

Collection: scripts/performance/llm

Changelog

  • Add specific line by line info of high level changes in this PR.

Usage

# Multiple parameters
--additional_slurm_params "nodelist=node001,node002;constraint=gpu;exclusive"

# Constraint-based selection  
--additional_slurm_params "constraint=gpu&memory;mem=64GB"

# Exclude specific nodes
--additional_slurm_params "exclude=node003,node004"

GitHub Actions CI

The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.

The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

If you haven't finished some of the above items you can still open "Draft" PR.

Who can review?

Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.

Additional Information

  • Related to # (issue)

@bdubauski bdubauski changed the base branch from main to llmb-nemo-r2.4.0 September 9, 2025 20:47
Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>
@bdubauski bdubauski requested review from nv-mollys and removed request for chtruong814, ko3n1g, pablo-garay and thomasdhc September 9, 2025 21:33
@bdubauski bdubauski merged commit 763ffa8 into NVIDIA-NeMo:llmb-nemo-r2.4.0 Sep 10, 2025
22 of 29 checks passed
bdubauski added a commit to bdubauski/llmb-nemo that referenced this pull request Sep 16, 2025
* support additional slurm params and test with nemotron4

* fixed parsing of slurm params

* fix incorrect parsing due to fallback

* add support for all performance scripts

* Apply isort and black reformatting

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>

* remove unused import

---------

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>
Co-authored-by: Barys Dubauski <bdubauski@nvdia.com>
Co-authored-by: bdubauski <bdubauski@users.noreply.github.com>
bdubauski added a commit to bdubauski/llmb-nemo that referenced this pull request Sep 16, 2025
* support additional slurm params and test with nemotron4

* fixed parsing of slurm params

* fix incorrect parsing due to fallback

* add support for all performance scripts

* Apply isort and black reformatting

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>

* remove unused import

---------

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>
Co-authored-by: Barys Dubauski <bdubauski@nvdia.com>
Co-authored-by: bdubauski <bdubauski@users.noreply.github.com>
bdubauski added a commit that referenced this pull request Sep 16, 2025
* Support additional Slurm parameters (#14701)

* support additional slurm params and test with nemotron4

* fixed parsing of slurm params

* fix incorrect parsing due to fallback

* add support for all performance scripts

* Apply isort and black reformatting

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>

* remove unused import

---------

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>
Co-authored-by: Barys Dubauski <bdubauski@nvdia.com>
Co-authored-by: bdubauski <bdubauski@users.noreply.github.com>

* restore custom_env_vars parameter passthrough

---------

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>
Co-authored-by: Barys Dubauski <bdubauski@nvdia.com>
Co-authored-by: bdubauski <bdubauski@users.noreply.github.com>
@bdubauski bdubauski added Run CICD and removed audio labels Sep 16, 2025
bdubauski added a commit to bdubauski/llmb-nemo that referenced this pull request Sep 18, 2025
* support additional slurm params and test with nemotron4

* fixed parsing of slurm params

* fix incorrect parsing due to fallback

* add support for all performance scripts

* Apply isort and black reformatting

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>

* remove unused import

---------

Signed-off-by: bdubauski <bdubauski@users.noreply.github.com>
Co-authored-by: Barys Dubauski <bdubauski@nvdia.com>
Co-authored-by: bdubauski <bdubauski@users.noreply.github.com>
Signed-off-by: Barys Dubauski <bdubauski@nvdia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants