Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NvvmSupportError: libNVVM cannot be found. #28

Open
zxg-code opened this issue May 8, 2023 · 0 comments
Open

NvvmSupportError: libNVVM cannot be found. #28

zxg-code opened this issue May 8, 2023 · 0 comments

Comments

@zxg-code
Copy link

zxg-code commented May 8, 2023

Hi guys, this work is very interesting and helpful for my project. However, when I try to run your sample code, I encounter the following error:

FileNotFoundError                         Traceback (most recent call last)
File d:\Miniconda3\envs\usad\lib\site-packages\numba\cuda\cudadrv\nvvm.py:126, in NVVM.__new__(cls)
    125 try:
--> 126     inst.driver = open_cudalib('nvvm')
    127 except OSError as e:

File d:\Miniconda3\envs\usad\lib\site-packages\numba\cuda\cudadrv\libs.py:60, in open_cudalib(lib)
     59 path = get_cudalib(lib)
---> 60 return ctypes.CDLL(path)

File d:\Miniconda3\envs\usad\lib\ctypes\__init__.py:374, in CDLL.__init__(self, name, mode, handle, use_errno, use_last_error, winmode)
    373 if handle is None:
--> 374     self._handle = _dlopen(self._name, mode)
    375 else:

FileNotFoundError: Could not find module 'nvvm.dll' (or one of its dependencies). Try using the full path with constructor syntax.

During handling of the above exception, another exception occurred:

NvvmSupportError                          Traceback (most recent call last)
Cell In [9], line 12
      9 x = x.cuda()
     10 y = y.cuda()
---> 12 loss_soft_dtw(x, y)
...
    133 # Find & populate functions
    134 for name, proto in inst._PROTOTYPES.items():

NvvmSupportError: libNVVM cannot be found. Do `conda install cudatoolkit`:
Could not find module 'nvvm.dll' (or one of its dependencies). Try using the full path with constructor syntax.

I'm pretty sure I have installed the numba library, how can I fix this?
Thanks!

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

No branches or pull requests

1 participant