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

Open
YKZhangSEU opened this issue Nov 9, 2022 · 4 comments

Comments

@YKZhangSEU
Copy link

CUDA 11.0,Torch1.7.1

The CUDA error: no kernel image is available for execution on the device was reported when I run the examples. The same example run successfully on my PC, but the above error was reported on the workstation.

@carterbox
Copy link

The binary you are using wasn't compiled for the GPU of your workstation. Recompile on/for your workstation.

@YKZhangSEU
Copy link
Author

The binary you are using wasn't compiled for the GPU of your workstation. Recompile on/for your workstation.

I already recompiled on the workstation, no error reported during compiling. But it still reported the CUDA error. What do you think about this issue?

@Jacktomttt
Copy link

May I ask if this problem has been resolved? I have also encountered the same problem

@Love-Sunshine
Copy link

sorry, I have the same problem too. Has anyone already solved it?

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

4 participants