Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Cuda by Default #145

Open
ikirtivardhansingh opened this issue Sep 28, 2020 · 0 comments
Open

Cuda by Default #145

ikirtivardhansingh opened this issue Sep 28, 2020 · 0 comments

Comments

@ikirtivardhansingh
Copy link

Hi there,
It is actually just a part of my group project, & I am not aware of the model completely. I am trying to run this particular part,
# cuda by default nli_net.cuda() loss_fn.cuda()
and getting this error message,

Traceback (most recent call last): File "train_nli.py", line 129, in <module> nli_net.cuda() File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 260, in cuda return self._apply(lambda t: t.cuda(device)) File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 187, in _apply module._apply(fn) File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 187, in _apply module._apply(fn) File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/rnn.py", line 117, in _apply self.flatten_parameters() File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/rnn.py", line 113, in flatten_parameters self.batch_first, bool(self.bidirectional)) RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant