203 Commits (37e35230ff4666231dd65435b5f7b2a2fcfaf9e6)

Author SHA1 Message Date
Kirigaya Kazuto 318fbf1145
[NFC] polish colossalai/utils/multi_tensor_apply/multi_tensor_apply.py code style (#1559) 2 years ago
ver217 ae71036cd2
[utils] refactor parallel layers checkpoint and bcast model on loading checkpoint (#1548) 2 years ago
ver217 2bed096848
[utils] optimize partition_tensor_parallel_state_dict (#1546) 2 years ago
ver217 a203b709d5
[hotfix] fix init context (#1543) 2 years ago
Boyuan Yao 47fd8e4a02
[utils] Add use_reetrant=False in utils.activation_checkpoint (#1460) 2 years ago
Frank Lee 5a52e21fe3
[test] fixed the activation codegen test (#1447) 2 years ago
ver217 821c6172e2
[utils] Impl clip_grad_norm for ColoTensor and ZeroOptimizer (#1442) 2 years ago
HELSON 527758b2ae
[hotfix] fix a running error in test_colo_checkpoint.py (#1387) 2 years ago
HELSON b6fd165f66
[checkpoint] add kwargs for load_state_dict (#1374) 2 years ago
Frank Lee 0c1a16ea5b
[util] standard checkpoint function naming (#1377) 2 years ago
Super Daniel be229217ce
[fx] add torchaudio test (#1369) 2 years ago
HELSON 8463290642
[checkpoint] use args, kwargs in save_checkpoint, load_checkpoint (#1368) 2 years ago
HELSON 87775a0682
[colotensor] use cpu memory to store state_dict (#1367) 2 years ago
HELSON 943a96323e
[hotfix] fix no optimizer in save/load (#1363) 2 years ago
HELSON 7a8702c06d
[colotensor] add Tensor.view op and its unit test (#1343) 2 years ago
Frank Lee 2cc1175c76
[fx] tested the complete workflow for auto-parallel (#1336) 2 years ago
HELSON f92c100ddd
[checkpoint] use gather_tensor in checkpoint and update its unit test (#1339) 2 years ago
Frank Lee 250be4d31e
[utils] integrated colotensor with lazy init context (#1324) 2 years ago
Jiarui Fang 9e4c6449b0
[checkpoint] add ColoOptimizer checkpointing (#1316) 2 years ago
Jiarui Fang 3ef3791a3b
[checkpoint] add test for bert and hotfix save bugs (#1297) 2 years ago
Jiarui Fang 4165eabb1e
[hotfix] remove potiential circle import (#1307) 2 years ago
Jiarui Fang c92f84fcdb
[tensor] distributed checkpointing for parameters (#1240) 2 years ago
Jiarui Fang 9bcd2fd4af
[tensor] a shorter shard and replicate spec (#1245) 2 years ago
Jiarui Fang 20da6e48c8
[checkpoint] save sharded optimizer states (#1237) 2 years ago
Jiarui Fang 3b500984b1
[tensor] fix some unittests (#1234) 2 years ago
ver217 a45ddf2d5f
[hotfix] fix sharded optim step and clip_grad_norm (#1226) 2 years ago
Yi Zhao 04537bf83e
[checkpoint]support generalized scheduler (#1222) 2 years ago
Jiarui Fang 52736205d9
[checkpoint] make unitest faster (#1217) 2 years ago
Jiarui Fang f38006ea83
[checkpoint] checkpoint for ColoTensor Model (#1196) 2 years ago
Jiarui Fang ae7d3f4927
[refactor] move process group from _DistSpec to ColoTensor. (#1203) 2 years ago
YuliangLiu0306 63d2a93878
[context]support arbitary module materialization. (#1193) 2 years ago
YuliangLiu0306 2053e138a2
[context]use meta tensor to init model lazily. (#1187) 2 years ago
YuliangLiu0306 e27645376d
[hotfix]different overflow status lead to communication stuck. (#1175) 2 years ago
Jiarui Fang 4b9bba8116
[ColoTensor] rename APIs and add output_replicate to ComputeSpec (#1168) 2 years ago
Frank Lee f8eec98ff5
[tensor] fixed non-serializable colo parameter during model checkpointing (#1153) 2 years ago
Frank Lee 73ad05fc8c
[zero] added error message to handle on-the-fly import of torch Module class (#1135) 2 years ago
Frank Lee 2b2dc1c86b
[pipeline] refactor the pipeline module (#1087) 2 years ago
Frank Lee bad5d4c0a1
[context] support lazy init of module (#1088) 2 years ago
Frank Lee bfdc5ccb7b
[context] maintain the context object in with statement (#1073) 3 years ago
Jiarui Fang 49832b2344
[refactory] add nn.parallel module (#1068) 3 years ago
Jiarui Fang a00644079e
reorgnize colotensor directory (#1062) 3 years ago
Ziyue Jiang df9dcbbff6
[Tensor] add hybrid device demo and fix bugs (#1059) 3 years ago
Ziyue Jiang 7c530b9de2
[Tensor] add Parameter inheritance for ColoParameter (#1041) 3 years ago
Ziyue Jiang 6c5996a56e
[Tensor] add module check and bert test (#1031) 3 years ago
Ziyue Jiang 32291dd73f
[Tensor] add module handler for linear (#1021) 3 years ago
ver217 007ca0df92
fix colo init context (#1026) 3 years ago
ver217 ad536e308e
[tensor] refactor colo-tensor (#992) 3 years ago
Ziyue Jiang d73c2b1d79
[Tensor] fix init context (#931) 3 years ago
Ziyue Jiang dfc88b85ea
[Tensor] simplify named param (#928) 3 years ago
YuliangLiu0306 32a45cd7ef
[pipelinable]use pipelinable to support GPT model. (#903) 3 years ago