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

Runtime error #17

Open
momosa3 opened this issue Nov 9, 2024 · 2 comments
Open

Runtime error #17

momosa3 opened this issue Nov 9, 2024 · 2 comments

Comments

@momosa3
Copy link

momosa3 commented Nov 9, 2024

python == 3.7.16
torch== 1.10.1
cuda==12.2

cc1plus: fatal error: cuda_runtime.h: No such file or directory compilation terminated.
i have done it by run code: conda install nvidia::cuda-cudart-dev

then,the error message is as follows:

image

@hzhwcmhf
Copy link
Member

hzhwcmhf commented Nov 9, 2024

You have to install CUDA Toolkit to compile the cuda kernels (not just compiled libraries). It is usually placed at "/usr/local/cuda/lib64". If not found, you can download the toolkit from https://developer.nvidia.com/cuda-12-2-0-download-archive.

@momosa3
Copy link
Author

momosa3 commented Nov 9, 2024

Thank u for your reply, i'll try 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

2 participants