-
Notifications
You must be signed in to change notification settings - Fork 4
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
Building without GPU available #4
Comments
I'm having the same issue. In my case, I can't build inside a docker image because gpus and nvidia-smi are not available at build time, even with a gpu present at the host, it seems. If I start the container, then
|
Facing the same issue as above ^ |
This is related: huggingface/candle#2105 |
A workaround for the buildtime Based on: huggingface/candle#1516 (comment) |
Hi! Thank you for this great library.
I am wondering how we could build without a GPU available (such as in GitHub Actions)? I found
CUDA_COMPUTE_CAP
in the source code, and we are targeting a T4 GPU, so setting that to75
should be correct and seems to have worked. However, I still hit this and panic:bindgen_cuda/src/lib.rs
Line 519 in 348e73f
Would it be possible to also manually specify gpu codes?
Would this actually work & build bindings correctly without a GPU?
The text was updated successfully, but these errors were encountered: