LD_LIBRARY_PATH
must point out cuDNN import tensorflow as tf tf.config.experimental.list_physical_devices('GPU')
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
LD_LIBRARY_PATH
must point out cuDNN import tensorflow as tf tf.config.experimental.list_physical_devices('GPU')
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"