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

no CUDA-capable device is detected current device: #192

Open
xtntrna opened this issue Nov 18, 2023 · 2 comments
Open

no CUDA-capable device is detected current device: #192

xtntrna opened this issue Nov 18, 2023 · 2 comments

Comments

@xtntrna
Copy link

xtntrna commented Nov 18, 2023

image

image

编译的时候是可以找到GPU的,运行的时候报错找不到了,是什么原因?

@li-plus
Copy link
Owner

li-plus commented Nov 22, 2023

4090 应该是 sm89 架构,目前默认不会编译,尝试下手动指定 cuda 架构:

cmake -B build -DGGML_CUBLAS=ON -DCUDA_ARCHITECTURES="89"

@xtntrna
Copy link
Author

xtntrna commented Nov 30, 2023

重新装了CUDA 12.3 就可以了。

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