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

Adding NeMo 2.0 T5 finetuning (on Squad dataset) #10716

Merged
merged 39 commits into from
Oct 10, 2024
Merged

Conversation

huvunvidia
Copy link
Collaborator

What does this PR do ?

Add a one line overview of what this PR aims to accomplish.

Collection: [Note which collection this PR will affect]

Changelog

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

Usage

  • You can potentially add a usage example below
# Add a code snippet demonstrating how to use this 

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)

@github-actions github-actions bot added NLP and removed NLP labels Oct 9, 2024
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
@github-actions github-actions bot removed the NLP label Oct 9, 2024
@ko3n1g ko3n1g added Run CICD and removed Run CICD labels Oct 9, 2024
Copy link
Contributor

github-actions bot commented Oct 9, 2024

[🤖]: Hi @huvunvidia 👋,

We wanted to let you know that a CICD pipeline for this PR just finished successfully

So it might be time to merge this PR or get some approvals

I'm just a bot so I'll leave it you what to do next.

//cc @pablo-garay @ko3n1g

@JRD971000 JRD971000 self-requested a review October 10, 2024 14:06
@JRD971000
Copy link
Collaborator

LGTM

Copy link
Collaborator

@ko3n1g ko3n1g left a comment

Choose a reason for hiding this comment

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

QQ

.github/workflows/cicd-main.yml Show resolved Hide resolved
@ko3n1g ko3n1g merged commit 58fc475 into main Oct 10, 2024
162 of 313 checks passed
@ko3n1g ko3n1g deleted the huvu/t5_nemo2.0_finetune branch October 10, 2024 14:16
monica-sekoyan pushed a commit that referenced this pull request Oct 14, 2024
* huvu/t5_nemo2.0 first commit from local

* runable training

* commit to save

* update nemo/collections/llm/t5/data/pre_training.py, adding cicd test

* updating codes

* reset nemo/collections/nlp/parts/megatron_trainer_builder.py

* reset megatron_lm_encoder_decoder_model.py, remove t5_release_test_config.sh

* update init files

* update Dockerfile.ci

* fix wandb for cicd test

* update training data path

* remove uninstall TE

* update .github/workflows/cicd-main.yml, disable fused/flashAttn

* adjusting val_check_interval for action ci-cd tests

* restore .github/workflows/cicd-main.yml

* update

* update nemologger args

* Apply isort and black reformatting

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

* a checkpoint for NeMo 2.0 T5 finetune

* moving NeMo 2.0 examples to tests

* reorganizing files, putting examples files into tests

* runs with matched NeMo 1.0 and NeMo 2.0 curve

* fix tiny/irrelevant changes

* update AutoResume resume_from_path

* add pre-trained checkpoint to Azure's TestData, add CI-CD test

* only run t5 finetune test

* fix cicd test

* restore cicd file

* restore cicd file

* restore cicd file

* Apply isort and black reformatting

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

---------

Signed-off-by: huvunvidia <huvunvidia@users.noreply.github.com>
Signed-off-by: Huy Vu <86480512+huvunvidia@users.noreply.github.com>
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos01.eos.clusters.nvidia.com>
Co-authored-by: huvunvidia <huvunvidia@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos02.eos.clusters.nvidia.com>
Co-authored-by: artbataev <artbataev@users.noreply.github.com>
yashaswikarnati pushed a commit that referenced this pull request Oct 20, 2024
* huvu/t5_nemo2.0 first commit from local

* runable training

* commit to save

* update nemo/collections/llm/t5/data/pre_training.py, adding cicd test

* updating codes

* reset nemo/collections/nlp/parts/megatron_trainer_builder.py

* reset megatron_lm_encoder_decoder_model.py, remove t5_release_test_config.sh

* update init files

* update Dockerfile.ci

* fix wandb for cicd test

* update training data path

* remove uninstall TE

* update .github/workflows/cicd-main.yml, disable fused/flashAttn

* adjusting val_check_interval for action ci-cd tests

* restore .github/workflows/cicd-main.yml

* update

* update nemologger args

* Apply isort and black reformatting

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

* a checkpoint for NeMo 2.0 T5 finetune

* moving NeMo 2.0 examples to tests

* reorganizing files, putting examples files into tests

* runs with matched NeMo 1.0 and NeMo 2.0 curve

* fix tiny/irrelevant changes

* update AutoResume resume_from_path

* add pre-trained checkpoint to Azure's TestData, add CI-CD test

* only run t5 finetune test

* fix cicd test

* restore cicd file

* restore cicd file

* restore cicd file

* Apply isort and black reformatting

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

---------

Signed-off-by: huvunvidia <huvunvidia@users.noreply.github.com>
Signed-off-by: Huy Vu <86480512+huvunvidia@users.noreply.github.com>
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos01.eos.clusters.nvidia.com>
Co-authored-by: huvunvidia <huvunvidia@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos02.eos.clusters.nvidia.com>
Co-authored-by: artbataev <artbataev@users.noreply.github.com>
artbataev added a commit to artbataev/NeMo that referenced this pull request Oct 22, 2024
* huvu/t5_nemo2.0 first commit from local

* runable training

* commit to save

* update nemo/collections/llm/t5/data/pre_training.py, adding cicd test

* updating codes

* reset nemo/collections/nlp/parts/megatron_trainer_builder.py

* reset megatron_lm_encoder_decoder_model.py, remove t5_release_test_config.sh

* update init files

* update Dockerfile.ci

* fix wandb for cicd test

* update training data path

* remove uninstall TE

* update .github/workflows/cicd-main.yml, disable fused/flashAttn

* adjusting val_check_interval for action ci-cd tests

* restore .github/workflows/cicd-main.yml

* update

* update nemologger args

* Apply isort and black reformatting

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

* a checkpoint for NeMo 2.0 T5 finetune

* moving NeMo 2.0 examples to tests

* reorganizing files, putting examples files into tests

* runs with matched NeMo 1.0 and NeMo 2.0 curve

* fix tiny/irrelevant changes

* update AutoResume resume_from_path

* add pre-trained checkpoint to Azure's TestData, add CI-CD test

* only run t5 finetune test

* fix cicd test

* restore cicd file

* restore cicd file

* restore cicd file

* Apply isort and black reformatting

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

---------

Signed-off-by: huvunvidia <huvunvidia@users.noreply.github.com>
Signed-off-by: Huy Vu <86480512+huvunvidia@users.noreply.github.com>
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos01.eos.clusters.nvidia.com>
Co-authored-by: huvunvidia <huvunvidia@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos02.eos.clusters.nvidia.com>
Co-authored-by: artbataev <artbataev@users.noreply.github.com>
akoumpa pushed a commit that referenced this pull request Oct 24, 2024
* huvu/t5_nemo2.0 first commit from local

* runable training

* commit to save

* update nemo/collections/llm/t5/data/pre_training.py, adding cicd test

* updating codes

* reset nemo/collections/nlp/parts/megatron_trainer_builder.py

* reset megatron_lm_encoder_decoder_model.py, remove t5_release_test_config.sh

* update init files

* update Dockerfile.ci

* fix wandb for cicd test

* update training data path

* remove uninstall TE

* update .github/workflows/cicd-main.yml, disable fused/flashAttn

* adjusting val_check_interval for action ci-cd tests

* restore .github/workflows/cicd-main.yml

* update

* update nemologger args

* Apply isort and black reformatting

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

* a checkpoint for NeMo 2.0 T5 finetune

* moving NeMo 2.0 examples to tests

* reorganizing files, putting examples files into tests

* runs with matched NeMo 1.0 and NeMo 2.0 curve

* fix tiny/irrelevant changes

* update AutoResume resume_from_path

* add pre-trained checkpoint to Azure's TestData, add CI-CD test

* only run t5 finetune test

* fix cicd test

* restore cicd file

* restore cicd file

* restore cicd file

* Apply isort and black reformatting

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

---------

Signed-off-by: huvunvidia <huvunvidia@users.noreply.github.com>
Signed-off-by: Huy Vu <86480512+huvunvidia@users.noreply.github.com>
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos01.eos.clusters.nvidia.com>
Co-authored-by: huvunvidia <huvunvidia@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos02.eos.clusters.nvidia.com>
Co-authored-by: artbataev <artbataev@users.noreply.github.com>
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
hainan-xv pushed a commit to hainan-xv/NeMo that referenced this pull request Nov 5, 2024
* huvu/t5_nemo2.0 first commit from local

* runable training

* commit to save

* update nemo/collections/llm/t5/data/pre_training.py, adding cicd test

* updating codes

* reset nemo/collections/nlp/parts/megatron_trainer_builder.py

* reset megatron_lm_encoder_decoder_model.py, remove t5_release_test_config.sh

* update init files

* update Dockerfile.ci

* fix wandb for cicd test

* update training data path

* remove uninstall TE

* update .github/workflows/cicd-main.yml, disable fused/flashAttn

* adjusting val_check_interval for action ci-cd tests

* restore .github/workflows/cicd-main.yml

* update

* update nemologger args

* Apply isort and black reformatting

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

* a checkpoint for NeMo 2.0 T5 finetune

* moving NeMo 2.0 examples to tests

* reorganizing files, putting examples files into tests

* runs with matched NeMo 1.0 and NeMo 2.0 curve

* fix tiny/irrelevant changes

* update AutoResume resume_from_path

* add pre-trained checkpoint to Azure's TestData, add CI-CD test

* only run t5 finetune test

* fix cicd test

* restore cicd file

* restore cicd file

* restore cicd file

* Apply isort and black reformatting

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

---------

Signed-off-by: huvunvidia <huvunvidia@users.noreply.github.com>
Signed-off-by: Huy Vu <86480512+huvunvidia@users.noreply.github.com>
Signed-off-by: artbataev <artbataev@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos01.eos.clusters.nvidia.com>
Co-authored-by: huvunvidia <huvunvidia@users.noreply.github.com>
Co-authored-by: Huy Vu2 <huvu@login-eos02.eos.clusters.nvidia.com>
Co-authored-by: artbataev <artbataev@users.noreply.github.com>
Signed-off-by: Hainan Xu <hainanx@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants