ColossalAI/tests/test_pipeline
Edenzzzz 2a25a2aff7
[Feature] optimize PP overlap (#5735)
* update to fully overlap, still debugging

* improve interface

* fixed deadlock bug

* debug NaN loss

* (experimental) use one comm group for send_fw_recv_fw to fix NaN

* cleaned up interfaces; use one batch p2p for all

* clean up; removed the double p2p batch case

* p2p test passsed

* improve overlap: send fwd before backward

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* tentatively use 2 p2p batches

* remove two p2p batches

* fix typos

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove pp.sh

---------

Co-authored-by: Edenzzzz <wtan45@wisc.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: root <root@notebook-c55824c0-7742-45e8-9591-c855bb77ad29-0.notebook-c55824c0-7742-45e8-9591-c855bb77ad29.colossal-ai.svc.cluster.local>
2024-06-26 14:48:02 +08:00
..
test_pipeline_utils [shardformer] refactor pipeline grad ckpt config (#5646) 2024-04-25 15:19:30 +08:00
test_schedule [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_p2p_communication.py [Feature] optimize PP overlap (#5735) 2024-06-26 14:48:02 +08:00
test_stage_manager.py [Feature] optimize PP overlap (#5735) 2024-06-26 14:48:02 +08:00