Fix to peft & virtual pipeline parallel unsupported check#8216
Merged
ericharper merged 1 commit intoNVIDIA-NeMo:mainfrom Jan 23, 2024
Merged
Fix to peft & virtual pipeline parallel unsupported check#8216ericharper merged 1 commit intoNVIDIA-NeMo:mainfrom
ericharper merged 1 commit intoNVIDIA-NeMo:mainfrom
Conversation
… setup Signed-off-by: Valerie Sarge <vsarge@nvidia.com>
5b3349d to
32d7b82
Compare
Contributor
Author
|
@cuichenx / @ericharper can you review? Thanks! |
Collaborator
|
jenkins |
yaoyu-33
pushed a commit
that referenced
this pull request
Jan 31, 2024
… setup (#8216) Signed-off-by: Valerie Sarge <vsarge@nvidia.com>
stevehuang52
pushed a commit
that referenced
this pull request
Jan 31, 2024
… setup (#8216) Signed-off-by: Valerie Sarge <vsarge@nvidia.com> Signed-off-by: stevehuang52 <heh@nvidia.com>
ssh-meister
pushed a commit
to ssh-meister/NeMo
that referenced
this pull request
Feb 15, 2024
… setup (NVIDIA-NeMo#8216) Signed-off-by: Valerie Sarge <vsarge@nvidia.com> Signed-off-by: Sasha Meister <ameister@nvidia.com>
pablo-garay
pushed a commit
that referenced
this pull request
Mar 19, 2024
… setup (#8216) Signed-off-by: Valerie Sarge <vsarge@nvidia.com> Signed-off-by: Pablo Garay <pagaray@nvidia.com>
rohitrango
pushed a commit
to rohitrango/NeMo
that referenced
this pull request
Jun 25, 2024
… setup (NVIDIA-NeMo#8216) Signed-off-by: Valerie Sarge <vsarge@nvidia.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 ?
Corrects the check added in PR-7964 to raise a ValueError when attempting to run virtual pipeline parallel with peft.
Collection: nlp/language_modeling
Changelog
MegatronGPTSFTModel.__init__(where self.use_peft had not yet been set to true, so the check did not function) toNLPAdapterModelMixin.add_adapterUsage
Running with the unsupported combination of peft and virtual pipeline parallel now yields a more useful error message:
gives
Jenkins CI
To run Jenkins, a NeMo User with write access must comment
jenkinson the PR.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