Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
93d115c6
Unverified
Commit
93d115c6
authored
Feb 26, 2021
by
Min Xu
Committed by
GitHub
Feb 26, 2021
Browse files
update readme (#439)
parent
506d6209
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
README.md
README.md
+13
-11
fairscale/experimental/nn/__init__.py
fairscale/experimental/nn/__init__.py
+4
-0
No files found.
README.md
View file @
93d115c6
...
...
@@ -10,20 +10,22 @@ FairScale is a PyTorch extension library for high performance and large scale tr
FairScale supports:
*
Parallelism:
*
Pipeline parallelism (fairscale.nn.pipe)
*
Asynchronous Pipeline parallelism (fairscale.nn.async_pipe)
*
Mixture of experts (fairscale.nn.moe.moe_layer)
*
Model Parallelism (fairscale.nn.model_parallel.layers)
*
_experimental_ AmpNet (fairscale.experimental.nn.ampnet_pipe)
*
Pipeline parallelism (
`
fairscale.nn.pipe
`
)
*
Asynchronous Pipeline parallelism (
`
fairscale.nn.async_pipe
`
)
*
Mixture of experts (
`
fairscale.nn.moe.moe_layer
`
)
*
Model Parallelism (
`
fairscale.nn.model_parallel.layers
`
)
*
_experimental_ AmpNet (
`
fairscale.experimental.nn.ampnet_pipe
`
)
*
Sharded training:
*
Optimizer state sharding (fairscale.optim.OSS)
*
Sharded grad scaler - automatic mixed precision (fairscale.optim.grad_scaler)
*
Sharded distributed data parallel (fairscale.nn.ShardedDataParallel)
*
Fully Sharded Data Parallel (FSDP) (fairscale.nn.FullyShardedDataParallel)
*
Optimizer state sharding (
`fairscale.optim.OSS`
)
*
Sharded Data Parallel (SDP) (
`fairscale.nn.ShardedDataParallel`
)
*
Fully Sharded Data Parallel (FSDP) (
`fairscale.nn.FullyShardedDataParallel`
)
*
Optimization at scale:
*
AdaScale SGD (fairscale.optim.AdaScale)
*
AdaScale SGD (
`
fairscale.optim.AdaScale
`
)
*
GPU memory optimization:
*
Activation checkpointing wrapper(fairscale.nn.misc.checkpoint_wrapper)
*
Activation checkpointing wrapper (
`fairscale.nn.misc.checkpoint_wrapper`
)
*
_experimental_ CPU offloaded model (
`fairscale.experimental.nn.offload.OffloadModel`
)
*
GPU speed optimization:
*
Sharded grad scaler - automatic mixed precision (
`fairscale.optim.grad_scaler`
)
## Requirements
...
...
fairscale/experimental/nn/__init__.py
View file @
93d115c6
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the BSD license found in the
# LICENSE file in the root directory of this source tree.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment