Cannot run inference with XNOR kernel on MNIST, PyCUDApy cuda._driver.LogicError: cuLaunchKernel failed: an illegal memory access was encountered
Hello;
I trained the MNIST network for 10 epochs and then I run the mnist.py in Run-Time folder with XNOR kernel. I got below error: Pycuda cuLaunchkernel error.
Can anyone tell me how to fix this ?
Thanks
(root) d1230@linse3:~/no_backup/d1230/anaconda2/bin/BinaryNet/Run-time> python mnist.py
Using gpu device 0: Graphics Device (CNMeM is enabled with initial size: 30.0% of memory, CuDNN 5110)
/home/d1230/no_backup/d1230/anaconda2/lib/python2.7/site-packages/theano/sandbox/cuda/init.py:600: UserWarning: Your CuDNN version is more recent then Theano. If you see problems, try updating Theano or downgrading CuDNN to version 4.
warnings.warn(warn)
batch_size = 10000
num_units = 4096
n_hidden_layers = 3
kernel = xnor
Loading MNIST dataset...
Building the MLP...
Loading the trained parameters and binarizing the weights...
Running...
Traceback (most recent call last):
File "mnist.py", line 112, in
Backtrace when the node is created(use Theano flag traceback.limit=N to make it longer):
File "mnist.py", line 88, in
HINT: Use the Theano flag 'exception_verbosity=high' for a debugprint and storage map footprint of this apply node. PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuMemFree failed: context is destroyed PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuMemFree failed: context is destroyed PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuModuleUnload failed: context is destroyed PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuModuleUnload failed: context is destroyed PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuModuleUnload failed: context is destroyed PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuModuleUnload failed: context is destroyed PyCUDA WARNING: a clean-up operation failed (dead context maybe?) cuCtxDetach failed: context is destroyed (root) d1230@linse3:~/no_backup/d1230/anaconda2/bin/BinaryNet/Run-time> (root) d1230@linse3:~/no_backup/d1230/anaconda2/bin/BinaryNet/Run-time>
I have the same problem. @aditbhrgv did you find a solution?
Unfortunately not @ahmygit ! Sorry !