sudo yum update
sudo rpm -i nvidia-diag-driver-local-repo-rhel7-384.183-1.0-1.x86_64.rpm
sudo rpm -i cuda-repo-rhel7-9-0-local-9.0.176-1.x86_64.rpm
sudo yum clean all
sudo yum install cuda
sudo yum remove *cuda*
sudo rpm -qa | grep -i cuda | sort
sudo yum remove *nvidia*
sudo rpm -qa | grep -i nvidia | sort
pip3 install tensorflow-gpu==1.12.0 --index-url http://pypi.qima-inc.com/youzan/dev/+simple --trusted-host pypi.qima-inc.com
export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH