forked from Lightning-AI/pytorch-lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure Fabric docs (2/n) (Lightning-AI#17126)
Co-authored-by: edenlightning <[email protected]> Co-authored-by: Jirka Borovec <[email protected]>
- Loading branch information
1 parent
7bc2a65
commit c886317
Showing
17 changed files
with
579 additions
and
258 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.. include:: ../links.rst | ||
|
||
############################# | ||
lightning.fabric.accelerators | ||
############################# | ||
|
||
|
||
Accelerators | ||
^^^^^^^^^^^^ | ||
|
||
.. currentmodule:: lightning.fabric.accelerators | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Accelerator | ||
CPUAccelerator | ||
CUDAAccelerator | ||
MPSAccelerator | ||
TPUAccelerator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.. include:: ../links.rst | ||
|
||
#################################### | ||
lightning.fabric.plugins.collectives | ||
#################################### | ||
|
||
.. warning:: | ||
This is an `experimental <https://lightning.ai/docs/pytorch/latest/versioning.html>`__ feature. | ||
|
||
|
||
Collectives | ||
^^^^^^^^^^^ | ||
|
||
.. currentmodule:: lightning.fabric.plugins.collectives | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Collective | ||
TorchCollective | ||
SingleDeviceCollective |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. include:: ../links.rst | ||
|
||
##################################### | ||
lightning.fabric.plugins.environments | ||
##################################### | ||
|
||
|
||
Environments | ||
^^^^^^^^^^^^ | ||
|
||
.. currentmodule:: lightning.fabric.plugins.environments | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate_noindex.rst | ||
|
||
~cluster_environment.ClusterEnvironment | ||
~kubeflow.KubeflowEnvironment | ||
~lightning.LightningEnvironment | ||
~lsf.LSFEnvironment | ||
~mpi.MPIEnvironment | ||
~slurm.SLURMEnvironment | ||
~torchelastic.TorchElasticEnvironment | ||
~xla.XLAEnvironment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
.. include:: ../links.rst | ||
|
||
####################### | ||
lightning.fabric.Fabric | ||
####################### | ||
|
||
|
||
Fabric | ||
^^^^^^ | ||
|
||
.. currentmodule:: lightning.fabric.fabric | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Fabric |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.. include:: ../links.rst | ||
|
||
########################### | ||
lightning.fabric.plugins.io | ||
########################### | ||
|
||
|
||
.. warning:: | ||
This is an `experimental <https://lightning.ai/docs/pytorch/latest/versioning.html>`__ feature. | ||
|
||
|
||
IO | ||
^^ | ||
|
||
.. currentmodule:: lightning.fabric.plugins.io | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
~checkpoint_io.CheckpointIO | ||
~torch_io.TorchCheckpointIO | ||
~xla.XLACheckpointIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.. include:: ../links.rst | ||
|
||
######################## | ||
lightning.fabric.loggers | ||
######################## | ||
|
||
|
||
Loggers | ||
^^^^^^^ | ||
|
||
.. currentmodule:: lightning.fabric.loggers | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Logger | ||
CSVLogger | ||
TensorBoardLogger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. include:: ../links.rst | ||
|
||
################################## | ||
lightning.fabric.plugins.precision | ||
################################## | ||
|
||
|
||
Precision | ||
^^^^^^^^^ | ||
|
||
.. TODO(fabric): include DeepSpeedPrecision | ||
.. currentmodule:: lightning.fabric.plugins.precision | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Precision | ||
DoublePrecision | ||
MixedPrecision | ||
TPUPrecision | ||
TPUBf16Precision | ||
FSDPPrecision |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.. include:: ../links.rst | ||
|
||
########################### | ||
lightning.fabric.strategies | ||
########################### | ||
|
||
|
||
Strategies | ||
^^^^^^^^^^ | ||
|
||
.. TODO(fabric): include DeepSpeedStrategy, XLAStrategy | ||
.. currentmodule:: lightning.fabric.strategies | ||
|
||
.. autosummary:: | ||
:toctree: ./generated | ||
:nosignatures: | ||
:template: classtemplate.rst | ||
|
||
Strategy | ||
DDPStrategy | ||
DataParallelStrategy | ||
FSDPStrategy | ||
ParallelStrategy | ||
SingleDeviceStrategy | ||
SingleTPUStrategy |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.