Merged
Conversation
7f05199 to
3ea99d4
Compare
5a50005 to
0ce22da
Compare
77a1e61 to
0ce22da
Compare
86f9067 to
3a1a0bb
Compare
212522f to
bb08dbe
Compare
e19759e to
eb9e86a
Compare
678501a to
e8d045c
Compare
582bc4a to
227a693
Compare
Signed-off-by: akoumpa <akoumpa@users.noreply.github.com>
marcromeyn
approved these changes
Oct 30, 2024
Contributor
|
[🤖]: 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
added a commit
that referenced
this pull request
Oct 30, 2024
* only make optim config if model has optim and setup_optimizers is True Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * pass setup_optimizers=False in nemo_load Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix backwards compatibility in load_context Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add torch_dtype_from_mcore_config Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix hf model dtype & prune embedding size Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mistral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mixtral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: nemotron Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: qwen2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate chatglm Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove commented code Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix 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>
akoumpa
added a commit
that referenced
this pull request
Oct 30, 2024
* Add lazy init for export (#10613) * Add lazy init for export 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> * NeMo-UX: fix nemo-ux export path (#11081) * only make optim config if model has optim and setup_optimizers is True Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * pass setup_optimizers=False in nemo_load Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix backwards compatibility in load_context Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add torch_dtype_from_mcore_config Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix hf model dtype & prune embedding size Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mistral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mixtral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: nemotron Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: qwen2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate chatglm Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove commented code Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix 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: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
hainan-xv
pushed a commit
to hainan-xv/NeMo
that referenced
this pull request
Nov 5, 2024
* only make optim config if model has optim and setup_optimizers is True Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * pass setup_optimizers=False in nemo_load Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix backwards compatibility in load_context Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add torch_dtype_from_mcore_config Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix hf model dtype & prune embedding size Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mistral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mixtral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: nemotron Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: qwen2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate chatglm Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove commented code Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix 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: Hainan Xu <hainanx@nvidia.com>
lilyw97
pushed a commit
to lilyw97/NeMo
that referenced
this pull request
Nov 13, 2024
* only make optim config if model has optim and setup_optimizers is True Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * pass setup_optimizers=False in nemo_load Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix backwards compatibility in load_context Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add torch_dtype_from_mcore_config Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix hf model dtype & prune embedding size Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mistral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mixtral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: nemotron Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: qwen2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate chatglm Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove commented code Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix 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>
HuiyingLi
pushed a commit
to HuiyingLi/NeMo
that referenced
this pull request
Nov 15, 2024
* only make optim config if model has optim and setup_optimizers is True Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * pass setup_optimizers=False in nemo_load Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix backwards compatibility in load_context Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add torch_dtype_from_mcore_config Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix hf model dtype & prune embedding size Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mistral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mixtral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: nemotron Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: qwen2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate chatglm Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove commented code Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix 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>
XuesongYang
pushed a commit
to paarthneekhara/NeMo
that referenced
this pull request
Jan 18, 2025
* only make optim config if model has optim and setup_optimizers is True Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * pass setup_optimizers=False in nemo_load Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix backwards compatibility in load_context Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add torch_dtype_from_mcore_config Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix hf model dtype & prune embedding size Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mistral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: mixtral Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: nemotron Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: qwen2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate changes: startcoder2 Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * propagate chatglm Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove commented code Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rm rename Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do ?
Fixes #10939
In particular changes include:
Collection: [Note which collection this PR will affect]
Changelog
Usage
# Add a code snippet demonstrating how to use thisGitHub 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:
PR Type:
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