Skip to content

Commit

Permalink
CMakeLists.txt: add large-v3-turbo-q5_0 on Unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Dec 13, 2024
1 parent 2ed5935 commit 28aa526
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ include(vamp-plugin-packager/vamp-plugin-packager.cmake)

### Source ###
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/models")
foreach(WVP_MODEL_CAPACITY IN ITEMS "tiny-q5_1" "small-q5_1" "medium-q5_0" "large-v2-q5_0")
if(UNIX)
set(WVP_MODEL_CAPACITIES "tiny-q5_1" "small-q5_1" "medium-q5_0" "large-v2-q5_0" "large-v3-turbo-q5_0")
else()
set(WVP_MODEL_CAPACITIES "tiny-q5_1" "small-q5_1" "medium-q5_0" "large-v2-q5_0")
endif()
foreach(WVP_MODEL_CAPACITY IN ITEMS ${WVP_MODEL_CAPACITIES})
set(WVP_MODEL_PATH "${CMAKE_CURRENT_BINARY_DIR}/models/ggml-${WVP_MODEL_CAPACITY}.bin")
if(NOT EXISTS ${WVP_MODEL_PATH})
message(STATUS "Downloading model ggml-${WVP_MODEL_CAPACITY}.bin")
Expand Down

0 comments on commit 28aa526

Please sign in to comment.