ColossalAI/tests/test_zero_data_parallel
Frank Lee 526a318032 [unit test] Refactored test cases with component func (#339)
* refactored test with component func

* fixed bug
2022-03-11 15:50:28 +08:00
..
common.py [unit test] Refactored test cases with component func (#339) 2022-03-11 15:50:28 +08:00
test_init_context.py [zero] zero init context collect numel of model (#375) 2022-03-11 15:50:28 +08:00
test_shard_model_v2.py [zero] able to place params on cpu after zero init context (#365) 2022-03-11 15:50:28 +08:00
test_shard_param.py [unit test] Refactored test cases with component func (#339) 2022-03-11 15:50:28 +08:00
test_sharded_optim.py [unit test] Refactored test cases with component func (#339) 2022-03-11 15:50:28 +08:00
test_sharded_optim_v2.py [zero] update sharded optim v2 (#334) 2022-03-11 15:50:28 +08:00
test_sharded_optim_v2_with_cpu_adam.py [test] polish zero related unitest (#351) 2022-03-11 15:50:28 +08:00
test_sharded_optim_with_sync_bn.py [unit test] Refactored test cases with component func (#339) 2022-03-11 15:50:28 +08:00
test_state_dict.py [unit test] Refactored test cases with component func (#339) 2022-03-11 15:50:28 +08:00
test_zero_param_mgr.py using pytest parametrize 2022-03-11 15:50:28 +08:00