Discussion:
[theano-users] GPU Exception : GpuArrayException: ('nvrtcCompileProgram: NVRTC_ERROR_INVALID_OPTION', 3)
Vaibhav Khanduja
2017-10-15 04:36:19 UTC
Permalink
I am getting exception while executing gpu_test.py program.


I am using bleeding edge theano and 0.7.2 version for pygpu and libgpuarray


Using cuDNN version 5005 on context None

ERROR (theano.gpuarray): Could not initialize pygpu, support disabled

Traceback (most recent call last):

File
"/usr/local/lib/python2.7/dist-packages/theano/gpuarray/__init__.py", line
220, in <module>

use(config.device)

File
"/usr/local/lib/python2.7/dist-packages/theano/gpuarray/__init__.py", line
207, in use

init_dev(device, preallocate=preallocate)

File
"/usr/local/lib/python2.7/dist-packages/theano/gpuarray/__init__.py", line
152, in init_dev

pygpu.blas.gemm(0, tmp, tmp, 0, tmp, overwrite_c=True)

File "pygpu/blas.pyx", line 149, in pygpu.blas.gemm

File "pygpu/blas.pyx", line 47, in pygpu.blas.pygpu_blas_rgemm

GpuArrayException: ('nvrtcCompileProgram: NVRTC_ERROR_INVALID_OPTION', 3)

[Elemwise{exp,no_inplace}(<TensorType(float32, vector)>)]

Looping 1000 times took 1.544191 seconds

Result is [ 1.23178029 1.61879337 1.52278066 ..., 2.20771813 2.29967761

1.62323284]

Used the cpu
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Pascal Lamblin
2017-10-16 22:32:42 UTC
Permalink
Which version of CUDA are you using?
It may be an old one since cuDNN 5.0 seems to be used. That version may
be incompatible with the latest libgpuarray.
Can you update?
Post by Vaibhav Khanduja
I am getting exception while executing gpu_test.py program.
I am using bleeding edge theano and 0.7.2 version for pygpu and libgpuarray
Using cuDNN version 5005 on context None
ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
File
"/usr/local/lib/python2.7/dist-packages/theano/gpuarray/__init__.py",
line 220, in <module>
use(config.device)
File
"/usr/local/lib/python2.7/dist-packages/theano/gpuarray/__init__.py",
line 207, in use
init_dev(device, preallocate=preallocate)
File
"/usr/local/lib/python2.7/dist-packages/theano/gpuarray/__init__.py",
line 152, in init_dev
pygpu.blas.gemm(0, tmp, tmp, 0, tmp, overwrite_c=True)
File "pygpu/blas.pyx", line 149, in pygpu.blas.gemm
File "pygpu/blas.pyx", line 47, in pygpu.blas.pygpu_blas_rgemm
GpuArrayException: ('nvrtcCompileProgram: NVRTC_ERROR_INVALID_OPTION', 3)
[Elemwise{exp,no_inplace}(<TensorType(float32, vector)>)]
Looping 1000 times took 1.544191 seconds
Result is [ 1.231780291.618793371.52278066 ...,2.207718132.29967761
1.62323284]
Used the cpu
--
---
You received this message because you are subscribed to the Google
Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send
For more options, visit https://groups.google.com/d/optout.
--
Pascal Lamblin
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...