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

CUDA toolkit version? #218

Open
shujiehan opened this issue Sep 6, 2024 · 1 comment
Open

CUDA toolkit version? #218

shujiehan opened this issue Sep 6, 2024 · 1 comment
Labels
question Further information is requested

Comments

@shujiehan
Copy link

Hello,

Thanks for the open-sourced code.

When I reproduce this work, I encountered some errors about compilation which seems to be related to CUDA.
Does the code depend on a specific version of CUDA toolkit? If yes, could you provide the CUDA toolkit in dependencies?

Thank you.

@shujiehan shujiehan added the question Further information is requested label Sep 6, 2024
@shujiehan
Copy link
Author

shujiehan commented Sep 6, 2024

My errors are like this:

CMake Error at /opt/cmake/cmake-3.29.8-linux-x86_64/share/cmake-3.29/Modules/CMakeDetermineCompilerId.cmake:814 (message):
  Compiling the CUDA compiler identification source file
  "CMakeCUDACompilerId.cu" failed.

  Compiler: /usr/bin/nvcc

I fixed my issue by this command cmake -S . -B build -DLLAMA_CUBLAS=ON -DCMAKE_CUDA_COMPILER=which nvcc``.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant