I am trying to use Cuda 10.1 on RTX 3090 with Ampere architecture. It is throwing following error when I try to load my model.
(env3.6) bhaskar@bhaskar:/media/bhaskar/Data_Disk/Bhaskar-system_backup/try_cuda$ python a.py
setting gpu on gpu_id: 0
using cuda
loading training data
loading validation data
Train Data size 992
Valid Data size 416
Traceback (most recent call last):
File “a.py”, line 139, in
model.cuda()
File “/media/bhaskar/Data_Disk/Bhaskar-system_backup/env3.6/lib/python3.6/site-packages/torch/nn/modules/module.py”, line 260, in cuda
return self._apply(lambda t: t.cuda(device))
File “/media/bhaskar/Data_Disk/Bhaskar-system_backup/env3.6/lib/python3.6/site-packages/torch/nn/modules/module.py”, line 187, in _apply
module._apply(fn)
File “/media/bhaskar/Data_Disk/Bhaskar-system_backup/env3.6/lib/python3.6/site-packages/torch/nn/modules/rnn.py”, line 117, in _apply
self.flatten_parameters()
File “/media/bhaskar/Data_Disk/Bhaskar-system_backup/env3.6/lib/python3.6/site-packages/torch/nn/modules/rnn.py”, line 113, in flatten_parameters
self.batch_first, bool(self.bidirectional))
RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
[1]+ Killed python a.py
Proble continues even though CUDNN is already installed.