Skip to content

Commit

Permalink
Remove deprecated examples and update Docker guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
definitelynotmcarilli committed Apr 30, 2019
1 parent 1b8303d commit d2ac487
Show file tree
Hide file tree
Showing 36 changed files with 31 additions and 48,258 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ It's often convenient to use Apex in Docker containers. Compatible options incl
* [NVIDIA Pytorch containers from NGC](https://ngc.nvidia.com/catalog/containers/nvidia%2Fpytorch), which come with Apex preinstalled. To use the latest Amp API, you may need to `pip uninstall apex` then reinstall Apex using the **Quick Start** commands below.
* [official Pytorch -devel Dockerfiles](https://hub.docker.com/r/pytorch/pytorch/tags), e.g. `docker pull pytorch/pytorch:nightly-devel-cuda10.0-cudnn7`, in which you can install Apex using the **Quick Start** commands.

See the [Docker example folder](https://github.com/NVIDIA/apex/tree/master/examples/docker) for details.

# Quick Start

### Linux
Expand Down
2 changes: 2 additions & 0 deletions apex/fp16_utils/fp16util.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ def convert_network(network, dtype):
if isinstance(module, torch.nn.modules.batchnorm._BatchNorm) and module.affine is True:
continue
convert_module(module, dtype)
if isinstance(module, torch.nn.RNNBase) or isinstance(module, torch.nn.modules.rnn.RNNBase):
module.flatten_parameters()
return network


Expand Down
60 changes: 0 additions & 60 deletions examples/deprecated_api/FP16_Optimizer_simple/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions examples/deprecated_api/FP16_Optimizer_simple/closure.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions examples/deprecated_api/FP16_Optimizer_simple/minimal.py

This file was deleted.

56 changes: 0 additions & 56 deletions examples/deprecated_api/FP16_Optimizer_simple/save_load.py

This file was deleted.

11 changes: 0 additions & 11 deletions examples/deprecated_api/README.md

This file was deleted.

53 changes: 0 additions & 53 deletions examples/deprecated_api/distributed/README.md

This file was deleted.

Loading

0 comments on commit d2ac487

Please sign in to comment.