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

old GPU on ggml CUDA, CUDA error 209 at ggml-cuda.cu:5284: no kernel image is available for execution on the device #465

Open
makao007 opened this issue Aug 20, 2023 · 1 comment

Comments

@makao007
Copy link

makao007 commented Aug 20, 2023

Hi, I'm using a old GPU on Windows11 VS2022 CUDA11.5.
I try to run the whisper demo with CUDA but fail.

ggml_init_cublas: found 1 CUDA devices:
  Device 0: NVIDIA GeForce 940MX, compute capability 5.0
CUDA error 209 at D:\Download\ggml-master\ggml-master\src\ggml-cuda.cu:5284: no kernel image is available for execution on the device

Is there any way to support the old Nvidia GPU?

@makao007
Copy link
Author

makao007 commented Aug 20, 2023

I updated file src/CMakeLists.txt
from:
set_property(TARGET ggml PROPERTY CUDA_ARCHITECTURES "52;61")
to:
set_property(TARGET ggml PROPERTY CUDA_ARCHITECTURES "50;52;61")

It works now.

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

1 participant