ColossalAI/tests/test_zero_data_parallel
Jiarui Fang de0468c7a8 [zero] zero init context (#321)
* add zero init context

* add more flags for zero init context
fix bug of repeated converting param to ShardedParamV2

* polish code
2022-03-11 15:50:28 +08:00
..
common.py fix sharded param hook and unit test 2022-03-11 15:50:28 +08:00
test_init_context.py [zero] zero init context (#321) 2022-03-11 15:50:28 +08:00
test_shard_model_v2.py [zero] add sharded grad and refactor grad hooks for ShardedModel (#287) 2022-03-11 15:50:28 +08:00
test_shard_param.py [zero] yet an improved sharded param (#311) 2022-03-11 15:50:28 +08:00
test_sharded_optim.py added unit test for sharded optimizer (#293) 2022-03-11 15:50:28 +08:00
test_sharded_optim_v2.py fix sharded param hook and unit test 2022-03-11 15:50:28 +08:00
test_sharded_optim_with_sync_bn.py added buffer sync to naive amp model wrapper (#291) 2022-03-11 15:50:28 +08:00
test_zero_dev_3.py Feature/zero (#279) 2022-03-11 15:50:28 +08:00
test_zero_dev_3_mp4.py [zero] add sharded grad and refactor grad hooks for ShardedModel (#287) 2022-03-11 15:50:28 +08:00
test_zero_param_mgr.py Feature/zero (#279) 2022-03-11 15:50:28 +08:00