Fail to import tensorflow with the Orin

Hi,

I have followed the following instruction to install a jetpack to a newly receive Orin: https://developer.nvidia.com/embedded/learn/get-started-jetson-agx-orin-devkit
just to make sure that I’ve installed the latest jetpack I’ve run it again and received the following:

nvidia-jetpack is already the newest version (5.0.1-b118).

Then downloaded the following docker file from NVIDIA L4T ML | NVIDIA NGC

sudo docker pull nvcr.io/nvidia/l4t-ml:r32.6.1-py3

and run the docker:

sudo docker run -it --rm --runtime nvidia --network host nvcr.io/nvidia/l4t-ml:r32.6.1-py3

activated the python3 and tried to import tensorflow receiving the following notifications:

2022-06-13 11:47:52.643962: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library ‘libcudart.so.10.2’; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda-10.2/targets/aarch64-linux/lib:
2022-06-13 11:47:52.644037: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2022-06-13 11:47:52.644159: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library ‘libcudart.so.10.2’; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda-10.2/targets/aarch64-linux/lib:
2022-06-13 11:47:52.644178: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Segmentation fault (core dumped)

any ideas what I’ve done wrong?

P.S. I’ve also tried the following containers:

sudo docker pull nvcr.io/nvidia/l4t-tensorflow:r32.6.1-tf1.15-py3
sudo docker pull nvcr.io/nvidia/l4t-tensorflow:r32.6.1-tf2.5-py3

with the same results!

Hi,

JetPack 5.0.1 DP use r34.1.1 branch.
Please switch to the r34.1.1 container and try it again.

For example:

sudo docker pull nvcr.io/nvidia/l4t-ml:r34.1.1-py3
sudo docker pull nvcr.io/nvidia/l4t-tensorflow:r34.1.1-tf1.15-py3
sudo docker pull nvcr.io/nvidia/l4t-tensorflow:r34.1.1-tf2.8-py3

Thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.