机器学习/pytorch:修订间差异
来自康健生活
创建页面,内容为“== pytorch == == 标题文字 == 检查是否支持gpu。 {{Shc_out|<syntaxhighlight lang="bash"> ubuntu-drivers devices</syntaxhighlight>|<syntaxhighlight lang="bas…” |
|||
| 第1行: | 第1行: | ||
== pytorch == | == pytorch == | ||
== 标题文字 == | == 标题文字 == | ||
检查电脑已经安装了哪些显卡。 | |||
{{Shc_out|<syntaxhighlight lang="bash"> | |||
lspci -k | grep -A 2 -i "VGA"</syntaxhighlight>|<syntaxhighlight lang="bash">00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 05) | |||
DeviceName: Second VGA | |||
Subsystem: ASUSTeK Computer Inc. Device 1c6f | |||
Kernel driver in use: i915 | |||
-- | |||
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060] (rev a1) | |||
DeviceName: VGA | |||
Subsystem: ASUSTeK Computer Inc. Device 1c6f | |||
Kernel driver in use: nouveau | |||
</syntaxhighlight>|$|/home/kangkk}} | |||
检查是否支持gpu。 | 检查是否支持gpu。 | ||
{{Shc_out|<syntaxhighlight lang="bash"> | {{Shc_out|<syntaxhighlight lang="bash"> | ||