Hello, i have RTX 2060 with Ryzen 5 2600x. I am trying to train my CNN with GPU however even though i use GPU, the training is very slow, almost same as CPU.
After some research i saw a post on stackoverflow 1 mentioning that i can not use GPU if there is display attached to the it.
Is that true?
My nvidia-smi looks like this.
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 445.75       Driver Version: 445.75       CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| 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 RTX 2060   WDDM  | 00000000:1C:00.0  On |                  N/A |
| 22%   53C    P2    29W / 160W |   3866MiB /  6144MiB |      6%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A     21072      C   ..._torch\Scripts\python.exe    N/A      |
+-----------------------------------------------------------------------------+

My network, images, labels are all converted to cuda. But it is very slow.