- 08 Apr, 2022 1 commit
-
-
HELSON authored
-
- 01 Apr, 2022 1 commit
-
-
HELSON authored
-
- 31 Mar, 2022 2 commits
-
-
HELSON authored
* support existing sharded and unsharded parameters in zero * add unitest for moe-zero model init * polish moe gradient handler
-
Jiarui Fang authored
-
- 30 Mar, 2022 1 commit
-
-
ver217 authored
* hijack p.grad in sharded model * polish comments * polish comments
-
- 23 Mar, 2022 1 commit
-
-
ver217 authored
* sharded model supports reuse fp16 shard * rename variable * polish code * polish code * polish code
-
- 22 Mar, 2022 1 commit
-
-
Jiarui Fang authored
* [zero] polish sharded param name * polish code * polish * polish code * polish * polsih * polish
-
- 18 Mar, 2022 5 commits
-
-
ver217 authored
* polish code * shard strategy receive pg in shard() / gather() * update zero engine * polish code
-
ver217 authored
-
Jiarui Fang authored
* Revert "polish code" This reverts commit 8cf7ff08. * Revert "rename variables" This reverts commit e99af94a. * Revert "remove surplus imports" This reverts commit 46add4a5. * Revert "update sharded optim and fix zero init ctx" This reverts commit 57567ee7.
-
ver217 authored
-
ver217 authored
-
- 17 Mar, 2022 3 commits
-
-
Jiarui Fang authored
-
Jiarui Fang authored
-
Jiarui Fang authored
-
- 11 Mar, 2022 8 commits
-
-
Frank Lee authored
* refactored test with component func * fixed bug
-
Jiarui Fang authored
-
ver217 authored
-
jiaruifang authored
-
ver217 authored
-
ver217 authored
-
ver217 authored
-
Jiarui Fang authored
* 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>
-