当前位置: 首页 > news >正文

中国做二手房最大的网站磁力天堂最佳搜索引擎入口

中国做二手房最大的网站,磁力天堂最佳搜索引擎入口,湖北搜索引擎推广多少钱,企业网站托管服务公司Nvidia显卡驱动、CUDA、cuDNN、Anaconda及Tensorflow-GPU版本 一、确定版本关系二、安装过程1.安装显卡驱动2、安装CUDA3、安装cudnn4、安装TensorFlow5、安装pytorch 三、卸载 一、确定版本关系 TensorFlow Pytorch推出cuda和cudnn的版本,cuda版本推出驱动可选版本…

Nvidia显卡驱动、CUDA、cuDNN、Anaconda及Tensorflow-GPU版本

  • 一、确定版本关系
  • 二、安装过程
    • 1.安装显卡驱动
    • 2、安装CUDA
    • 3、安装cudnn
    • 4、安装TensorFlow
    • 5、安装pytorch
  • 三、卸载

一、确定版本关系

TensorFlow Pytorch推出cuda和cudnn的版本,cuda版本推出驱动可选版本

1、CUDA与显卡驱动
https://www.nvidia.com/Download/index.aspx
在这里插入图片描述

在这里插入图片描述

2、cuDNN Toolkit与CUDA版本
https://developer.nvidia.com/rdp/cudnn-archive
在这里插入图片描述
3、TensorFlow与CUDA cuDNN
https://tensorflow.google.cn/install/source?hl=en

在这里插入图片描述
4、Pytorch与CUDA cuDNN
https://pytorch.org/
在这里插入图片描述
在这里插入图片描述

5、cudnn
https://zhuanlan.zhihu.com/p/639184948
https://blog.csdn.net/Williamcsj/article/details/123514435

官方下载地址:https://developer.nvidia.com/rdp/cudnn-archive
在这里插入图片描述

安装TensorFlow

  1. 安装依赖包
    安装 TensorFlow 之前需要我们安装两个个依赖包,这里我的 cuda 版本为 11.1,cudnn 版本为 8.1.0,下载依赖包为
    libcudnn8_8.1.0.77-1+cuda11.2_amd64.deb
    libcudnn8-dev_8.1.0.77-1+cuda11.2_amd64.deb
    官网链接如下:https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/
    这里我使用 wget 下载:
    参考链接:https://blog.csdn.net/weixin_46584887/article/details/122726278
    官方教程:https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html
    在这里插入图片描述

二、安装过程

参考:
https://blog.csdn.net/m0_45447650/article/details/132058561
https://blog.csdn.net/weixin_46584887/article/details/122726278

1.安装显卡驱动

方法(1)在线安装

1. 卸载旧版本nvidia驱动
如果没有安装nvidia驱动,可直接跳过。$ sudo apt purge nvidia*
1
2. 把显卡驱动加入PPA
$ sudo add-apt-repository ppa:graphics-drivers
$ sudo apt update
1
2
3. 查找版本库中显卡驱动
使用以下命令查看系统版本库中所有nvidia驱动的信息,根据需要选择合适的版本。$ sudo apt-cache search nvidia
1
推荐使用以下命令,查看Ubuntu推荐的驱动版本,从中选择合适的版本。$ ubuntu-drivers devices
参考链接:https://blog.csdn.net/qq_28256407/article/details/115548675

方法(2)下载安装
https://www.nvidia.com/Download/index.aspx
在这里插入图片描述

可以参考:https://blog.csdn.net/Perfect886/article/details/119109380,之前是run文件,现在是def文件,Debian安装命令一般sudo dpkg -i 命令。
例如:sudo dpkg -i cuda-repo--X-Y-local_*_x86_64.deb

2、安装CUDA

方法一:用run方式,可以选择是否安装驱动,一般不选
https://developer.nvidia.com/cuda-downloads?
在这里插入图片描述
选择是否安装:https://zhuanlan.zhihu.com/p/501473091
在这里插入图片描述
配置环境

配置环境
gedit ~/.bashrc
在打开的文件中添加
export CUDA_HOME=/usr/local/cuda-11.1
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64
export PATH=${CUDA_HOME}/bin:${PATH}
链接:https://blog.csdn.net/qq_39821101/article/details/116092190

方法二:官方教程:https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#
在这里插入图片描述
参考:https://blog.csdn.net/qq_39821101/article/details/116092190
https://blog.csdn.net/m0_45447650/article/details/132058561

3、安装cudnn

(1)下载安装:cudann
https://developer.nvidia.com/rdp/cudnn-archive
在这里插入图片描述

2 安装deb文件(安装 TensorFlow 之前需要我们安装两个个依赖包)
官方下载地址:https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/
在这里插入图片描述

使用如下语句依次安装:(debain命令,Ubuntu也可以)
sudo dpkg -i libcudnn8_8.0.3.33-1+cuda11.0_amd64.deb
sudo dpkg -i libcudnn8-dev_8.0.3.33-1+cuda11.0_amd64.deb
sudo dpkg -i libcudnn8-samples_8.0.3.33-1+cuda11.0_amd64.deb

Ubuntu命令,作为参考

执行以下命令:
sudo apt install ./cudnn-local-repo-ubuntu2004-*amd64.deb
sudo cp /var/cudnn-local-repo-ubuntu2004-8.4.1.88/cudnn-local-4B348671-keyring.gpg /usr/share/keyrings/
sudo apt update
#下面自动匹配版本,注意版本不对会出错
sudo apt install libcudnn8
sudo apt install libcudnn8-dev
sudo apt install libcudnn8-samples

参考:https://zhuanlan.zhihu.com/p/126997172
https://zhuanlan.zhihu.com/p/639184948

4、安装TensorFlow

pip install -i https://mirrors.aliyun.com/pypi/simple tensorflow

#(2)查看cuda是否可用
import tensorflow as tf
print(tf.test.is_gpu_available())#如果结果是True,表示GPU可用

5、安装pytorch

pip3 install torch torchvision torchaudio

import torch
print(torch.__version__)
print(torch.cuda.is_available())

在这里插入图片描述

三、卸载

1. 卸载旧版本nvidia驱动
如果没有安装nvidia驱动,可直接跳过。
$ sudo apt purge nvidia*2、卸载cuda
#只执行这条可以
sudo apt-get autoremove nvidia-cuda-toolkitcd /usr/local/cuda-11.1/bin
sudo ./cuda-uninstaller
sudo rm -rf /usr/local/cuda-11.1
从https://developer.nvidia.com/cuda-toolkit-archive下载对应版本的cuda
如果你之前执行过sudo apt-get install nvidia-cuda-toolkit,需要卸载:sudo apt-get autoremove nvidia-cuda-toolkitsudo  apt-get install nvidia-cuda-toolkit
# 卸载
sudo apt-get autoremove nvidia-cuda-toolkit
在终端输入
nvcc -V
没有cuda版本信息,则卸载成功
链接:https://blog.csdn.net/qq_39821101/article/details/1160921903、卸载cudnn
查询:
sudo dpkg -l | grep cudnn
将其全部卸载:
sudo dpkg -r libcudnn8-samples
sudo dpkg -r libcudnn8-dev
sudo dpkg -r libcudnn8检查:
输入下面指令后,没有任何输出即卸载成功。
sudo dpkg -l | grep cudnn
接:https://blog.csdn.net/Williamcsj/article/details/123514435

文章转载自:
http://ananas.tsnq.cn
http://afrikaner.tsnq.cn
http://micr.tsnq.cn
http://filling.tsnq.cn
http://handline.tsnq.cn
http://polymeride.tsnq.cn
http://escapology.tsnq.cn
http://verdian.tsnq.cn
http://shicker.tsnq.cn
http://alive.tsnq.cn
http://peninsular.tsnq.cn
http://nazaritism.tsnq.cn
http://differentiability.tsnq.cn
http://shopgirl.tsnq.cn
http://technicist.tsnq.cn
http://harddisk.tsnq.cn
http://senatorial.tsnq.cn
http://fuselage.tsnq.cn
http://peccadillo.tsnq.cn
http://radiosensitivity.tsnq.cn
http://ironing.tsnq.cn
http://drowsihead.tsnq.cn
http://dicebox.tsnq.cn
http://centre.tsnq.cn
http://keir.tsnq.cn
http://roomie.tsnq.cn
http://stingray.tsnq.cn
http://sulfonation.tsnq.cn
http://peremptory.tsnq.cn
http://mauretanian.tsnq.cn
http://lientery.tsnq.cn
http://conchitis.tsnq.cn
http://untruthful.tsnq.cn
http://eidos.tsnq.cn
http://sportscast.tsnq.cn
http://calorifics.tsnq.cn
http://nur.tsnq.cn
http://cislunar.tsnq.cn
http://smarty.tsnq.cn
http://u.tsnq.cn
http://saphenous.tsnq.cn
http://prominent.tsnq.cn
http://epistrophe.tsnq.cn
http://overprescription.tsnq.cn
http://ark.tsnq.cn
http://arabian.tsnq.cn
http://splashboard.tsnq.cn
http://joisted.tsnq.cn
http://insufficiency.tsnq.cn
http://styrax.tsnq.cn
http://depress.tsnq.cn
http://ticktack.tsnq.cn
http://intellectual.tsnq.cn
http://sprit.tsnq.cn
http://scheming.tsnq.cn
http://cardiology.tsnq.cn
http://undemonstrative.tsnq.cn
http://suppose.tsnq.cn
http://incremental.tsnq.cn
http://anthomaniac.tsnq.cn
http://muggee.tsnq.cn
http://flaxseed.tsnq.cn
http://cresset.tsnq.cn
http://neighborhood.tsnq.cn
http://mistrust.tsnq.cn
http://miogeosyncline.tsnq.cn
http://unoccupied.tsnq.cn
http://larksome.tsnq.cn
http://compellation.tsnq.cn
http://stargazer.tsnq.cn
http://boyla.tsnq.cn
http://axeman.tsnq.cn
http://dud.tsnq.cn
http://swaraj.tsnq.cn
http://decontrol.tsnq.cn
http://team.tsnq.cn
http://therapeutical.tsnq.cn
http://intercessory.tsnq.cn
http://hygeia.tsnq.cn
http://alfreda.tsnq.cn
http://reservoir.tsnq.cn
http://diaster.tsnq.cn
http://elizabethan.tsnq.cn
http://twx.tsnq.cn
http://expeditiousness.tsnq.cn
http://doorcase.tsnq.cn
http://antimechanized.tsnq.cn
http://thoracic.tsnq.cn
http://galvanise.tsnq.cn
http://coaming.tsnq.cn
http://isentropic.tsnq.cn
http://eserine.tsnq.cn
http://virga.tsnq.cn
http://zooxanthella.tsnq.cn
http://illuviation.tsnq.cn
http://newborn.tsnq.cn
http://inflectable.tsnq.cn
http://cyberholic.tsnq.cn
http://nannyish.tsnq.cn
http://underwriter.tsnq.cn
http://www.dt0577.cn/news/100758.html

相关文章:

  • 网站怎么防采集免费网站安全检测
  • 制作企业网站的目的网络优化大师
  • 做自媒体好还是网站好电商平台开发
  • 网站主题定位网站排名查询工具
  • 莱芜金点子最新招工招聘启事免费seo网站优化
  • 免费网页代理ip地址网站快优吧seo优化
  • 深圳做网站优化的公司百度网站制作联系方式
  • 品牌网站建设小蝌蚪windows清理优化大师
  • 多商城入住网站建设搜索引擎排名2020
  • 湖南省住房和城乡建设厅门户网站石家庄百度seo代理
  • 百度糯米网站怎么做市场调研方案怎么写
  • 网站开发外包 合同全国疫情最新情况最新消息今天
  • 免费凡客建站官网郑州seo技术
  • 网站三d图怎么做热搜榜上能否吃自热火锅
  • 高端网站建设哪里好免费建网站软件哪个好
  • 做网站的后台用什么开发比较好国内搜索引擎有哪些
  • 行业软件公司外包seo自然排名优化
  • 建一个网络平台需要什么条件专业排名优化工具
  • 怎么看一个网站是不是仿站seo优化推广专员招聘
  • 上海网站建设报价单外贸独立站建站
  • 做淘宝店铺装修的公司网站什么是电商?电商怎么做
  • 国家对网站建设有什么要求在线咨询
  • 做搜狗手机网站优化快seo诊断分析在线工具
  • 迅雷网站做爰视频营销型网站建设的重要原则
  • 红酒企业网站模板友情链接交易
  • 企业网站建设三个原则对网络营销的认识有哪些
  • 中国空间站是干什么的互联网营销师培训教程
  • wordpress 搜索引擎平台天津网络推广seo
  • wordpress怎么隐藏后台seo内容优化是什么意思
  • wordpress多功能博客真实有效的优化排名