I try compile tensorflow 1.15.5 from source on nx, but get the error below:
ERROR: /home/mrobot/workspace/tensorflow-1.15.5/tensorflow/stream_executor/cuda/BUILD:322:1: C++ compilation of rule ‘//tensorflow/stream_executor/cuda:cudnn_stub’ failed (Exit 1)
In file included from tensorflow/stream_executor/cuda/cudnn_stub.cc:57:0:
./tensorflow/stream_executor/cuda/cudnn_7_1.inc:626:33: error: ‘cudnnConvolutionFwdPreference_t’ has not been declared
cudnnConvolutionFwdPreference_t preference,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To downgrade the cuDNN package directly might cause some dependency issues.
Based on the below source, TensorFlow v1.15.x only supports cuDNN up to version 7.
It’s recommended to downgrade the whole JetPack software or use a compatible TensorFlow v2.x instead.