Google
Google
NVIDIA L4T TensorFlow
Container
Google
Google
NVIDIA L4T TensorFlow

TensorFlow is an open-source software library for numerical computation using data flow graphs. This container contains TensorFlow pre-installed in a Python 3 environment to get up & running quickly with TensorFlow on Jetson.

TensorFlow Container for Jetson and JetPack

The l4t-tensorflow docker image contains TensorFlow pre-installed in a Python 3 environment to get up & running quickly with TensorFlow on Jetson. These containers support the following releases of JetPack for Jetson Nano, TX1/TX2, Xavier NX, AGX Xavier, AGX Orin, Orin NX, and Orin Nano:

  • JetPack 5.1.1 (L4T R35.3.1)
  • JetPack 5.1 (L4T R35.2.1)
  • JetPack 5.0.2 (L4T R35.1.0)
  • JetPack 5.0.1 Developer Preview (L4T R34.1.1)
  • JetPack 5.0.0 Developer Preview (L4T R34.1.0)
  • JetPack 4.6.1 (L4T R32.7.1)
  • JetPack 4.6 (L4T R32.6.1)
  • JetPack 4.5 (L4T R32.5.0)
  • JetPack 4.4.1 (L4T R32.4.4)
  • JetPack 4.4 (L4T R32.4.3)
  • JetPack 4.4 Developer Preview (L4T R32.4.2)

For additional machine learning containers for Jetson, see the l4t-ml and l4t-pytorch images. Note that the TensorFlow pip wheel installers for aarch64 used by these containers are available to download independently from the Jetson Zoo.

Package Versions

Depending on your version of JetPack-L4T, different tags of the l4t-tensorflow container are available, each with support for Python 3. Be sure to clone a tag that matches the version of JetPack-L4T that you have installed on your Jetson.

  • JetPack 5.1.1 (L4T R35.3.1)

    • l4t-tensorflow:r35.3.1-tf2.11-py3
      • TensorFlow 2.11.0
  • JetPack 5.1 (L4T R35.2.1)

    • l4t-tensorflow:r35.2.1-tf2.11-py3
      • TensorFlow 2.11.0
  • JetPack 5.0.2 (L4T R35.1.0)

    • l4t-tensorflow:r35.1.0-tf1.15-py3
      • TensorFlow 1.15.5
    • l4t-tensorflow:r35.1.0-tf2.9-py3
      • TensorFlow 2.9.1
  • JetPack 5.0.1 Developer Preview (L4T R34.1.1)

    • l4t-tensorflow:r34.1.1-tf1.15-py3
      • TensorFlow 1.15.5
    • l4t-tensorflow:r34.1.1-tf2.8-py3
      • TensorFlow 2.8.0
  • JetPack 5.0.0 Developer Preview (L4T R34.1.0)

    • l4t-tensorflow:r34.1.0-tf1.15-py3
      • TensorFlow 1.15.5
    • l4t-tensorflow:r34.1.0-tf2.8-py3
      • TensorFlow 2.8.0
  • JetPack 4.6.1 (L4T R32.7.1)

    • l4t-tensorflow:r32.7.1-tf1.15-py3
      • TensorFlow 1.15.5
    • l4t-tensorflow:r32.7.1-tf2.7-py3
      • TensorFlow 2.7.0
  • JetPack 4.6 (L4T R32.6.1)

    • l4t-tensorflow:r32.6.1-tf1.15-py3
      • TensorFlow 1.15.5
    • l4t-tensorflow:r32.6.1-tf2.5-py3
      • TensorFlow 2.5.0
  • JetPack 4.5 (L4T R32.5.0)

    • l4t-tensorflow:r32.5.0-tf1.15-py3
      • TensorFlow 1.15
    • l4t-tensorflow:r32.5.0-tf2.3-py3
      • TensorFlow 2.3.1
  • JetPack 4.4.1 (L4T R32.4.4)

    • l4t-tensorflow:r32.4.4-tf1.15-py3
      • TensorFlow 1.15
    • l4t-tensorflow:r32.4.4-tf2.3-py3
      • TensorFlow 2.3
  • JetPack 4.4 (L4T R32.4.3)

    • l4t-tensorflow:r32.4.3-tf1.15-py3
      • TensorFlow 1.15
    • l4t-tensorflow:r32.4.3-tf2.2-py3
      • TensorFlow 2.2
  • JetPack 4.4 Developer Preview (L4T R32.4.2)

    • l4t-tensorflow:r32.4.2-tf1.15-py3
      • TensorFlow 1.15

note: the l4t-tensorflow containers require JetPack 4.4 or newer

Running the Container

First pull one of the l4t-tensorflow container tags from above, corresponding to the version of JetPack-L4T that you have installed on your Jetson. For example, if you are running the latest JetPack 5.1.1 (L4T R35.3.1) release and want to use TensorFlow 2:

sudo docker pull nvcr.io/nvidia/l4t-tensorflow:r35.3.1-tf2.11-py3

Then to start an interactive session in the container, run the following command:

sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-tensorflow:r35.3.1-tf2.11-py3

You should then be able to start a Python3 interpreter and import tensorflow.

Mounting Directories from the Host Device

To mount scripts, data, ect. from your Jetson's filesystem to run inside the container, use Docker's -v flag when starting your Docker instance:

sudo docker run -it --rm --runtime nvidia --network host -v /home/user/project:/location/in/container nvcr.io/nvidia/l4t-tensorflow:r35.3.1-tf2.11-py3

Dockerfiles

To access or modify the Dockerfiles and scripts used to build this container, see this GitHub repo.

License

The l4t-tensorflow container includes various software packages with their respective licenses included within the container.

Getting Help & Support

If you have any questions or need help, please visit the Jetson Developer Forums.

Publisher
Google
Google
Latest Tagr35.3.1-tf2.11-py3
UpdatedMay 18, 2023 UTC
Compressed Size5.77 GB
Multinode SupportNo
Multi-Arch SupportNo

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.