Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/abetlen/llama-cpp-python in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
abetlen committed Jun 4, 2024
2 parents c3ef41b + ae5682f commit 951e39c
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@ if (LLAMA_BUILD)
RESOURCE DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
)
# Workaround for Windows + CUDA https://github.com/abetlen/llama-cpp-python/issues/563
install(
FILES $<TARGET_RUNTIME_DLLS:llama>
DESTINATION ${SKBUILD_PLATLIB_DIR}/llama_cpp
)
install(
FILES $<TARGET_RUNTIME_DLLS:llama>
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
)
if (WIN32 AND (LLAMA_CUDA OR LLAMA_CUBLAS))
install(
FILES $<TARGET_RUNTIME_DLLS:llama>
DESTINATION ${SKBUILD_PLATLIB_DIR}/llama_cpp
)
install(
FILES $<TARGET_RUNTIME_DLLS:llama>
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
)
endif()

if (LLAVA_BUILD)
if (LLAMA_CUBLAS OR LLAMA_CUDA)
Expand Down

0 comments on commit 951e39c

Please sign in to comment.