Unsupported GPU: wrong results
I tried to run the regular Mxnet example, to train on an mnist example. It did run. But it was training only when running on CPU. On the Nvidia GTX 745, which is unsupported, it was running. But the results where garbage, as if it was unallocated. But switching to a Nvidia GTX 1060, it works again. I guess that if an exception was thrown, to warn that the GPU doesn't work, would be a better way to signal that it is not working because of the GPU, wouldn't it be? Because I had to spend some time investing that problem and would probably not be the only one.
Environment info (Required)
- Mxnet version 1.2 (C++ API)
- Windows 7
- Cuda 9.2
Steps to reproduce
- Run the mnist example on CPU.
- Run the same example on an unsupported GPU such as the GTX 745 or the GT 730.
What have you tried to solve it?
- I changed the GPU for an GTX1060. It works.
@dmidge8 Can you provide us the details such as follows:
- Which MXNet example was used to do this test?
- Was the MXNet built from source or installed using pip package?
- If it was built from source, would you be able to share the flags (such as USE_CUDA, CUDA_PATH, etc) used while building the MXNet.
Let's currently label this issue as GPU. Depending on the example we can further add the labels.
@mxnet-label-bot [Windows, CUDA, GPU}
@leleamol
- Indeed, I was not specific enough on this one. When I meant Mnist, I was automatically thinking about Lenet5. Thus I was using this example: incubator-mxnet/cpp-package/example/lenet.cpp
- Well, it was not the python interface that I was using. It was the C++ one. Thus, it was compiled from source.
- I don't remember all the compilations parameters. But it was using OpenBLAS, with USE_LAPACK=True, USE_CUDA=True, USE_CUDNN=True, USE_OPENCV=False, USE_CPP_PACKAGE=True, CMAKE_BUILD_TYPE=Debug with cuda 9.2 and the appropriate version for CUDNN.
Let's add one more flag: @mxnet-label-bot [C++] The GPU flag was also not added, although it is relevant.
Same problem in my NVIDIA 960M
Environment: Mxnet lastest Windows 10 Cuda 9.2