赞
踩
需求:
进程:
wget https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux.run
sudo sh cuda_11.1.0_455.23.05_linux.run
yum install tar
export PATH="/usr/local/cuda-11.1/bin:$PATH"
sudo cp cuda/lib64/libcudnn* /usr/local/cuda-11.1/lib64/ -d
sudo cp cuda/include/cudnn.h /usr/local/cuda-11.1/include/
ldconfig
刷新一下服务的引用nvcc --version
查看cuda 的信息#使用tensorflow 校验是不是已经安装完成
import tensorflow as tf
tf.__version__
tf.test.is_gpu_available()
tf.config.experimental.list_physical_devices('GPU')
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。