Full error trace:
File "/clipbert/src/modeling/transformers.py", line 198, in forward
embeddings = self.dropout(embeddings)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 550, in __call__
result = self.forward(*input, **kwargs)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/dropout.py", line 54, in forward
return F.dropout(input, self.p, self.training, self.inplace)
File "/opt/conda/lib/python3.6/site-packages/torch/nn/functional.py", line 936, in dropout
else _VF.dropout(input, p, training))
RuntimeError: CUDA error: no kernel image is available for execution on the device
After browsing related topics, I realised that most seems to be that the torch and gpu compute compatibility is incompatible, however running
cuobjdump build/lib.linux-x86_64-3.7/torch/lib/libtorch.so | grep arch | sort | uniq
from another thread just returns me
cuobjdump info : File '/opt/conda/lib/python3.6/site-packages/torch/lib/libtorch.so' does not contain device code
and I have no idea what to make of this error message.
Here is the info about my environment, appreciate it if someone can confirm whether I have a compute compatibility issue.
Collecting environment information...
PyTorch version: 1.5.1+cu101
Is debug build: No
CUDA used to build PyTorch: 10.1
OS: Ubuntu 18.04.3 LTS
GCC version: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CMake version: version 3.14.0
Python version: 3.6
Is CUDA available: Yes
CUDA runtime version: 10.1.243
GPU models and configuration:
GPU 0: Tesla K80
GPU 1: Tesla K80
GPU 2: Tesla K80
GPU 3: Tesla K80
Nvidia driver version: 430.64
cuDNN version: /usr/lib/x86_64-linux-gnu/libcudnn.so.7.6.4
Versions of relevant libraries:
[pip] msgpack-numpy==0.4.3.2
[pip] numpy==1.17.2
[pip] torch==1.5.1+cu101
[pip] torchtext==0.4.0
[pip] torchvision==0.6.1+cu101
[conda] magma-cuda100 2.1.0 5 local
[conda] mkl 2019.1 144
[conda] mkl-include 2019.1 144
[conda] nomkl 3.0 0
[conda] torch 1.5.1+cu101 pypi_0 pypi
[conda] torchtext 0.4.0 pypi_0 pypi
[conda] torchvision 0.6.1+cu101 pypi_0 pypi