-
Notifications
You must be signed in to change notification settings - Fork 32
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
ModuleNotFoundError: No module named 'torch._C' #9
Comments
Hi @beomwookang, thanks for reaching out! Note that Nimble does not support cudnn 7. Please use cudnn 8. |
Thanks for your reply @gyeongin ! I forgot to mention that I get an AttributeError message that torch.cuda has no attribute 'Nimble' if I run the script in different working directory. Does this mean that the installation has not been completed? Is there any way to check if nimble has been successfully installed? |
It looks like the build was not successful. $ ls /root/anaconda3/envs/nimble/lib/python3.7/site-packages/torch Also, it would be great if you share the full installation log (maybe via Gist?). |
@gyeongin, sorry for the late follow-up. As you said, it seems like the build is not complete, since I don't see I posted the full installation log at link below: I encountered some conflicts error while handling the issue, so I think I'll need to start all over with a new container. |
Your log has only 1569 tasks, while I got 2923 tasks.
If you still have other issues, please let us know. |
do you have a latest nimble docker image that I can use? |
Hi, I'm writing in English in case someone else meets the same issue.
I built Nimble on a docker container with the identical environment mentioned in the instruction guide except for cudnn (7605 in my case).
Once I run the inference code provided:
I get this error as below:
I first thought that this is because I ran the script in nimble/ where another torch folder exists, but I think I am supposed to do so because torch.cuda.Nimble exists in the corresponding directory.
Could you please specify the guide to run the code after the installation?
My environment is as below (python has been executed in parent directory):
![image](https://user-images.githubusercontent.com/30224335/107337233-6ba24980-6afd-11eb-9474-e24bf90be40d.png)
Thanks!
The text was updated successfully, but these errors were encountered: