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 #3

Open
ashuai1114 opened this issue May 15, 2024 · 1 comment

Comments

@ashuai1114
Copy link

Hello, when I was trying to reproduce your code and run the model building module in the example.ipynb, I encountered the following error. However, I am using the Docker image provided by you. Could you please advise if there is a solution for this?

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

@KonstantinWilleke
Copy link

Hi, could you post the entire error message here? There are probably issues with the installation of the cuda drivers.
Could you run torch.cuda.is_available() in the environment? if it returns false, then you have to make sure that you have a nvidia GPU in your machine, and a cuda version of 12.0 or higher.

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