Tensorflow is not using GPU on Jetson Orin

Hi ,
I have flashed Jetson Orin with jetpack 5.1.2 and installed TensorFlow 2.12.0+nv23.06 as per documentation : https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html/. I have added CUDA to the library path as well.


I was able to list the device as well, while running application TensorFlow is not using GPU. Ideally TensorFlow should use GPU if it is available right?
should i specify anything in the application such that TensorFlow uses GPU always?
PFA for your reference:

Hi,

It looks like your TensorFlow package does have CUDA support.
How do you check the model run on the CPU?

By default, the inference should run on the GPU.
But you can enable the device placement to check it further.

tf.debugging.set_log_device_placement(True)

Thanks.

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