
.. _pytorch-neuronx-ubuntu20-update:

.. Update PyTorch NeuronX to the latest release on Ubuntu 20.04

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


.. tab-set::

    .. tab-item:: PyTorch 2.1.2

        .. include:: /archive/frameworks/torch/torch-neuronx/setup/note-setup-general.rst

        .. include:: /src/helperscripts/installationScripts/python_instructions.txt
            :start-line: 233
            :end-line: 234

    .. tab-item:: PyTorch 1.13.1

        .. include:: /archive/frameworks/torch/torch-neuronx/setup/note-setup-general.rst

        .. include:: /src/helperscripts/installationScripts/python_instructions.txt
            :start-line: 17
            :end-line: 18
