-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Aligner/nemotron5 #11264
base: main
Are you sure you want to change the base?
Aligner/nemotron5 #11264
Conversation
Signed-off-by: JRD971000 <JRD971000@users.noreply.github.com>
Signed-off-by: JRD971000 <JRD971000@users.noreply.github.com>
Signed-off-by: JRD971000 <JRD971000@users.noreply.github.com>
Signed-off-by: JRD971000 <JRD971000@users.noreply.github.com>
Signed-off-by: adithyare <adithyare@nvidia.com>
Signed-off-by: arendu <arendu@users.noreply.github.com>
Signed-off-by: adithyare <adithyare@nvidia.com>
if dist_ckpt_args.spec is not None: | ||
mamba_stack_spec = import_module(dist_ckpt_args.spec) | ||
else: | ||
raise ("You must provide a valid Mamba layer spec!") |
Check failure
Code scanning / CodeQL
Illegal raise Error
@@ -165,30 +421,47 @@ | |||
nemo_config.model.tokenizer.library = tokenizer_library | |||
nemo_config.model.tokenizer.type = tokenizer_type | |||
nemo_config.model.tokenizer.model = tokenizer_model | |||
|
|||
nemo_config.model.tokenizer.vocab_file = tokenizer_vocab |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error
|
||
nemo_config.model.tokenizer.vocab_file = tokenizer_vocab | ||
if args.source_dist_ckpt: | ||
nemo_config.model.kv_channels = dist_ckpt_args.kv_channels |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error
nemo_model_from_pyt.save_to(args.output_path) | ||
nemo_model = nemo_model.to(dtype=dtype) | ||
if args.check_fwd_pass: | ||
assert mcore_model is not None |
Check failure
Code scanning / CodeQL
Potentially uninitialized local variable Error
…to aligner/nemotron5
Signed-off-by: arendu <arendu@users.noreply.github.com>
) | ||
Utils.inited = True | ||
|
||
except: |
Check notice
Code scanning / CodeQL
Empty except Note
) | ||
Utils.inited = True | ||
|
||
except: |
Check notice
Code scanning / CodeQL
Except block handles 'BaseException' Note
Signed-off-by: Gerald Shen <geshen@nvidia.com>
Signed-off-by: adithyare <adithyare@nvidia.com>
Signed-off-by: Ali Taghibakhshi <71892896+JRD971000@users.noreply.github.com>
…to aligner/nemotron5
Signed-off-by: arendu <adithya.r@gmail.com>
Signed-off-by: arendu <arendu@users.noreply.github.com>
Signed-off-by: adithyare <adithyare@nvidia.com>
…to aligner/nemotron5
Signed-off-by: arendu <adithya.r@gmail.com>
Signed-off-by: arendu <arendu@users.noreply.github.com>
beep boop 🤖: 🙏 The following files have warnings. In case you are familiar with these, please try helping us to improve the code base. Your code was analyzed with PyLint. The following annotations have been identified:
Thank you for improving NeMo's documentation! |
What does this PR do ?
place to make all changes to support nemotron5 training
Collection: [Note which collection this PR will affect]
Changelog
Usage
# 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:
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