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

'Segmentation fault (core dumped)' when moving a tensor to a device #21

Open
qihao067 opened this issue Dec 22, 2021 · 1 comment
Open

Comments

@qihao067
Copy link

qihao067 commented Dec 22, 2021

Hi! Thanks for your work.

I have run python setup.py install in chamfer2D with no error.
However, when I am using this package in Python 3.6, I got the following problem:

>>> import torch
>>> import chamfer_2D
>>> torch.tensor(1,device='cuda')
Segmentation fault (core dumped)

If I don't import chamfer_2D, everything works fine.

I am using CUDA 10.1 and PyTorch 1.4.0

Do you have any idea on how to solve this problem?

Best regards

@ThibaultGROUEIX
Copy link
Owner

Hi! This looks serious ! Thanks for the minimal XP. I don't know the fix but would gladly add it to the repo if you find it. I suspect it has to do with the latest torch/Vida release. I'll run some tests on my end.

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

2 participants