ColossalAI/tests
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
..
kit fix precommit 2024-06-18 02:31:33 +00:00
test_analyzer [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
test_auto_parallel [test] Fix/fix testcase (#5770) 2024-06-03 15:26:01 +08:00
test_autochunk [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
test_booster [release] update version (#5752) 2024-05-31 19:40:26 +08:00
test_checkpoint_io [Test/CI] remove test cases to reduce CI duration (#5753) 2024-06-05 11:29:04 +08:00
test_cluster [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_config [misc] update pre-commit and run all files (#4752) 2023-09-19 14:20:26 +08:00
test_device [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_fx [hotfix] fix testcase in test_fx/test_tracer (#5779) 2024-06-05 11:29:32 +08:00
test_infer [shardformer] upgrade transformers to 4.39.3 (#5815) 2024-06-14 10:59:33 +08:00
test_lazy [lazyinit] skip whisper test (#5653) 2024-04-26 14:03:12 +08:00
test_legacy [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_lora [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_moe [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_optimizer [misc] Accelerate CI for zero and dist optim (#5758) 2024-06-05 11:25:19 +08:00
test_pipeline [Feature] optimize PP overlap (#5735) 2024-06-26 14:48:02 +08:00
test_shardformer [shardformer] Change atol in test command-r weight-check to pass pytest (#5835) 2024-06-19 13:59:22 +08:00
test_smoothquant [inference] Add smmoothquant for llama (#4904) 2023-10-16 11:28:44 +08:00
test_tensor [misc] refactor launch API and tensor constructor (#5666) 2024-04-29 10:40:11 +08:00
test_zero [Test/CI] remove test cases to reduce CI duration (#5753) 2024-06-05 11:29:04 +08:00
__init__.py [zero] Update sharded model v2 using sharded param v2 (#323) 2022-03-11 15:50:28 +08:00