Tensorflow and CuDNN, first initial session takes 10 minutes to create

Hello Nvidia Forums, I have encounter the following issue with tensorflow (both built from sources and whl’s that I have found in github from nvidia repos). The issue is that once I create the first session i.e:

import tensorflow as tf
sess = tf.Session()
'''

It takes like around 10 minutes to return to the intepreter. (issue appears to be independent of the tensorflow version, either 1.7 and 1.8).


Is there any guideline on how to investigate this issues further.

Hi,

We don’t meet this issue before.

Please remember to maximize the CPU/GPU clock first.

sudo ~/jetson_clocks.sh

Thanks.