Save vocabulary and merge files in model dir - #55
Closed
gcooper-isi wants to merge 2 commits into
Closed
Conversation
…'t fail if args.save is not set
Chen-Chang
pushed a commit
to Chen-Chang/Megatron-LM
that referenced
this pull request
May 18, 2021
* gan example * fix client optimizer D vs G * tensorboard log path * incorporating comments on pr * multi-gpu testing Co-authored-by: Jeff Rasley <jerasley@microsoft.com>
rraminen
referenced
this pull request
in ROCm/Megatron-LM
Mar 22, 2023
* xpu support (#55) * port accel abs interfece * WA for run3.6b * move on * fix current_dievice * fix typo * enable to run 345M GPT * delete apex_patch * add TODO xpu compatible tg for xpu WA * use deepspeed launcher * enable run3.6b bf16 * add zero2 config json * readd enable_each_rank_log * fix typos * add ccl arg * fix * use short word * use no-masked-softmax-fusion * readd * set train iters to 10 * remove duplicate line * change assert msg * update format * add whitespace * update path * update note * update * fix typos * delete notes * update format * update xpu check to cuda check * update * clean up file * fix typos * add python based gradient clipping * change condition for python based path
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.
In most cases, when fine tuning or generating text from an existing model, you will want to use exactly the same vocabulary and merge files that were used to train the original model. Therefore, it is helpful for these files to default to the same ones used for training the original model in these cases. To facilitate this, this pull request automatically copies these files into the model directory when they are specified on the command line. If they are not specified on the command line, it will look for the files in the model directory and use them if they are there.