Mmdetection demo returning: RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED

polyteddy: <ol>
<li>I’ve attempted an install of this repo: <a href="https://github.com/sandipan211/ZSD-SC-Resolver" class="inline-onebox" rel="noopener nofollow ugc">GitHub - sandipan211/ZSD-SC-Resolver: Resolving semantic confusions for improved zero-shot detection (BMVC 2022)</a>
</li>
<li>This work used a Linux environment, which I made every effort to reproduce under Windows:</li>
</ol>
<p>PyTorch version: 1.1.0<br>
Is debug build: False<br>
CUDA used to build PyTorch: 9.0<br>
ROCM used to build PyTorch: N/A</p>
<p>OS: Microsoft Windows 10 Enterprise<br>
GCC version: Could not collect<br>
Clang version: Could not collect<br>
CMake version: Could not collect<br>
Libc version: N/A</p>
<p>Python version: 3.7.3 (default, Apr 24 2019, 15:29:51) [MSC v.1915 64 bit (AMD64)] (64-bit runtime)<br>
Python platform: Windows-10-10.0.19041-SP0<br>
Is CUDA available: True<br>
CUDA runtime version: 10.2.89<br>
GPU models and configuration: GPU 0: Quadro T2000<br>
Nvidia driver version: 527.41<br>
cuDNN version: Could not collect<br>
HIP runtime version: N/A<br>
MIOpen runtime version: N/A<br>
Is XNNPACK available: No</p>
<p>Versions of relevant libraries:<br>
[pip3] numpy==1.21.5<br>
[pip3] torch==1.1.0<br>
[pip3] torchvision==0.3.0<br>
[conda] blas                      1.0                         mkl<br>
[conda] cudatoolkit               9.0                           1<br>
[conda] mkl                       2021.4.0           haa95532_640<br>
[conda] mkl-service               2.4.0            py37h2bbff1b_0<br>
[conda] mkl_fft                   1.3.1            py37h277e83a_0<br>
[conda] mkl_random                1.2.2            py37hf11a4ad_0<br>
[conda] numpy                     1.21.5           py37h7a0a035_3<br>
[conda] numpy-base                1.21.5           py37hca35cd5_3<br>
[conda] pytorch                   1.1.0           py3.7_cuda90_cudnn7_1    pytorch<br>
[conda] torchvision               0.3.0                    pypi_0    pypi</p>
<ol start="3">
<li>Trying to run an example Jupyter notebook under the <strong>mmdetection/demo</strong> folder, with a basic image detection exercise, I keep reaching the dreaded “RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED” error:</li>
</ol>
<p>~\Miniconda3\envs\zsd1\lib\site-packages\torch\nn\modules\conv.py in forward(self, input)<br>
336                             _pair(0), self.dilation, self.groups)<br>
337         return F.conv2d(input, self.weight, self.bias, self.stride,<br>
 → 338                         self.padding, self.dilation, self.groups)<br>
339<br>
340</p>
<p>RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED</p>
<ol start="4">
<li>What might be some root causes of this issue? An obsolete cuDNN version? An unsupported GPU? Something else? Would so appreciate any ideas.</li>
</ol>

ptrblck: <p>PyTorch <code>1.1.0</code> with CUDA 9.0 and cuDNN 7.1 is quite old by now so could you update to the latest release (<code>1.13.1</code>) and check if you are still seeing the error?</p>

polyteddy: <p>Yes, thank you, updating enabled me to make some progress. I encountered issues with AT_CHECK errors but was able to fix them in all cpp files with</p>
<p><span class="hashtag">#ifndef</span> AT_CHECK<br>
<span class="hashtag">#define</span> AT_CHECK TORCH_CHECK<br>
<span class="hashtag">#endif</span></p>