-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intial dse parameters for llama_8b #359
Merged
srivatsankrishnan
merged 27 commits into
NVIDIA:main
from
srivatsankrishnan:llama3_8b_dse
Feb 12, 2025
Merged
Intial dse parameters for llama_8b #359
srivatsankrishnan
merged 27 commits into
NVIDIA:main
from
srivatsankrishnan:llama3_8b_dse
Feb 12, 2025
Conversation
This file contains 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
amaslenn
reviewed
Feb 6, 2025
amaslenn
reviewed
Feb 7, 2025
amaslenn
reviewed
Feb 7, 2025
src/cloudai/schema/test_template/nemo_run/slurm_command_gen_strategy.py
Outdated
Show resolved
Hide resolved
amaslenn
reviewed
Feb 7, 2025
malay-nagda
reviewed
Feb 10, 2025
amaslenn
reviewed
Feb 11, 2025
src/cloudai/schema/test_template/nemo_run/slurm_command_gen_strategy.py
Outdated
Show resolved
Hide resolved
tests/slurm_command_gen_strategy/test_nemo_run_slurm_command_gen_strategy.py
Outdated
Show resolved
Hide resolved
tests/slurm_command_gen_strategy/test_nemo_run_slurm_command_gen_strategy.py
Outdated
Show resolved
Hide resolved
srinivas212
previously approved these changes
Feb 12, 2025
amaslenn
reviewed
Feb 12, 2025
src/cloudai/schema/test_template/nemo_run/slurm_command_gen_strategy.py
Outdated
Show resolved
Hide resolved
amaslenn
approved these changes
Feb 12, 2025
TaekyungHeo
approved these changes
Feb 12, 2025
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.
Summary
Updated config plus relevant cloudAI changes for configs discussed in todays meeting with Malay. First of the many PRs to get the base NemoRun support in CLoudAI.
Update: DP size is autocomputed and set in Nemo. No need to expose or sweep based on the discussion with Malay.
Update: How to handle the CloudAI num_nodes and Nemo Run
trainer.num_nodes
.Context: CloudAI controls the generation of the sbatch and by extension also the node allocation from Slurm. However, the
srun
uses the Nemo-Run CLI which internally has its own slurm executor. The prior approach in NemoRun cloudAI support was mixing these concepts by not exposing this flag in the first place and in command generation overwriting this flag based on test scenario.Based on design meeting discussion on 2/10, we agreed that
trainer.num_nodes
exceeds the num_nodes in test scenario. This will basically means the job asks for more nodes than what was allocation and in fail. We address this by catching this case, and log a warning message. Then will fix thetrainer.num_nodes
to the same as num_nodes defined in the test scenario.Based on design meeting discussion on 2/12, we agreed that to exit in the case where the
trainer.num_nodes
exceeds thetest_scenario
node count. The error message will be logged insteaed of raisingValueError
there by not using try-catch (reason: readability of the code).Example
Things ToDo (Not going to be part of this PR)
Test Plan
More testing on system
Additional Notes
Include any other notes or comments about the pull request here. This can include challenges faced, future considerations, or context that reviewers might find helpful.