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 #73
Comments
same problem here:
Is it possible for us to get the Dockerfile for these two images to build locally? :
|
Hi @jonbakerfish and @sijin-dm, I managed to update dockerfile of image and point cloud detection to rebuild it with updated cuda version and torch version. You can find original Dockerfile here : |
I have the same error : When I hit 'Run model' on my dataset, I get : ` ` I tested with your new image and the result is the same. |
Hi Manon, did you check the compatibility with the cuda version in point-cloud-object-detection docker and on your local machine ? On my side I upgraded to 11.5.2 (and so upgraded torch, torchvision and torchaudio) |
Indeed inside the cloud-object-detection container, the command 'torch.cuda.get_device_name()' gives me : ' warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name)) If I find some time, I may try to build an image based on ubuntu 22.04 instead of 18.04. |
Add your archi to TORCH_CUDA_ARCH_LIST ;) |
Oh, I didn't know about that ! (I'm still on the learning curve for both docker and CUDA). But it seems that nvidia removed nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04 from docker hub, so I didn't manage to rebuild the base image so far. |
Feel free to change the starting image, like |
I works ! What I did: in the Dockerfile:
(not sure the -U is needed for numpy, but I was testing it from the child docker file to avoid recompiling pytorch)
In you terminal : It takes a while (and lots of storage space too) then In your terminal cd /path/to/xtrem1 then Hope this helps! Thank you Clément for you help and reactivity. |
You can let docker compose build your docker images, just set the build directory in the |
oh, yes, good to know ! |
Describe the bug
RuntimeError: CUDA error: no kernel image is available for execution on the device
To Reproduce
Steps to reproduce the behavior:
Additional context
After exec into the docker file, I found that it is due to the mismatched torch version. The installed version is
torch==1.10.1+cu102
, which only support to sm_70, but my 3090 need sm_86.The text was updated successfully, but these errors were encountered: