index.rst 1.67 KB
Newer Older
1
.. FairScale documentation master file, created by
2
   sphinx-quickstart on Tue Sep  8 16:19:17 2020.
Min Xu's avatar
Min Xu committed
3
4
5
   You can adapt this file completely to your liking,
   but it should at least contain the root `toctree`
   directive.
6

7
Welcome to FairScale's documentation!
8
9
=====================================

10
*FairScale* is a PyTorch extension library for high performance and
Min Xu's avatar
Min Xu committed
11
12
13
large scale training for optimizing training on one or across multiple
machines/nodes. This library extend basic pytorch capabilities while
adding new experimental ones.
14
15
16
17
18
19


Components
----------

* Parallelism:
20
   * `Pipeline parallelism <../../en/latest/api/nn/pipe.html>`_
21

22
23
24
25
* Sharded training:
    * `Optimizer state sharding <../../en/latest/api/optim/oss.html>`_
    * `Sharded grad scaler - automatic mixed precision <../../en/latest/api/optim/grad_scaler.html>`_
    * `Sharded distributed data parallel <../../en/latest/api/nn/sharded_ddp.html>`_
Min Xu's avatar
Min Xu committed
26
    * `Fully Sharded Data Parallel FSDP <../../en/latest/api/nn/fsdp.html>`_
Sam Shleifer's avatar
Sam Shleifer committed
27
    * `FSDP Tips <../../en/latest/api/nn/fsdp_tips.html>`_
28
29

* Optimization at scale:
30
   * `AdaScale SGD <../../en/latest/api/optim/adascale.html>`_
31

32
33
34
* GPU memory optimization:
   * `Activation checkpointing wrapper <../../en/latest/api/nn/misc/checkpoint_activations.html>`_

35

36
37
38
* `Tutorials <../../en/latest/tutorials/index.html>`_


39
.. warning::
Min Xu's avatar
Min Xu committed
40
41
42
    This library is under active development.
    Please be mindful and create an
    `issue <https://github.com/facebookresearch/fairscale/issues>`_
Sam Shleifer's avatar
Sam Shleifer committed
43
    if you have any trouble and/or suggestions.
44

45
46
47
48
49
50
51
52
.. toctree::
   :maxdepth: 5
   :caption: Contents:
   :hidden:

   tutorials/index
   api/index

53
54
55
56
57

Reference
=========

:ref:`genindex` | :ref:`modindex` | :ref:`search`