CUDA device not available #1255
Replies: 6 comments 3 replies
-
2048MiB GPU? i guess you are having very old GPU and very small one.. atleast you need a GPU with 6-8GB.. 16GB is ideal one |
Beta Was this translation helpful? Give feedback.
-
The problem could be that PyTorch cant identify/compatible with the GPU specified. From the logs, the GPU is too small or too old that MONAI can't work with. |
Beta Was this translation helpful? Give feedback.
-
I don't really understand where I should change this code. I didn't find any similar code in segmentation.py. Should this segmentation_full_CT.py be a new model (among deepedit, deepgrow_3d, etc)? What exactly should I do - in which folder? |
Beta Was this translation helpful? Give feedback.
-
I dont' suggest you trying anything on CPU.. it's not worth. Please get the min GPU required to experience MONAILabel workflows e2e |
Beta Was this translation helpful? Give feedback.
-
Any NVIDIA GPU with 16GB is a good candidate to start with.. |
Beta Was this translation helpful? Give feedback.
-
I am trying to negotiate the use of a GPU server in my hospital. Could you please direct me to installation guide - so I can forward it to the IT guys? I do hope installation on a remote server is possible, not just on a local server (on one's own computer). |
Beta Was this translation helpful? Give feedback.
-
Hi!
I hope I can get some help.
I am constantly getting the error: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
>>nvidia-smi returns this
(monailabel-env) C:\Users\EchoPac>nvidia-smi
Mon Jan 23 22:36:13 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 527.41 Driver Version: 527.41 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Quadro P620 WDDM | 00000000:01:00.0 On | N/A |
| 34% 40C P0 N/A / N/A | 533MiB / 2048MiB | 1% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1828 C+G ...8bbwe\Notepad\Notepad.exe N/A |
| 0 N/A N/A 2120 C+G ...y\ShellExperienceHost.exe N/A |
| 0 N/A N/A 2628 C+G ...518.61\msedgewebview2.exe N/A |
| 0 N/A N/A 4140 C+G ...lPanel\SystemSettings.exe N/A |
| 0 N/A N/A 4916 C+G ....1\bin\SlicerApp-real.exe N/A |
| 0 N/A N/A 8776 C+G C:\Windows\explorer.exe N/A |
| 0 N/A N/A 10124 C+G ...h2txyewy\FESearchHost.exe N/A |
| 0 N/A N/A 10156 C+G ...n1h2txyewy\SearchHost.exe N/A |
| 0 N/A N/A 10356 C+G ...artMenuExperienceHost.exe N/A |
| 0 N/A N/A 10560 C+G ...4__8j3eq9eme6ctt\IGCC.exe N/A |
| 0 N/A N/A 11724 C+G ...ser\Application\brave.exe N/A |
| 0 N/A N/A 14108 C+G ...oft\OneDrive\OneDrive.exe N/A |
| 0 N/A N/A 14176 C+G ...t-windows-x64\nsys-ui.exe N/A |
| 0 N/A N/A 14448 C+G ...sktop-win7-x64\ncu-ui.exe N/A |
| 0 N/A N/A 15100 C+G ...Common\Nsight.Monitor.exe N/A |
| 0 N/A N/A 15920 C+G ...8bbwe\WindowsTerminal.exe N/A |
+-----------------------------------------------------------------------------+
What could be the problem? How to resolve it?
Thank you very much!
Bor
Beta Was this translation helpful? Give feedback.
All reactions