Hello,
everytime I try to transfer a tensor from my cpu to my gpu this error occurs:
RuntimeError: CUDA error: all CUDA-capable devices are busy or unavailable
I installed Pytorch via the suggested command line on the website, and run a Nvidia 1060 6 GB.
Can anyone tell me why it is not working?
nvidia-smi
Fri Apr 23 15:40:38 2021
±----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 106… Off | 00000000:26:00.0 On | N/A |
| 27% 56C P0 30W / 120W | 401MiB / 6075MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 948 G /usr/lib/xorg/Xorg 259MiB |
| 0 N/A N/A 1539 G /usr/bin/gnome-shell 66MiB |
| 0 N/A N/A 2699 G …gAAAAAAAAA --shared-files 8MiB |
| 0 N/A N/A 2817 G …AAAAAAAA== --shared-files 60MiB |
±----------------------------------------------------------------------------+