Skip to content

Commit

Permalink
nvcc程序ubuntu安装命令 (d2l-ai#701)
Browse files Browse the repository at this point in the history
* 添加ubuntu系统确实nvcc程序时的安装命令

* 添加ubuntu系统缺失nvcc程序时的安装命令
  • Loading branch information
dxzhan authored Mar 26, 2021
1 parent 05852d2 commit d275241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter_installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ pip uninstall mxnet
```


然后,我们需要找到安装的 CUDA 版本。你可以通过 `nvcc --version``cat /usr/local/cuda/version.txt` 查看。假设你已安装 CUDA 10.1,则可以使用以下命令进行安装:
然后,我们需要找到安装的 CUDA 版本。你可以通过 `nvcc --version``cat /usr/local/cuda/version.txt` 查看。如果不存在nvcc,ubuntu系统安装命令为`sudo apt update && sudo apt install nvidia-cuda-toolkit -y`假设你已安装 CUDA 10.1,则可以使用以下命令进行安装:


```bash
Expand Down

0 comments on commit d275241

Please sign in to comment.