There is a pre-compiled tensorflow 2.16.1 available at:
https://developer.download.nvidia.com/compute/redist/jp/v60/tensorflow/
This was compiled for Python 3.10, and it works perfectly on my Jetson Orin Developer Kit.
As I need Python 3.11, I am compiling tensorflow from source. I am using a venv environment. Both tensorflow 2.15.1 and tensorflow 2.16.1 compile successfully into installable .whl files. But when running a simple MNIST classificator using Keras, tensorflow 2.15.1 works, while tensorflow 2.16.1 fails:
$ ./mnist-keras.py
2.16.1
2024-06-29 02:03:30.515968: F ./tensorflow/core/kernels/random_op_gpu.h:247] Non-OK-status: GpuLaunchKernel(FillPhiloxRandomKernelLaunch, num_blocks, block_size, 0, d.stream(), key, counter, gen, data, size, dist) status: INTERNAL: no kernel image is available for execution on the device
Aborted
Running the same script using Python3.10 and the pre-compiled TF 2.16.1 works.
Now as compiling from source works principally, as I have demonstrated with compiling TF 2.15.1 for Python 3.11, I’d like to ask if I need to provide some special compile flags or patches to get a working TF 2.16.1 for Python3.11 on the Jetson Orin? (I have installed the latest OS with Jetpack 6)