Closed freeone3000 closed 7 months ago
It looks like cmake
is failing to find the installation location of your CUDA toolkit. You can find more information about this is done and how to specify a location manually in https://cmake.org/cmake/help/latest/module/FindCUDAToolkit.html. Alternatively, following NVIDIA's CUDA toolkit installation instructions should work as expected.
I do not think this is correct. CMake output contains "Found CUDAToolkit: /usr/include (found version "11.8.89")" from CMake's FindCUDA module. nvidia-smi and nvidia samples from CUDA toolkit compile correctly; the CUDA toolkit is installed to /usr/include as listed in the CMake output above.
System Information
uname -a
: Linux mumei 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linuxgcc --version
: gcc (Debian 12.2.0-14) 12.2.0g++ --version
: g++ (Debian 12.2.0-14) 12.2.0nvcc --version
:Card: 2x GeForce 3060
nvidia-smi
:llama.cpp: tags/b2548
Compile Steps
I followed the steps at https://github.com/ggerganov/llama.cpp/blob/master/README.md#cuda .
CMakeOutput.log
CMakeError.log is empty.
Expected Results
I expected compilation to succeed. What issue is there with this system, environment, or steps?