From 10571552f4ee0cc85d873d09b59c0d9053aedfa9 Mon Sep 17 00:00:00 2001 From: meiravgri Date: Mon, 30 Mar 2026 07:29:03 +0300 Subject: [PATCH] disable bounds check in svs --- cmake/svs.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/svs.cmake b/cmake/svs.cmake index ebd207be7..30d3dc0e9 100644 --- a/cmake/svs.cmake +++ b/cmake/svs.cmake @@ -88,6 +88,7 @@ if(USE_SVS) # This file is included from both CMakeLists.txt and python_bindings/CMakeLists.txt # Set `root` relative to this file, regardless of where it is included from. get_filename_component(root ${CMAKE_CURRENT_LIST_DIR}/.. ABSOLUTE) + set(SVS_EXPERIMENTAL_CHECK_BOUNDS OFF CACHE BOOL "Disable SVS bounds checking" FORCE) add_subdirectory( ${root}/deps/ScalableVectorSearch deps/ScalableVectorSearch