ColossalAI/tests
Jiarui Fang 5a560a060a Feature/zero (#279)
* add zero1 (#209)

* add zero1

* add test zero1

* update zero stage 1 develop (#212)

* Implement naive zero3 (#240)

* naive zero3 works well

* add zero3 param manager

* add TODOs in comments

* add gather full param ctx

* fix sub module streams

* add offload

* fix bugs of hook and add unit tests

* fix bugs of hook and add unit tests (#252)

* add gather full param ctx

* fix sub module streams

* add offload

* fix bugs of hook and add unit tests

* polish code and add state dict hook

* fix bug

* update unit test

* refactor reconstructed zero code

* clip_grad support zero3 and add unit test

* add unit test for Zero3ParameterManager

* [WIP] initialize the shard param class

* [WIP] Yet another sharded model implementation (#274)

* [WIP] initialize the shard param class

* [WIP] Yes another implementation of shardModel. Using a better hook method.

* torch.concat -> torch.cat

* fix test_zero_level_1.py::test_zero_level_1 unitest

* remove deepspeed implementation and refactor for the reconstructed zero module

* polish zero dp unittests

Co-authored-by: ver217 <lhx0217@gmail.com>
Co-authored-by: Frank Lee <somerlee.9@gmail.com>
2022-03-11 15:50:28 +08:00
..
test_comm Hotfix/Colossalai layers (#92) 2021-12-29 23:32:10 +08:00
test_config add pytorch hooks (#179) 2022-01-25 22:20:54 +08:00
test_context Optimize pipeline schedule (#94) 2021-12-30 15:56:46 +08:00
test_data added CI for unit testing (#69) 2021-12-16 10:32:08 +08:00
test_data_pipeline_tensor_parallel Optimize pipeline schedule (#94) 2021-12-30 15:56:46 +08:00
test_engine/test_engine Hotfix/Colossalai layers (#92) 2021-12-29 23:32:10 +08:00
test_layers fixed padding index issue for vocab parallel embedding layers; updated 3D linear to be compatible with examples in the tutorial 2022-03-11 15:50:28 +08:00
test_moe Added TPExpert for special situation 2022-03-11 15:50:28 +08:00
test_trainer pipeline last stage supports multi output (#151) 2022-01-17 15:57:47 +08:00
test_utils Feature/zero (#279) 2022-03-11 15:50:28 +08:00
test_zero_data_parallel Feature/zero (#279) 2022-03-11 15:50:28 +08:00
test_zero_tensor_parallel Feature/zero (#279) 2022-03-11 15:50:28 +08:00