whisper.cpp
whisper.cpp copied to clipboard
CUBLAS CMAKE issue
~/whisper.cpp/build$ cmake -DWHISPER_CUDA=ON ../
-- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found CUDAToolkit: /usr/local/cuda/include (found version "12.1.105") -- cuBLAS found -- The CUDA compiler identification is NVIDIA 12.1.105 -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc -- Check for working CUDA compiler: /usr/local/cuda/bin/nvcc - works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Detecting CUDA compile features -- Detecting CUDA compile features - done -- CMAKE_SYSTEM_PROCESSOR: x86_64 -- x86 detected -- GGML CUDA sources found, configuring CUDA architecture -- GGML Configuring CUDA architectures 52;61;70 -- Configuring done CMake Error at CMakeLists.txt:664 (add_library): Target "whisper" links to target "CUDA::cublasLt" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.
Ubuntu 20 CUDA 12.1