Open
Description
Hi I installed libgpuarray and pygpu along with theano following instruction from docs.
When I run
import pygpu
pygpu.test()I get the following error
pygpu.gpuarray.GpuArrayException: b'GPU is too old for CUDA version'
Same error when importing theano with device = cuda0 in .theanorc.
My cuda installation is working fine(verified by making and running the deviceQuery from cuda samples).
Video card - Nvidia Geforce 820m
nvidia driver - Driver Version: 390.59
CUDA Driver Version / Runtime Version - 9.1 / 8.0
OS - Manjaro linux
Some search showed that 820m supports CUDA 8.0. And my gpu is clearly not too old for the CUDA since the samples are running fine. Searching for the exception dosent turn up any relevant results so any help here would be appreciated.
Reacted by Maël Kerbiriou
Metadata
Metadata
Assignees
Labels
No labels
Activity
nouiz commentedon Jul 3, 2018
nuqz commentedon Aug 16, 2018
@nouiz thanks for your tip about driver versions. Finally got Theano working after installing drivers from cuda toolkit run package.
susanwl commentedon Sep 19, 2018
Hi,
I have absolutely the same issue with the same same gpu.
My setup is
nvidia-drivers : 390.87andcuda : 8.0.61. AnddeviceQuerygives:
I believe that the current check for device compatibility is not fully correct,
since:
CUDA Driver driver version apparently indicates not the currently supported
cuda version, but instead the maximum cuda version that is currently
supported:
see
That is, CUDA Driver Version 9.1 supports all cuda versions from 1 to 9.1.
I have manually disabled compatibility check in
gpuarray_buffer_cuda.cand compiled
libgpuarraywithout it. Without that checkpygpu.test()completes almost without errors:
Among these 5 errors, 4 are due to missing
libnccl.soand one:Correspondingly, I believe that the compatibility check gives false positive
for this setup, and probably should be rewritten to check for cuda runtime
version instead of driver version.
dsimba commentedon Dec 19, 2018
hi, would you mind sharing the exact details of the change you did to disable this version check?
thanks
susanwl commentedon Jan 18, 2019
Hi,
I am not sure how detailed I should be, but I have just commented out that check in
src/gpuarray_buffer_cuda.c. Here is the exact patch I have used against v0.7.6patch