yeahdongcn commited on
Commit
fafaa8b
·
1 Parent(s): 2fdd2df

cuda: remove linking to cublasLt (llama/14790)

Browse files

Signed-off-by: Xiaodong Ye <[email protected]>

Files changed (1) hide show
  1. ggml/src/ggml-cuda/CMakeLists.txt +3 -3
ggml/src/ggml-cuda/CMakeLists.txt CHANGED
@@ -102,12 +102,12 @@ if (CUDAToolkit_FOUND)
102
  if (GGML_STATIC)
103
  if (WIN32)
104
  # As of 12.3.1 CUDA Toolkit for Windows does not offer a static cublas library
105
- target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas CUDA::cublasLt)
106
  else ()
107
- target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas_static CUDA::cublasLt_static)
108
  endif()
109
  else()
110
- target_link_libraries(ggml-cuda PRIVATE CUDA::cudart CUDA::cublas CUDA::cublasLt)
111
  endif()
112
 
113
  if (GGML_CUDA_NO_VMM)
 
102
  if (GGML_STATIC)
103
  if (WIN32)
104
  # As of 12.3.1 CUDA Toolkit for Windows does not offer a static cublas library
105
+ target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas)
106
  else ()
107
+ target_link_libraries(ggml-cuda PRIVATE CUDA::cudart_static CUDA::cublas_static)
108
  endif()
109
  else()
110
+ target_link_libraries(ggml-cuda PRIVATE CUDA::cudart CUDA::cublas)
111
  endif()
112
 
113
  if (GGML_CUDA_NO_VMM)