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

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

Closed
NguyenVanThanhHust opened this issue Nov 13, 2019 · 3 comments

Comments

@NguyenVanThanhHust
Copy link

Hi, I try this with aws server because my personal computer doesn't have enough memory.

I use this inside docker. I compiled successfully.

g++ version:
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

Cuda version:
release 10.1, V10.1.243

error:
Traceback (most recent call last): File "/opt/conda/lib/python3.6/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/opt/conda/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/workspace/share/Projects/ThanhNV/MinkowskiEngine/examples/example.py", line 80, in <module> output = net(input) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 539, in __call__ result = self.forward(*input, **kwargs) File "/workspace/share/Projects/ThanhNV/MinkowskiEngine/examples/example.py", line 56, in forward return self.net(x) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 539, in __call__ result = self.forward(*input, **kwargs) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/container.py", line 92, in forward input = module(input) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 539, in __call__ result = self.forward(*input, **kwargs) File "/workspace/share/Projects/ThanhNV/MinkowskiEngine/MinkowskiEngine/MinkowskiNormalization.py", line 58, in forward output = self.bn(input.F) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py", line 539, in __call__ result = self.forward(*input, **kwargs) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/batchnorm.py", line 72, in forward self.num_batches_tracked += 1 RuntimeError: CUDA error: no kernel image is available for execution on the device
pytorch version:
'1.2.0a0+e6a7071

When i install this library on docker, i also use this command: apt install libgl1-mesa-glx because default open3d cannot be imported.

Does anyone have any ideas about this problem?
Thank you.

@chrischoy
Copy link
Contributor

This is the same error in pytorch pytorch/pytorch#6529 which states that the GPU that you are using is no longer supported by pytorch.

@NguyenVanThanhHust
Copy link
Author

Thanks.

@Pxiaoyao
Copy link

Pxiaoyao commented Nov 6, 2021

Has the problem been solved?

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

3 participants