Closed lucky0604 closed 4 months ago
CMake Warning: Manually-specified variables were not used by the project: LLAMA_CUDA
For whatever reason, cmake
didn't detect cuda during build. Maybe update Cuda Toolkit, and try again.
Fixed. When rebuilding using cmake, an error is thrown indicating that a cuda package doesn't support vs 2022 community version. Changing to vs2019 professional and cuda toolkit 12.2 resolves the issue.
Please include information about your system, the steps to reproduce the bug, and the version of llama.cpp that you are using. If possible, please provide a minimal code example that reproduces the bug.
Expected Behavior
I am following the readme as close as possible as the build process seems very specific. Expected behavior is compilation completes for windows with a cuda gpu.
Current Behavior
build the project with command:
then I enter into
build/bin/Release
directory and runGPU is not working.
when I was running
test-backend-ops.exe
, the result is:Environment and Context
GPU: 4060 System Info: Windows 11 CUDA: 12.1 cuDNN: 9.0.0