File tree Expand file tree Collapse file tree 4 files changed +7
-0
lines changed
Expand file tree Collapse file tree 4 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 11[submodule "thirdparty/openvino_tokenizers "]
22 path = thirdparty/openvino_tokenizers
33 url = https://github.com/openvinotoolkit/openvino_tokenizers.git
4+ [submodule "src/cpp/src/modeling_private "]
5+ path = src/cpp/src/modeling_private
6+ url = https://github.com/xipingyan/modeling_private
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ option(ENABLE_TOOLS "Enable tools build" ON)
1111option (ENABLE_GGUF "Enable support for GGUF format" ON )
1212option (ENABLE_SAFETENSORS "Enable support for Safetensors format" ON )
1313option (ENABLE_XGRAMMAR "Enable support for structured output generation with xgrammar backend" ON )
14+ option (ENABLE_MODELING_PRIVATE "Enable support for private models features" OFF )
1415
1516# Disable building samples for NPM package
1617if (CPACK_GENERATOR STREQUAL "NPM" )
Original file line number Diff line number Diff line change 55file (GLOB_RECURSE SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR} /src/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR} /src/*.c" )
66file (GLOB modeling_samples_src "${CMAKE_CURRENT_SOURCE_DIR} /src/modeling/samples/*.cpp" )
77list (REMOVE_ITEM SOURCE_FILES ${modeling_samples_src} )
8+ file (GLOB modeling_private_samples_src "${CMAKE_CURRENT_SOURCE_DIR} /src/modeling_private/samples/*.cpp" )
9+ list (REMOVE_ITEM SOURCE_FILES ${modeling_private_samples_src} )
810list (FILTER SOURCE_FILES EXCLUDE REGEX ".*/safetensors_utils/.*" )
911if (NOT ENABLE_MODELING_PRIVATE)
1012 list (FILTER SOURCE_FILES EXCLUDE REGEX ".*/modeling_private/.*" )
You can’t perform that action at this time.
0 commit comments