MXNet Forum

Unable to run code on GPU


#1

MXNetError: [22:38:03] C:\ci\libmxnet_1533399150922\work\src\engine\threaded_engine.cc:318: Check failed: device_count_ > 0 (-1 vs. 0) GPU usage requires at least 1 GPU

CUDA environment no error


#2

What’s the output of nvidia-smi ?


#3

±----------------------------------------------------------------------------+
| NVIDIA-SMI 376.51 Driver Version: 376.51 |
|-------------------------------±---------------------±---------------------+
| 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 960M WDDM | 0000:01:00.0 Off | N/A |
| N/A 36C P8 N/A / N/A | 31MiB / 4096MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 9252 C+G …crosoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A |
| 0 10036 C+G …eShell.Experiences.TextInput.InputApp.exe N/A |
±----------------------------------------------------------------------------+


#4

hmm. What about the output of mx.test_utils.list_gpus()?


#5

I have solved this error. The reason for this error is that the mxnet version does not match. Thank you