enhance: Update Knowhere version (#31312)

/kind branch-feature

Signed-off-by: xianliang.li <xianliang.li@zilliz.com>
pull/31350/head
foxspy 2024-03-18 11:29:04 +08:00 committed by GitHub
parent 17b4938985
commit 1c930e560c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -12,12 +12,8 @@
#-------------------------------------------------------------------------------
# Update KNOWHERE_VERSION for the first occurrence
set( KNOWHERE_VERSION e44ba8d )
set( KNOWHERE_VERSION 052f596 )
set( GIT_REPOSITORY "https://github.com/zilliztech/knowhere.git")
if ( INDEX_ENGINE STREQUAL "cardinal" )
set( KNOWHERE_VERSION main )
set( GIT_REPOSITORY "https://github.com/zilliztech/knowhere-cloud.git")
endif()
message(STATUS "Knowhere repo: ${GIT_REPOSITORY}")
message(STATUS "Knowhere version: ${KNOWHERE_VERSION}")
@ -30,6 +26,12 @@ else ()
set(WITH_DISKANN OFF CACHE BOOL "" FORCE )
endif ()
if ( INDEX_ENGINE STREQUAL "cardinal" )
set(WITH_CARDINAL ON CACHE BOOL "" FORCE )
else ()
set(WITH_CARDINAL OFF CACHE BOOL "" FORCE )
endif()
if ( MILVUS_GPU_VERSION STREQUAL "ON" )
set(WITH_RAFT ON CACHE BOOL "" FORCE )
endif ()