ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

ubuntu20安装mxnet gpu参考汇总

2021-03-06 09:31:38  阅读:240  来源: 互联网

标签:en mxnet persistenced d2l https nvidia gpu ubuntu20 com


一.网址

https://developer.nvidia.com/zh-cn/cuda-downloads

https://docs.nvidia.com/cuda/index.html

https://docs.nvidia.com/cuda/cuda-quick-start-guide/index.html

https://developer.nvidia.com/rdp/cudnn-download

https://docs.nvidia.com/deeplearning/cudnn/install-guide/index.html#verify

https://dist.mxnet.io/python

https://github.com/apache/incubator-mxnet/issues/18931

https://d2l.ai/

https://zh.d2l.ai/

https://github.com/d2l-ai/d2l-en

https://github.com/d2l-ai/d2l-zh

http://ipython.org/notebook.html

https://jupyter.readthedocs.io/en/latest/install.html

https://github.com/jupyter/notebook

二. 讨论

The setup of nvidia.persistenced is formulated as follows.

1. check the status of nvidia-persistenced

$ sudo systemctl status nvidia-persistenced

2. Enable nvidia-persistenced

$ sudo systemctl enable nvidia-persistenced

3. Reboot for execution

$ sudo reboot

If there are issues in the above-mentioned second step, developers need to do the following.

4. Open nvidia-persistenced.service

$ sudo gedit /lib/systemd/system/nvidia-persistenced.service

5. Modify and add the content of the file

1). Modify the line in section of [Service]

[Service]

Change

ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose

To:

ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced --persistence-mode --verbose

2). Add the following lines into the file:

[Install] 
WantedBy=multi-user.target 
RequiredBy=nvidia.service

Notes:

The temporal method to set nvidia.persistenced is to use the following command:

$ sudo nvidia-smi -pm 1

Cheers

https://forums.developer.nvidia.com/t/setting-up-nvidia-persistenced/47986/11

三. 环境

1.

gedit .bashrc

export PATH=/usr/local/cuda-11.2/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.2/lib64\
                         ${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

2.

安装whl包:pip install wheel    ->    pip install  **.whl

 

pip install notebook

3.

pip install d2l

pip install d2lzh

kdir d2l-en && cd d2l-en
curl https://d2l.ai/d2l-en.zip -o d2l-en.zip
unzip d2l-en.zip && rm d2l-en.zip

 

标签:en,mxnet,persistenced,d2l,https,nvidia,gpu,ubuntu20,com
来源: https://blog.csdn.net/eidolon_foot/article/details/114380090

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有