If you already have a previous Neuron release installed, select the PyTorch version tab below to get the update commands.

Note

For a successful installation or update, execute each line of the instructions below separately or copy the contents of the code block into a script file and source its contents.

Note

Inf1 instances are no longer supported. The installation and upgrade commands that were previously generated on this page have been removed. This document is retained for archival reference only.