Skip to content

Commit

Permalink
[bug] hotfixes to OSS Readme (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
blefaudeux committed Sep 17, 2020
1 parent 2d415f3 commit 656828b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ model = fairscale.nn.Pipe(model, balance=[2, 2], devices=[0, 1], chunks=8)
```

### Optimizer state sharding (ZeRO)
See a more complete example [here](https://github.com/facebookresearch/fairscale/blob/oss_async_broadcast/benchmarks/oss.py), but a minimal example could look like the following :
See a more complete example [here](https://github.com/facebookresearch/fairscale/blob/master/benchmarks/oss.py), but a minimal example could look like the following :

```python
import torch
import torch.multiprocessing as mp
from fairscale.optim.oss import OSS

def train(
Expand Down

0 comments on commit 656828b

Please sign in to comment.