Skip to content

throw MegatronOptimizerModule warning only with mcore models#12085

Merged
akoumpa merged 2 commits intomainfrom
akoumparouli/fix_peft_warning_for_automodel
Feb 6, 2025
Merged

throw MegatronOptimizerModule warning only with mcore models#12085
akoumpa merged 2 commits intomainfrom
akoumparouli/fix_peft_warning_for_automodel

Conversation

@akoumpa
Copy link
Collaborator

@akoumpa akoumpa commented Feb 6, 2025

Important

The Update branch button must only be pressed in very rare occassions.
An outdated branch is never blocking the merge of a PR.
Please reach out to the automation team before pressing that button.

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)

akoumpa and others added 2 commits February 6, 2025 11:14
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
Signed-off-by: akoumpa <akoumpa@users.noreply.github.com>
@akoumpa akoumpa added Run CICD and removed Run CICD labels Feb 6, 2025
@akoumpa akoumpa marked this pull request as ready for review February 6, 2025 21:46
@BoxiangW BoxiangW self-requested a review February 6, 2025 21:50
Copy link
Collaborator

@BoxiangW BoxiangW 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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

[🤖]: Hi @akoumpa 👋,

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

@akoumpa akoumpa merged commit 3789738 into main Feb 6, 2025
235 of 610 checks passed
@akoumpa akoumpa deleted the akoumparouli/fix_peft_warning_for_automodel branch February 6, 2025 22:01
@codecov
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 30.42%. Comparing base (fdfeafe) to head (1fabae2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12085   +/-   ##
=======================================
  Coverage   30.42%   30.42%           
=======================================
  Files        1400     1400           
  Lines      177452   177453    +1     
  Branches    27196    27197    +1     
=======================================
+ Hits        53990    53994    +4     
+ Misses     119345   119341    -4     
- Partials     4117     4118    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

BoxiangW pushed a commit that referenced this pull request Feb 7, 2025
* throw MegatronOptimizerModule warning only with mcore models

Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>

* Apply isort and black reformatting

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

---------

Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
Signed-off-by: akoumpa <akoumpa@users.noreply.github.com>
Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
youngeunkwon0405 pushed a commit to youngeunkwon0405/NeMo that referenced this pull request Feb 10, 2025
…NeMo#12085)

* throw MegatronOptimizerModule warning only with mcore models

Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>

* Apply isort and black reformatting

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

---------

Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
Signed-off-by: akoumpa <akoumpa@users.noreply.github.com>
Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
Signed-off-by: Youngeun Kwon <youngeunk@nvidia.com>
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.

2 participants