2022-06-01 17:04:18.242739: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
2022-06-01 17:04:18.360009: E tensorflow/stream_executor/cuda/cuda_driver.cc:282] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2022-06-01 17:04:18.360247: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ubuntu): /proc/driver/nvidia/version does not exist
Num GPUs Available: 0
What might be the fix for this?
Thank you so much in advance!
We test TensorFlow 1.15.5+nv22.05 on a JetPack 5.0.1 DP environment and it works well.
$ python3
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
2022-06-02 03:37:00.419303: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
>>>
Not sure if this relates to CUDA 11.
Would you mind sharing your setting with us?
Hi! Thanks for the reply. I actually had the same output as you after importing tensorflow in python, and the errors only appeared when I tried to list out GPU devices.
We test it on an Orin board and we can get the output correctly.
Based on your log, it seems that there is an issue when TensorFlow queries the driver information.
Could you help to check the following output as well?
$ cat /proc/driver/nvidia/version
We are going to double-check this on a XavierNX board and share more information with you.
Thanks.
Reflashing the Jetson + installing CUDA upon flashing with SDK manager fixed it for me, tensorflow is now working with the GPU. Thank you so much for your help!