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

First draft of mcore bert model in NeMo #7814

Merged
merged 73 commits into from
Dec 15, 2023
Merged

First draft of mcore bert model in NeMo #7814

merged 73 commits into from
Dec 15, 2023

Conversation

shanmugamr1992
Copy link
Collaborator

What does this PR do ?

Adds the mcore bert model to the nemo codebase.

Collection: nlp collection

Usage

  • Set mcore_bert config to True

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)

@github-actions github-actions bot added the NLP label Oct 26, 2023
@ericharper
Copy link
Collaborator

/jenkins

@github-actions github-actions bot added the CI label Nov 7, 2023
Jenkinsfile Outdated Show resolved Hide resolved
@shanmugamr1992
Copy link
Collaborator Author

shanmugamr1992 commented Nov 9, 2023

/jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

1 similar comment
@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

@shanmugamr1992
Copy link
Collaborator Author

jenkins

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.

Jenkinsfile has a bunch of tests removed please revert.

@shanmugamr1992
Copy link
Collaborator Author

jenkins

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!

@shanmugamr1992 shanmugamr1992 merged commit 58a277a into main Dec 15, 2023
15 checks passed
@shanmugamr1992 shanmugamr1992 deleted the mcore_bert branch December 15, 2023 02:40
pzelasko pushed a commit to pzelasko/NeMo that referenced this pull request Jan 3, 2024
* First draft of mcore bert model in NeMo

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

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

* First draft of mcore bert model in Nemo

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

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

* Addressed eric's comments

* Added a ci test

* Removing unused imports

* Addressing eric's comments

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

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

* Addressing eric's comments

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

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

* Update Jenkinsfile

Signed-off-by: Shanmugam Ramasamy <[email protected]>

* Changing mcore version

* Fixing tests

* Checking mcore and bert installation

* Adding latest megatron lm commit

* Adding latest megatron lm commit

* Adding latest megatron lm commit

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

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

* Update Jenkinsfile

Signed-off-by: Shanmugam Ramasamy <[email protected]>

* Seeing failure for the import

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

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

* Fixing tests

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

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

* Adding bert model imports to mcore model part

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

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

* Dummy change

* Testing bert stuff alone

* Testing bert stuff alone

* Testing bert stuff alone

* Adding bert model imports to mcore model part

* Adding bert model imports to mcore model part

* Fixing bert code

* Fixing bert code

* Fixing bert code

* Fixing bert code

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

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

* fix bert

* fix bert

* fix bert

* fix bert

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

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

* fix bert

* fix bert

* fix bert

* fix bert

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

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

* Revert oriignal jenksins file

---------

Signed-off-by: Eric Harper <[email protected]>
Signed-off-by: Shanmugam Ramasamy <[email protected]>
Co-authored-by: shanmugamr <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Harper <[email protected]>
Co-authored-by: Shanmugam Ramasamy <[email protected]>
Signed-off-by: Piotr Żelasko <[email protected]>
ssh-meister pushed a commit to ssh-meister/NeMo that referenced this pull request Feb 15, 2024
* First draft of mcore bert model in NeMo

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

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

* First draft of mcore bert model in Nemo

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

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

* Addressed eric's comments

* Added a ci test

* Removing unused imports

* Addressing eric's comments

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

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

* Addressing eric's comments

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

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

* Update Jenkinsfile

Signed-off-by: Shanmugam Ramasamy <[email protected]>

* Changing mcore version

* Fixing tests

* Checking mcore and bert installation

* Adding latest megatron lm commit

* Adding latest megatron lm commit

* Adding latest megatron lm commit

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

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

* Update Jenkinsfile

Signed-off-by: Shanmugam Ramasamy <[email protected]>

* Seeing failure for the import

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

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

* Fixing tests

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

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

* Adding bert model imports to mcore model part

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

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

* Dummy change

* Testing bert stuff alone

* Testing bert stuff alone

* Testing bert stuff alone

* Adding bert model imports to mcore model part

* Adding bert model imports to mcore model part

* Fixing bert code

* Fixing bert code

* Fixing bert code

* Fixing bert code

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

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

* fix bert

* fix bert

* fix bert

* fix bert

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

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

* fix bert

* fix bert

* fix bert

* fix bert

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

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

* Revert oriignal jenksins file

---------

Signed-off-by: Eric Harper <[email protected]>
Signed-off-by: Shanmugam Ramasamy <[email protected]>
Co-authored-by: shanmugamr <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Harper <[email protected]>
Co-authored-by: Shanmugam Ramasamy <[email protected]>
Signed-off-by: Sasha Meister <[email protected]>
rohitrango pushed a commit to rohitrango/NeMo that referenced this pull request Jun 25, 2024
* First draft of mcore bert model in NeMo

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

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

* First draft of mcore bert model in Nemo

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

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

* Addressed eric's comments

* Added a ci test

* Removing unused imports

* Addressing eric's comments

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

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

* Addressing eric's comments

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

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

* Update Jenkinsfile

Signed-off-by: Shanmugam Ramasamy <[email protected]>

* Changing mcore version

* Fixing tests

* Checking mcore and bert installation

* Adding latest megatron lm commit

* Adding latest megatron lm commit

* Adding latest megatron lm commit

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

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

* Update Jenkinsfile

Signed-off-by: Shanmugam Ramasamy <[email protected]>

* Seeing failure for the import

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

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

* Fixing tests

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

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

* Adding bert model imports to mcore model part

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

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

* Dummy change

* Testing bert stuff alone

* Testing bert stuff alone

* Testing bert stuff alone

* Adding bert model imports to mcore model part

* Adding bert model imports to mcore model part

* Fixing bert code

* Fixing bert code

* Fixing bert code

* Fixing bert code

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

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

* fix bert

* fix bert

* fix bert

* fix bert

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

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

* fix bert

* fix bert

* fix bert

* fix bert

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

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

* Revert oriignal jenksins file

---------

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