Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions cortex-cpp/engines/cortex.llamacpp/engine.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# cortex.llamacpp release version
set(VERSION 0.1.17-19.06.24)
# vulka is unstable, we need to use a customized version
set(VULKA_VERSION 0.1.12-25.06.24)

set(ENGINE_VERSION v${VERSION})
add_compile_definitions(CORTEX_LLAMACPP_VERSION="${VERSION}")

Expand All @@ -24,7 +27,8 @@ if(UNIX AND NOT APPLE)
set(LIBRARY_NAME cortex.llamacpp-${VERSION}-linux-amd64-avx2-cuda-11-7.tar.gz)
endif()
elseif(LLAMA_VULKAN)
set(LIBRARY_NAME cortex.llamacpp-${VERSION}-linux-amd64-vulkan.tar.gz)
set(LIBRARY_NAME cortex.llamacpp-${VULKA_VERSION}-linux-amd64-vulkan.tar.gz)
set(ENGINE_VERSION v${VULKA_VERSION})
elseif(LLAMA_AVX512)
set(LIBRARY_NAME cortex.llamacpp-${VERSION}-linux-amd64-avx512.tar.gz)
elseif(NOT LLAMA_AVX2)
Expand Down Expand Up @@ -56,7 +60,8 @@ else()
set(LIBRARY_NAME cortex.llamacpp-${VERSION}-windows-amd64-avx2-cuda-11-7.tar.gz)
endif()
elseif(LLAMA_VULKAN)
set(LIBRARY_NAME cortex.llamacpp-${VERSION}-windows-amd64-vulkan.tar.gz)
set(LIBRARY_NAME cortex.llamacpp-${VULKA_VERSION}-windows-amd64-vulkan.tar.gz)
set(ENGINE_VERSION v${VULKA_VERSION})
elseif(LLAMA_AVX512)
set(LIBRARY_NAME cortex.llamacpp-${VERSION}-windows-amd64-avx512.tar.gz)
elseif(NOT LLAMA_AVX2)
Expand Down