Pull in main from argonne-lcf/Megatron-DeepSpeed#9
Merged
saforem2 merged 553 commits intosaforem2:mainfrom Nov 15, 2024
Merged
Conversation
Sunspot frameworks tests
Fix path in `prof.export_chrome_trace()` from `pretrain_gpt_alcf.py`
Merge in `tokenizer-tests` branch into `main`
…into hzheng-data-fix
Pull in changes from [6acc370](6acc370) to [`megatron/utils.py`](https://github.com/argonne-lcf/Megatron-DeepSpeed)
[merge]: into `microsoft-main` $\leftarrow$ from `hzheng-data-fix`
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.
Summary by Sourcery
Refactor the training script for improved logging and modularity, introduce new features such as support for additional optimizers and tokenizers, and enhance the data processing pipeline. Add new scripts for setting up and running training jobs on ALCF systems, and update documentation to reflect these changes.
New Features:
logobject from theloggingmodule, replacing the previousprint_rank_0calls for improved logging consistency.galore_adamw,adafactor, andadam8bit, providing more flexibility in training configurations.Llama2Tokenizerfor handling specific tokenization needs.pretrain_llama.pyfor pretraining Llama models, which includes setup for distributed training and logging with WandB.ALCF/helpers.shfor setting up and launching training jobs on ALCF systems, including environment setup and job configuration.Bug Fixes:
get_ltor_masks_and_position_idsfunction to ensure correct mask and position ID generation.torchanddeepspeedversions by updating the setup and installation scripts.Enhancements:
BuildConcatDatasetclass for efficient dataset handling and concatenation.Build:
make_datato ensure themegatron/data/helpers.cppis compiled before training.Deployment:
ALCF/README.mdto guide users on setting up and running training jobs on ALCF systems, including detailed instructions for different environments.Documentation:
Chores: