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

when installed all, I run python3 demo.py in terminal, nms/_ext/nms/_nms.so: undefined symbol: __cudaPopCallConfiguration #102

Open
QianLingjun opened this issue Oct 21, 2020 · 4 comments

Comments

@QianLingjun
Copy link

qlj@zyyl-PowerEdge-T630:~/projects/pytorch-mask-rcnn$ python3 demo.py
Traceback (most recent call last):
File "demo.py", line 10, in
import coco
File "/home/qlj/projects/pytorch-mask-rcnn/coco.py", line 50, in
import model as modellib
File "/home/qlj/projects/pytorch-mask-rcnn/model.py", line 26, in
from nms.nms_wrapper import nms
File "/home/qlj/projects/pytorch-mask-rcnn/nms/nms_wrapper.py", line 11, in
from nms.pth_nms import pth_nms
File "/home/qlj/projects/pytorch-mask-rcnn/nms/pth_nms.py", line 2, in
from ._ext import nms
File "/home/qlj/projects/pytorch-mask-rcnn/nms/_ext/nms/init.py", line 3, in
from ._nms import lib as _lib, ffi as _ffi
ImportError: /home/qlj/projects/pytorch-mask-rcnn/nms/_ext/nms/_nms.so: undefined symbol: __cudaPopCallConfiguration

what happen and how can address my problem.Thinks

@f-thirty
Copy link

请问_ext是怎么得到的

@LeiyuanMa
Copy link

you can try a docker with cuda9.0 installed, for me, nvidia/cuda:9.0-cudnn7-devel works.

@JCZ404
Copy link

JCZ404 commented Jan 27, 2021

you can install torch0.4.0+cuda9.0, it works well on my machine, but you should be careful that your machine must have enough GPU memory.

@asd646942825
Copy link

Can I fix this by recompiling PyTorch?

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

5 participants