63 Commits (d383449fc4300ae3caf9cf481fc87bb4757f00a4)

Author SHA1 Message Date
Hongxin Liu 079bf3cb26
[misc] update pre-commit and run all files (#4752) 1 year ago
digger yu a9d1cadc49
fix typo with colossalai/trainer utils zero (#3908) 1 year ago
Hongxin Liu dbb32692d2
[lazy] refactor lazy init (#3891) 1 year ago
Hongxin Liu 4341f5e8e6
[lazyinit] fix clone and deepcopy (#3553) 2 years ago
Hongxin Liu 152239bbfa
[gemini] gemini supports lazy init (#3379) 2 years ago
ver217 26b7aac0be
[zero] reorganize zero/gemini folder structure (#3424) 2 years ago
ver217 f8289d4221
[lazyinit] combine lazy tensor with dtensor (#3204) 2 years ago
ver217 6ae8ed0407
[lazyinit] add correctness verification (#3147) 2 years ago
ver217 ed8f60b93b
[lazyinit] refactor lazy tensor and lazy init ctx (#3131) 2 years ago
ver217 823f3b9cf4
[doc] add deepspeed citation and copyright (#2996) 2 years ago
ver217 f0aa191f51
[gemini] fix colo_init_context (#2683) 2 years ago
HELSON 552183bb74
[polish] polish ColoTensor and its submodules (#2537) 2 years ago
Super Daniel 35c0c0006e
[utils] lazy init. (#2148) 2 years ago
BlueRum b3f73ce1c8
[Gemini] Update coloinit_ctx to support meta_tensor (#2147) 2 years ago
Jiarui Fang 8e14344ec9
[hotfix] fix a type in ColoInitContext (#2106) 2 years ago
Jiarui Fang 05545bfee9
[ColoTensor] throw error when ColoInitContext meets meta parameter. (#2105) 2 years ago
HELSON f6178728a0
[gemini] fix init bugs for modules (#2047) 2 years ago
Jiarui Fang 31c644027b
[hotfix] hotfix Gemini for no leaf modules bug (#2043) 2 years ago
Jiarui Fang 52c6ad26e0
[ColoTensor] reconfig ColoInitContext, decouple default_pg and default_dist_spec. (#1953) 2 years ago
Jiarui Fang 9f4fb3f28a
[ColoTensor] ColoInitContext initialize parameters in shard mode. (#1937) 2 years ago
Frank Lee e6ec99d389
[utils] fixed lazy init context (#1867) 2 years ago
Jiarui Fang 3ce4463fe6
[utils] remove lazy_memory_allocate from ColoInitContext (#1844) 2 years ago
HELSON 1468e4bcfc
[zero] add constant placement policy (#1705) 2 years ago
ver217 a203b709d5
[hotfix] fix init context (#1543) 2 years ago
Frank Lee 2cc1175c76
[fx] tested the complete workflow for auto-parallel (#1336) 2 years ago
Frank Lee 250be4d31e
[utils] integrated colotensor with lazy init context (#1324) 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 3b500984b1
[tensor] fix some unittests (#1234) 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
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) 2 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