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

Add support for Megatron GPT Untied Embd TP PP Change #6388

Merged
merged 4 commits into from
Apr 11, 2023

Conversation

titu1994
Copy link
Collaborator

@titu1994 titu1994 commented Apr 6, 2023

What does this PR do ?

Adds support for untied embeddings for Megatron GPT for TP PP change

Collection: [NLP]

Changelog

  • Generalize indexing for tied vs untied gpt embeddings

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 6, 2023
@yidong72 yidong72 merged commit ecc116c into NVIDIA:main Apr 11, 2023
@titu1994 titu1994 deleted the gpt_untied_tppp branch April 11, 2023 00:53
hsiehjackson pushed a commit that referenced this pull request Apr 12, 2023
* Add support for Megatron GPT Untied Embd TP PP Change

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

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

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

* Add support for Megatron GPT Untied Embd TP PP Change

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

* Update support for model_file to be None when passing model_extracted_dir

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>
hsiehjackson pushed a commit to hsiehjackson/NeMo that referenced this pull request Jun 2, 2023
* Add support for Megatron GPT Untied Embd TP PP Change

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

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

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

* Add support for Megatron GPT Untied Embd TP PP Change

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

* Update support for model_file to be None when passing model_extracted_dir

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