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

CUDA error: no kernel image is available for execution on the device #750

Open
000rrr opened this issue Jul 29, 2023 · 3 comments
Open

CUDA error: no kernel image is available for execution on the device #750

000rrr opened this issue Jul 29, 2023 · 3 comments

Comments

@000rrr
Copy link

000rrr commented Jul 29, 2023

Hi,

I just tried the new kaolin build on windows 10.
pip install kaolin==0.14.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.0.1_cu118.html

However, I am getting the following error when calling the chamfer_distance:
kaolin.metrics.pointcloud.chamfer_distance(pts.unsqueeze(0), inpts.unsqueeze(0)).mean()

File "C:\Users\vader\Documents\HML\.venv\Lib\site-packages\kaolin\metrics\pointcloud.py", line 32, in forward dist, idx = _C.metrics.sided_distance_forward_cuda(p1, p2) RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.

Any idea how to fix this? Thank you.

@cytosineXT
Copy link

I have the same error. anybody can help?

@cytosineXT
Copy link

微信图片_20240318204753
I have checked the CUDA version with the torch version, and they are matching and working. But CUDA does not work well on kaolin, I have no idea why is that happening.

@cytosineXT
Copy link

I have solved it. I changed my GPU from GTX980 to RTX3090 and then the bug magically disappeared.

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