Closed jaak-s closed 3 years ago
Any solution for this? I'm experiencing the same issue on:
The most common cause for this sort of problem is a mismatch between the CUDA version you're running with PyTorch and the CUDA version that Haste is built with on your system. What version of CUDA do you have in /usr/local/cuda?
Thanks, I've installed cuda 11 on my Ubuntu now, but now I get "ImportError: libcublas.so.10: cannot open shared object file: No such file or directory".
Does that mean haste-pytorch only works with cuda 10?
I think the issue here is a mismatch between CUDA and cuBLAS on your system – unrelated to Haste. Notice that whatever you're running is looking for a cuBLAS 10 library even though you installed CUDA 11.
@fjsj, it seems that PyTorch brings in the wrong version of CUDA when building an extension with CppExtension
instead of CUDAExtension
. I think that's what you were seeing on your system. I've updated the build to use CUDAExtension
. Hopefully it works for you – let me know if you're still running into issues with it.
@sharvil thanks, is there a release for this fix? I couldn't find the setup.py for PyTorch version o Haste.
When I run an RNN with the example (e.g., GRU, IndRNN) I get illegal memory access error.
Results in:
I'm using Pytorch
1.7.1+cu110
and Python3.7.3
. Haste is from the github master, compiled bymake haste_pytorch
.