Skip to content

Replace uses of apex.amp with PyTorch's amp in references #4509

@fmassa

Description

@fmassa

Some reference scripts have added support for AMP via APEX a couple of years ago, see

from apex import amp
for one example

PyTorch now natively supports AMP in the torch.cuda.amp namespace, so we should use PyTorch's AMP instead of apex for simplicity.

The replacement needs to happen on the following scripts:

cc @datumbox

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions