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

[sync] sync npu branch with main #5278

Merged
merged 54 commits into from
Jan 18, 2024
Merged

Conversation

ver217
Copy link
Member

@ver217 ver217 commented Jan 18, 2024

📌 Checklist before creating the PR

  • I have created an issue for this PR for traceability
  • The title follows the standard format: [doc/gemini/tensor/...]: A concise description
  • I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge

e.g. fixed #1234, closed #1234, resolved #1234

📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

💥 Checklist before requesting a review

  • I have linked my PR to an issue (instruction)
  • My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
  • I have performed a self-review of my code
  • I have added thorough tests.
  • I have added docstrings for all the functions/methods I implemented

⭐️ Do you enjoy contributing to Colossal-AI?

  • 🌝 Yes, I do.
  • 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

digger-yu and others added 30 commits November 24, 2023 19:15
* add safetybench and cvalues(responsibility) eval dataset

* Modify code according to review suggestions

---------

Co-authored-by: Orion-Zheng <[email protected]>
…eline for bert (hpcaitech#5088)

* [shardformer] implement policy for all GPT-J models and test

* [shardformer] support interleaved pipeline parallel for bert finetune

* [shardformer] shardformer support falcon (hpcaitech#4883)

* [shardformer]: fix interleaved pipeline for bert model (hpcaitech#5048)

* [hotfix]: disable seq parallel for gptj and falcon, and polish code (hpcaitech#5093)

* Add Mistral support for Shardformer (hpcaitech#5103)

* [shardformer] add tests to mistral (hpcaitech#5105)

---------

Co-authored-by: Pengtai Xu <[email protected]>
Co-authored-by: ppt0011 <[email protected]>
Co-authored-by: flybird11111 <[email protected]>
Co-authored-by: eric8607242 <[email protected]>
* [doc] add moe news

* [doc] add moe news

* [doc] add moe news
…pcaitech#5135)

* fix 3d checkpoint load when booster boost without optimizer

fix 3d checkpoint load when booster boost without optimizer

* test ci

* revert ci

* fix

fix
)

* refactor server and webui & add new feature

* add requirements

* modify readme and ui
…#4878)

* Add finetuning Colossal-Llama-2 example

* Add finetuning Colossal-Llama-2 example 2

* Add finetuning Colossal-Llama-2 example and support NEFTuning

* Add inference example and refine neftune

* Modify readme file

* update the imports

---------

Co-authored-by: Xu Yuanchen <[email protected]>
Co-authored-by: Camille Zhong <[email protected]>
…ech#5150)

* fix

aaa

fix

fix

fix

* fix

* fix

* test ci

* fix ci

fix
* fix pangu api

* add comment
…el (hpcaitech#5169)

* Support GSM, Data Leakage Evaluation and Tensor Parallel

* remove redundant code and update inference.py in examples/gpt_evaluation

---------

Co-authored-by: Xu Yuanchen <[email protected]>
* fix

aaa

fix

fix

fix

* fix

* fix

* test ci

* fix ci

fix

* llama support dist-cross

fix

fix

fix

fix

fix

fix

fix

fix

* fix

* fix

* fix

fix

* test ci

* test ci

* fix

* [Colossal-Llama-2] Add finetuning Colossal-Llama-2 example (hpcaitech#4878)

* Add finetuning Colossal-Llama-2 example

* Add finetuning Colossal-Llama-2 example 2

* Add finetuning Colossal-Llama-2 example and support NEFTuning

* Add inference example and refine neftune

* Modify readme file

* update the imports

---------

Co-authored-by: Xu Yuanchen <[email protected]>
Co-authored-by: Camille Zhong <[email protected]>

* llama support dist-cross

fix

fix

fix

fix

fix

fix

fix

fix

* fix

* fix

* fix

fix

* test ci

* test ci

* fix

* fix ci

* fix ci

---------

Co-authored-by: Yuanchen <[email protected]>
Co-authored-by: Xu Yuanchen <[email protected]>
Co-authored-by: Camille Zhong <[email protected]>
* fix

aaa

fix

fix

fix

* fix

* fix

* test ci

* fix ci

fix

* update pytorch version in documents
…eaved pp (hpcaitech#5134)

* test: add more p2p tests

* fix: remove send_forward_recv_forward as p2p op list need to use the same group

* fix: make send and receive atomic

* feat: update P2PComm fn

* feat: add metadata cache in 1f1b

* feat: add metadata cache in interleaved pp

* feat: modify is_xx_stage fn

* revert: add _broadcast_object_list

* feat: add interleaved pp in llama policy

* feat: set NCCL_BUFFSIZE in HybridParallelPlugin
…comptibility checking (hpcaitech#5207)

* doc/update requirements-test.txt

* update torch-cuda compatibility check
support linear accumulation fusion

support linear accumulation fusion

fix
…ech#5201)

* fix: remove drop last in val & test dataloader

* feat: add run_forward_only, support arbitrary bs

* chore: modify ci script
…pcaitech#5214)

* fix: add fallback order option and update 1f1b

* fix: fix deadlock comm in interleaved pp

* test: modify p2p test
flybird11111 and others added 24 commits January 3, 2024 14:26
fix-test

fix-test
…#5224)

* update readme

* update readme

* update link

* update

* update readme

* update

* update

* update

* update title

* update example

* update example

* fix content

* add conclusion

* add license

* update

* update

* update version

* fix minor
* Update README.md

* Update README.md
…h#5231)

* Make leaderboard format more unifeid and good-looking

* Update README.md

* Update README.md
* [doc] add Colossal-LLaMA-2-13B

* [doc] add Colossal-LLaMA-2-13B

* [doc] add Colossal-LLaMA-2-13B
* [doc] SwiftInfer release

* [doc] SwiftInfer release

* [doc] SwiftInfer release

* [doc] SwiftInfer release

* [doc] SwiftInfer release
* A more general _communicate

* feat: finish tree_flatten version p2p

* fix: update p2p api calls

---------

Co-authored-by: Wenhao Chen <[email protected]>
* [workflow] fixed build CI

* polish

* polish

* polish

* polish

* polish
* [ci] fixed booster test

* [ci] fixed booster test

* [ci] fixed booster test
* [ci] fixed ddp test

* polish
* fix ci

fix

* revert: revert p2p

* feat: add enable_metadata_cache option

* revert: enable t5 tests

---------

Co-authored-by: Wenhao Chen <[email protected]>
* [doc] fix annotation display

* [doc] fix llama2 doc
* fix: fix misleading mbs arg

* feat: add pp sanity check

* fix: fix 1f1b sanity check
* [workflow] fixed oom tests

* polish

* polish

* polish
* fix ci

fix

* fix test

* revert: revert p2p

* feat: add enable_metadata_cache option

* revert: enable t5 tests

* fix

---------

Co-authored-by: Wenhao Chen <[email protected]>
…pcaitech#5246)

* support gradients acc

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

fix

* fix

fix

* fix

fix

fix
@ver217 ver217 requested a review from a team as a code owner January 18, 2024 04:06
@FrankLeeeee FrankLeeeee merged commit d66e698 into hpcaitech:feature/npu Jan 18, 2024
15 of 22 checks passed
@ver217 ver217 deleted the sync/npu branch January 18, 2024 06:14
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.