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

caffe2_nvrtc.dll not found #116

Open
odrapj opened this issue Apr 22, 2020 · 15 comments
Open

caffe2_nvrtc.dll not found #116

odrapj opened this issue Apr 22, 2020 · 15 comments

Comments

@odrapj
Copy link

odrapj commented Apr 22, 2020

Hi in step run_windows.bat there is a error;

FileNotFoundError: Could not find module 'C:\Users\junpa.conda\envs\avatarify\lib\site-packages\torch\lib\caffe2_nvrtc.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Error Run_Windows

@neoandrevictor
Copy link

related with pytorch/pytorch#37022 , related topic closed without good solution

@neoandrevictor
Copy link

I moved cuda dlls to system32 wich i picked in the link above and reimported pytorch and worked.

@alievk
Copy link
Owner

alievk commented Apr 25, 2020

@neoandrevictor Could you describe the solution in more detail, i.e. which files exactly you moved and where?

@alievk alievk changed the title Error run_windows.bat FileNotFoundError: Could not find module caffe2_nvrtc.dll not found Apr 25, 2020
@nt314p
Copy link

nt314p commented May 1, 2020

Possibly see #103

@osguald
Copy link

osguald commented Jun 2, 2020

I

I moved cuda dlls to system32 wich i picked in the link above and reimported pytorch and worked.

Yes, moving the dlls cuda into system32 folder, it works for me

@Coooorinne
Copy link

pytorch/pytorch#37022
worked for me as well

@JohanAR
Copy link
Collaborator

JohanAR commented Jan 23, 2021

Anyone still having this issue?

@MarouaneZ1
Copy link

Anyone still having this issue?

i have the same issue

@JohanAR
Copy link
Collaborator

JohanAR commented Sep 25, 2022

@MarouaneZ1 You mean you have exactly the same issue, where it can't find the file "caffe2_nvrtc.dll"?

@MarouaneZ1
Copy link

@MarouaneZ1 You mean you have exactly the same issue, where it can't find the file "caffe2_nvrtc.dll"?

Could not find module 'C:\Users.........\anaconda3\lib\site-packages\torch\lib\caffe2_nvrtc.dll' here it is

@MarouaneZ1
Copy link

@MarouaneZ1 You mean you have exactly the same issue, where it can't find the file "caffe2_nvrtc.dll"?

Could not find module 'C:\Users.........\anaconda3\lib\site-packages\torch\lib\caffe2_nvrtc.dll' here it is

i got a new issue::: ImportError: DLL load failed while importing _C (i got this issue while trying to use Detectron2LayoutModel )

@JohanAR
Copy link
Collaborator

JohanAR commented Sep 25, 2022

Ok, leaving this issue open then, in case someone who runs Windows comes by with some information of what might be causing it.

@wowords
Copy link

wowords commented Nov 29, 2022

Hey guys, what solved the issue for me is to install cudatoolkit, turns out GPU diver installation is not enough.

You can download the CudaToolKit just like this: https://anaconda.org/anaconda/cudatoolkit

hope this helps

@casras111
Copy link

Hey guys, what solved the issue for me is to install cudatoolkit, turns out GPU diver installation is not enough.

You can download the CudaToolKit just like this: https://anaconda.org/anaconda/cudatoolkit

hope this helps

worked for me

@DamienLea1
Copy link

Had the exact same issue. Installing CudaToolKit fixed it.

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