I tried to print out the cudnn information from tensorflow as follows
from tensorflow.python.platform import build_info as tf_build_info print(tf_build_info.cudnn