Commit d62b1c1
Tutorial for pipeline parallelism. (#1343)
* Tutorial for pipeline parallelism.
Summary: The tutorial demonstrates training Transformer models on 2 GPUs
using pipeline parallelism.
* Add some checks
* Some refinements.
* Add thumbnail
Summary:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
* Fix legacy torchtext
* Rebase and rerun circleci
* Use configurable way to build pipeline.
* Tweak TensorPipe options.
* Add main method
* Fix indent
* Revert "Fix indent"
This reverts commit a39b6c7.
* Revert "Add main method"
This reverts commit a8a8c26.
* Fix Tensorpipe options.
Co-authored-by: pritam <[email protected]>
Co-authored-by: Brian Johnson <[email protected]>1 parent 50ecf40 commit d62b1c1
3 files changed
Lines changed: 470 additions & 0 deletions
File tree
- _static/img/thumbnails/cropped
- intermediate_source
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
416 | 423 | | |
417 | 424 | | |
418 | 425 | | |
| |||
629 | 636 | | |
630 | 637 | | |
631 | 638 | | |
| 639 | + | |
632 | 640 | | |
633 | 641 | | |
634 | 642 | | |
| |||
0 commit comments