Pipeline Model Parallel (#1202)
* Init apex.ppu (pipeline model parallel utility)
Reference commit:
```
commit 5ab646376d67831601d5552c193241d017f1b35c (HEAD -> main, internal/main)
Merge: 14f2c684 7b293d9b
Author: Mohammad Shoeybi <mshoeybi@nvidia.com>
Date: Wed Sep 22 22:57:54 2021 -0700
Merge branch 'add_BOS' into 'main'
Add Beginning of Sentence token option and adding semaphore while multi-threading to prevent crashes and hangs due to connection keep-alives
See merge request ADLR/megatron-lm!328
```
* removing get_args and replace import - phase 1
* removing get_args and replace import - phase 2
* move ppu to apex.transformer.pipeline_parallel
* update two __init__.py
* update READMEs
* mpu -> parallel_state & tensor_parallel
* fix
* remove not pipeline files
* separate schedules.py - phase 1
* dissect schedules.py
* data_iterators -> batch
* remove optimizer from forward_backward_step funcs
* init test
* Apply 2 suggestion(s...
Showing
File moved
This diff is collapsed.
apex/transformer/utils.py
0 → 100644
Please register or sign in to comment