在控制面板中的设备管理器查看自己的显卡,集显。
前提是要将需要安装的工具包放到
conda install --use-local [name]
理解为一个工具箱

说明书

注:如果你显示横向是因为没有安装ipython的结果,你使用的是cpython
help(torch.cuda.is_available)
Help on function is_available in module torch.cuda:
is_available()
Returns a bool indicating if CUDA is currently available.
help(torch.cuda.is_available())
Help on bool object:
class bool(int)
| bool(x) -> bool
|
| Returns True when the argument x is true, False otherwise.
| The builtins True and False are the only two instances of the class bool.
| The class bool is a subclass of the class int, and cannot be subclassed.
|
| Method resolution order:
可以在pytorch中查看各个工具包的东西和使用说明书```