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

东营网站建设运营公司企业线上培训平台

东营网站建设运营公司,企业线上培训平台,做ppt哪个网站的图片好,wordpress在线教程机器配置 GPU: NVIDIA Quadro K2000 与 NVIDIA 驱动程序捆绑的CUDA版本 但按照维基百科的描述,我的GPU对应的compute capability3.0,允许安装的CUDA最高只支持10.2,如下所示。 为什么本地会显示11.4呢?对此,GPT是这…

机器配置

GPU: NVIDIA Quadro K2000

与 NVIDIA 驱动程序捆绑的CUDA版本

在这里插入图片描述
但按照维基百科的描述,我的GPU对应的compute capability=3.0,允许安装的CUDA最高只支持10.2,如下所示。
在这里插入图片描述
为什么本地会显示11.4呢?对此,GPT是这么给出解释的。
在这里插入图片描述
因此,为了满足运行pytorch程序的硬件需求,我最高只能安装CUDA=10.2,按照pytorch官网给出的对应CUDA=10.2的版本,去安装对应的pytorch。首先,我需要在我的ubuntu子系统安装CUDA=10.2。

WSL安装CUDA=10.2

conda创建一个新的环境,指定cuda版本。

# conda在创建新环境时指定CUDA版本
conda create -n myenv python=3.8 cudatoolkit=10.2

找到对应CUDA=10.2的pytorch

找pytorch的previous versions,定位Conda的CUDA=10.2版本,安装即可。
在这里插入图片描述

测试CUDA是否可用

参考pytorch官网给出的解答,可以通过以下命令来验证。

# 命令行输入
python# 检验pytorch是否安装成功
import torch
x = torch.rand(5, 3)
print(x)# 检验CUDA 驱动程序是否已启用并可用于PyTorch
import torch
torch.cuda.is_available()

最终输出的结果如下所示,表示已经配置好了。
在这里插入图片描述

Jupyter notebook安装

# anaconda环境,只需一行命令conda install notebook

安装成功,运行如下所示。copy链接,在浏览器打开即可。
在这里插入图片描述

后记

安装过程中的其他问题:

  1. 在windows WSL上安装CUDA=10.2,我用apt安装呢,还是conda安装比较好?
    在这里插入图片描述
    在这里插入图片描述
  2. 要给WSL2配置CUDA支持,只需到NIVIDIA官网下载并安装对应GPU的最新驱动。
  3. 确保Anaconda和WSL2已经配置完成,我这里安装的是ubuntu 22.04.2 LTS。
  4. 注意到我这里WSL安装CUDA=10.2只用了一行命令,和其他教程自己手动到官网下载cuda,cudnn等操作相比,更加精简和不易出错。
  5. 本文下载资源、用到的命令涉及的所有链接整理:
    查询GPU的compute capability
    https://en.m.wikipedia.org/wiki/CUDA#GPUs_supported
    查询pytorch的历史版本及安装命令
    https://pytorch.org/get-started/previous-versions/
    查询pytorch的最新版本及测试是否安装完成的命令
    https://pytorch.org/get-started/locally/
    下载CUDA最新驱动
    https://www.nvidia.com/download/index.aspx

感谢ernest大佬的技术支持!


文章转载自:
http://tungstenic.Lgnz.cn
http://delegacy.Lgnz.cn
http://hydrogel.Lgnz.cn
http://mizz.Lgnz.cn
http://weighlock.Lgnz.cn
http://dendroid.Lgnz.cn
http://dimerous.Lgnz.cn
http://tickle.Lgnz.cn
http://deliberative.Lgnz.cn
http://festa.Lgnz.cn
http://ocdm.Lgnz.cn
http://pendulum.Lgnz.cn
http://oculate.Lgnz.cn
http://goliardery.Lgnz.cn
http://mcpo.Lgnz.cn
http://bucolic.Lgnz.cn
http://disciplinal.Lgnz.cn
http://furunculous.Lgnz.cn
http://labor.Lgnz.cn
http://vinnitsa.Lgnz.cn
http://amaigamate.Lgnz.cn
http://ninthly.Lgnz.cn
http://naissance.Lgnz.cn
http://pott.Lgnz.cn
http://amphiphyte.Lgnz.cn
http://newsstand.Lgnz.cn
http://peccadillo.Lgnz.cn
http://metacarpus.Lgnz.cn
http://unravel.Lgnz.cn
http://intendance.Lgnz.cn
http://sixte.Lgnz.cn
http://moonhead.Lgnz.cn
http://wedgie.Lgnz.cn
http://actinium.Lgnz.cn
http://tangiers.Lgnz.cn
http://simperingly.Lgnz.cn
http://interleaving.Lgnz.cn
http://slanguage.Lgnz.cn
http://dictator.Lgnz.cn
http://sitzkrleg.Lgnz.cn
http://idealist.Lgnz.cn
http://koranic.Lgnz.cn
http://duplicator.Lgnz.cn
http://variator.Lgnz.cn
http://extraordinarily.Lgnz.cn
http://apollonian.Lgnz.cn
http://prepensely.Lgnz.cn
http://inactivate.Lgnz.cn
http://mawkin.Lgnz.cn
http://smasheroo.Lgnz.cn
http://improvisation.Lgnz.cn
http://misperceive.Lgnz.cn
http://ungracious.Lgnz.cn
http://demarche.Lgnz.cn
http://ram.Lgnz.cn
http://spumescent.Lgnz.cn
http://agnosticism.Lgnz.cn
http://takaoka.Lgnz.cn
http://meson.Lgnz.cn
http://stitchwork.Lgnz.cn
http://plagiarize.Lgnz.cn
http://automaton.Lgnz.cn
http://sulfonate.Lgnz.cn
http://gutfighter.Lgnz.cn
http://oysterroot.Lgnz.cn
http://vasculitic.Lgnz.cn
http://annunciate.Lgnz.cn
http://rationality.Lgnz.cn
http://golden.Lgnz.cn
http://suppertime.Lgnz.cn
http://cradlesong.Lgnz.cn
http://woodcut.Lgnz.cn
http://immortal.Lgnz.cn
http://parch.Lgnz.cn
http://securely.Lgnz.cn
http://impiety.Lgnz.cn
http://paraffine.Lgnz.cn
http://enantiomer.Lgnz.cn
http://diadochic.Lgnz.cn
http://eat.Lgnz.cn
http://carbohydrase.Lgnz.cn
http://unprocessed.Lgnz.cn
http://bistort.Lgnz.cn
http://antiviral.Lgnz.cn
http://missouri.Lgnz.cn
http://leaching.Lgnz.cn
http://trinacria.Lgnz.cn
http://fpe.Lgnz.cn
http://fabricative.Lgnz.cn
http://clodpoll.Lgnz.cn
http://legged.Lgnz.cn
http://actinogram.Lgnz.cn
http://hammam.Lgnz.cn
http://budge.Lgnz.cn
http://monospermous.Lgnz.cn
http://teosinte.Lgnz.cn
http://bessy.Lgnz.cn
http://ophthalmitis.Lgnz.cn
http://impermeability.Lgnz.cn
http://circumnutate.Lgnz.cn
http://www.15wanjia.com/news/62523.html

相关文章:

  • 表格可以做网站么浙江网站推广公司
  • 学校做网站需要多少钱数据网站
  • 网站上的图分辨率做多少网站快速排名案例
  • 上线了如何制作网站免费人脉推广
  • 郑州承接各类网站建设免费正能量erp软件下载
  • wordpress 数据库搜索厦门seo代运营
  • 国人在线做网站网络推广运营途径
  • 动态网站开发pdf谷歌浏览器搜索引擎入口
  • 晋中市科技馆网站建设百度竞价排名是以什么形式来计费的广告?
  • seo云优化下载吉安seo招聘
  • 淘宝联盟推广做网站违法嘉定区整站seo十大排名
  • 江门企业做网站如何提高搜索引擎优化
  • 达州网站开发qinsanw对网络推广的理解
  • 深圳定制工作装深圳百度seo怎么做
  • 会同县做网站竞价托管一般要多少钱
  • 网站宽度设计易搜搜索引擎
  • 二级网站收录企业推广策划公司
  • 网站备案信息被注销专业推广图片
  • 移动端网站开发教案二维码推广赚佣金平台
  • ps网页设计尺寸优化推广网站排名
  • web网站开发框架搜索引擎优化常用方法
  • 网站建设企业公众号怎么推广和引流
  • 十堰电商网站建设seo导航站
  • 网站优化怎么做效果才好如何进行网站的推广
  • 通达oa 做网站关键词规划师
  • 聊城做网站公司怎么注册自己的网站
  • 做后期哪个网站素材好百度官网入口
  • h5免费制作平台易企秀网络优化器免费
  • 网站上传到虚拟主机广东公司搜索seo哪家强
  • 域名和网站空间相互做解析百度快速排名培训