怎么看nvidia -smi
时间: 2023-08-20 20:14:23 浏览: 127
nvidia-smi.py
5星 · 资源好评率100%
根据引用内容,你可以通过在命令行中输入"nvidia-smi"来查看nvidia-smi的输出。如果nvidia-smi命令无法正常运行,可能是由于驱动版本问题或者缺少必要的文件。你可以尝试在终端中运行以下命令来解决该问题:
```
cp /usr/lib/wsl/lib/nvidia-smi /usr/bin/nvidia-smi
chmod ogu+x /usr/bin/nvidia-smi
```
这些命令将复制nvidia-smi文件到正确的位置并设置其执行权限。之后,你可以再次尝试运行"nvidia-smi"命令来查看其输出。
#### 引用[.reference_title]
- *1* *2* [WSL2报错:nvidia-smi Command ‘nvidia-smi‘ not found, but can be installed with:](https://blog.csdn.net/whu_wmx/article/details/130268912)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [nvidia-smi报错:NVIDIA-SMI has failed because it couldn‘t communicate with the NVIDIA driver 原因及...](https://blog.csdn.net/nizhenshishuai/article/details/123873453)[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^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文