.. _install-neuron-tensorflow:

.. meta::
   :noindex:
   :nofollow:
   :description: This content is archived and no longer maintained.
   :date-modified: 2026-03-11

Install TensorFlow Neuron
=========================

.. warning::

   This document is archived. TensorFlow is no longer officially supported
   by the AWS Neuron SDK. It is provided for reference only. For current
   framework support, see :doc:`/frameworks/index`.



.. include:: /setup/install-templates/inf1/note-setup-cntr.rst

.. contents:: Table of contents
   :local:
   :depth: 2



Develop on AWS ML accelerator instance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. include:: /setup/install-templates/inf1/develop_mode.rst

.. include :: /setup/install-templates/inf1/note-setup-libnrt-warning.rst


.. tab-set::
   .. tab-item:: TensorFlow 2.10.1

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 2.9.3

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.


   .. tab-item:: TensorFlow 2.8.4

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.


   .. tab-item:: TensorFlow 2.7.4

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.


   .. tab-item:: TensorFlow 1.15.5

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.
         

Compile on compute instance
^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. include:: /setup/install-templates/inf1/compile_mode.rst


.. tab-set::
   .. tab-item:: TensorFlow 2.10.1

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 2.9.3

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.


   .. tab-item:: TensorFlow 2.8.4

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 2.7.4

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 1.15.5

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.



Deploy on AWS ML accelerator instance
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. include:: /setup/install-templates/inf1/deploy_mode.rst

.. include :: /setup/install-templates/inf1/note-setup-libnrt-warning.rst


.. tab-set::
   .. tab-item:: TensorFlow 2.10.1

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 2.9.3

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.


   .. tab-item:: TensorFlow 2.8.4

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 2.7.4

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

   .. tab-item:: TensorFlow 1.15.5

      .. tab-set::

         .. tab-item:: Ubuntu 20 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.

         .. tab-item:: Amazon Linux 2 DLAMI Base

            .. include :: /setup/install-templates/inf1/note-setup-general.rst

            .. 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.





