LoginSignup
1
0

More than 3 years have passed since last update.

jupyter notebook上でPCのGPUチェック

Last updated at Posted at 2020-11-15

備忘録

「!」記号を付けることでnotebook上でもcmd上のコマンドを実行できるので、以下のように

!nvidia-smi
(base) C:\Users\user>nvidia-smi
Sun Nov 15 00:00:00 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 456.71       Driver Version: 456.71       CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 1070   WDDM  | 00000000:01:00.0  On |                  N/A |
|  0%   50C    P8     9W / 151W |   4805MiB /  8192MiB |      6%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      6664    C+G   C:\Windows\explorer.exe         N/A      |
+-----------------------------------------------------------------------------+

notebookでなくともcmdプロンプト上から行っても同じ。

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0