Skip to content
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

merge: microsoft-main into main #62

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open

merge: microsoft-main into main #62

wants to merge 51 commits into from

Conversation

saforem2
Copy link
Member

This PR resolves the merge conflicts introduced in #35, containing upstream changes from microsoft/Megatron-DeepSpeed

xylian86 and others added 30 commits June 26, 2024 15:43
* Zero Bubble for Megatron-Deepspeed

* Remove schedule variant

* Integrate zbpp into the megatron

* clean up redundant lines

* Rename variables

* edit README

* Undo readme edit

* Minor change

* Add an example to example directory

---------

Co-authored-by: ufotalent <[email protected]>
Co-authored-by: Wan Xinyi <[email protected]>
* use split/squeeze instead of slice for performance

GPU may not have perf difference but HPU perf improves with this

* add copyrights
…urther on device (microsoft#411)

* improve performance by keeping attention_mask on device and run ops further on device

* add copyrights
* improve RoPE perf by using cached sin/cos tensors

* add copyrights
* Extend test utilities to support more accelerators

* Add Intel Copyright
* Update arguments.py

* Update training.py

* Create profiler.py

* add copyrights

* Update profiler.py

* add copyrights

* Update help

* add copyrights
* Refine wandb logging function

* Address comments

* enable user to specify wandb local save dir

* Update and fix comments

* Update
…icrosoft#412)

* Update arguments.py

* Update training.py

* Update utils.py

* add copyrights

* add copyrights

* add copyrights

* Update arguments.py help

* Update arguments.py

* Update training.py

* Update utils.py

* Update arguments.py
…rocessing (microsoft#421)

* Update arguments.py

* Update tokenizer.py

* Update preprocess_data.py
* Update module.py

* Update preprocess_data.py

* add copyrights

* add copyrights

* Update tokenizer.py

* add copyrights
This PR adds a Llama universal checkpointing example to examples_deepspeed/universal_checkpointing.

It also includes changes to the README, some minor changes, and an update to the TensorBoard analysis script.
…sing flash_attn_cuda in sequence parallel (microsoft#406)

Co-authored-by: Jinghan Yao <[email protected]>
…on for supporting batch size larger than 1 (microsoft#433)

Co-authored-by: Jinghan Yao <[email protected]>
…t#432)

* add support converting checkpoint from hf to mds

* Fix PP issue

* update
* fix TFLOPs calculation

when GQA used, we observe right TFLOPs after this fix.
when GQA is not used, huge difference in TFLOPs is solved with 
selective recompute .
some other minor difference will also be observed as logits macs also added.

* add copyrights
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.