xxxxxxxxxx
pip3 install 'tensorflow-gpu==2.7.0'
xxxxxxxxxx
pip3 uninstall tensorflow
pip3 install 'tensorflow-gpu==1.15.4'
xxxxxxxxxx
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/
python3 -m pip install tensorflow
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"