ubuntu18.04安装nccl
时间: 2023-08-22 21:11:23 浏览: 127
要在Ubuntu 18.04上安装NCCL,您可以按照以下步骤进行操作:
1. 首先,将NCCL存储库添加到APT系统。有两个可用的存储库,本地存储库和网络存储库。建议选择网络存储库以便轻松检索升级。根据您的CPU架构和Ubuntu版本,替换命令中的<architecture>和<distro>。例如,如果您的CPU架构是x86_64,Ubuntu版本是18.04,则命令如下:
```
sudo dpkg -i nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
```
2. 更新APT软件包列表:
```
sudo apt update
```
3. 安装NCCL包:
```
sudo apt install libnccl2=2.6.4-1+cuda10.1 libnccl-dev=2.6.4-1+cuda10.1
```
这些步骤将帮助您在Ubuntu 18.04上安装NCCL。请确保您已经下载了正确的NCCL软件包,并根据您的系统进行了相应的替换。\[1\] \[2\]
#### 引用[.reference_title]
- *1* *3* [ubuntu下安装nccl具体教程](https://blog.csdn.net/Thanours/article/details/124078380)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [关于在ubuntu18.04的版本下安装NCCL](https://blog.csdn.net/weixin_45670912/article/details/105161182)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文