kohr-h commented on issue #13135: [Python] CUDNN error from 3D deconvolution
URL: 
https://github.com/apache/incubator-mxnet/issues/13135#issuecomment-436255578
 
 
   Furthermore: If I leave out the last line and do `python -i tmp.py` I 
observe this:
   ```py
   >>> [14:34:59] 
c:\users\holger\git\mxnet\src\operator\nn\cudnn\./cudnn_algoreg-inl.h:97: 
Running performance tests to find the best convolution algorithm, this can take 
a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
   [14:34:59] 
c:\users\holger\git\mxnet\src\operator\nn\cudnn\./cudnn_algoreg-inl.h:97: 
Running performance tests to find the best convolution algorithm, this can take 
a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
   
   >>> output.shape
   (1, 1, 64, 64, 64)
   >>> from mxnet.base import _LIB, py_str
   >>> py_str(_LIB.MXGetLastError())
   ''
   >>> input = input.asnumpy()
   >>> py_str(_LIB.MXGetLastError())
   ''
   >>> output = output.asnumpy()
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "c:\users\holger\git\mxnet\python\mxnet\ndarray\ndarray.py", line 
1980, in asnumpy
       ctypes.c_size_t(data.size)))
     File "c:\users\holger\git\mxnet\python\mxnet\base.py", line 252, in 
check_call
       raise MXNetError(py_str(_LIB.MXGetLastError()))
   mxnet.base.MXNetError: [14:34:59] 
c:\users\holger\git\mxnet\src\operator\nn\./cudnn/cudnn_deconvolution-inl.h:849:
 Failed to find any forward deconvolution algorithm with workspace size of 
536870912 bytes, please consider reducing batch/model size or increasing the 
workspace size
   ```
   So the error has in fact not even occurred before the call to `asnumpy`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to