Skip to content
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

[NeMo Megatron] Cleanup configs to infer the models TP PP config automatically #6368

Merged
merged 7 commits into from
Apr 6, 2023

Conversation

titu1994
Copy link
Collaborator

@titu1994 titu1994 commented Apr 4, 2023

What does this PR do ?

Collection: [NLP]

Changelog

  • Update configs to set tp pp and pp rank all to -1
  • Check and update -1 to the model config results

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

@github-actions github-actions bot added the NLP label Apr 4, 2023
ericharper
ericharper previously approved these changes Apr 5, 2023
Copy link
Collaborator

@ericharper ericharper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@titu1994 titu1994 merged commit 3f8eec4 into NVIDIA:main Apr 6, 2023
@titu1994 titu1994 deleted the cleanup_scripts branch April 6, 2023 23:46
hsiehjackson pushed a commit to hsiehjackson/NeMo that referenced this pull request Jun 2, 2023
…matically (NVIDIA#6368)

* Try to make tp pp input size not required

Signed-off-by: smajumdar <[email protected]>

* Update configs for rest of models

Signed-off-by: smajumdar <[email protected]>

* Update remaining configs and scripts

Signed-off-by: smajumdar <[email protected]>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Correct path for T5 Adapters / IA3

Signed-off-by: smajumdar <[email protected]>

* Do safe get for older configs

Signed-off-by: smajumdar <[email protected]>

* Fix bug with config arg name

Signed-off-by: smajumdar <[email protected]>

---------

Signed-off-by: smajumdar <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: hsiehjackson <[email protected]>
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.

None yet

2 participants