We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f46bb77 commit 403bab0Copy full SHA for 403bab0
src/python/CMakeLists.txt
@@ -86,3 +86,10 @@ install(FILES "${OpenVINOGenAI_SOURCE_DIR}/LICENSE"
86
install(TARGETS openvino_genai py_generate_pipeline
87
LIBRARY DESTINATION openvino_genai COMPONENT wheel_genai EXCLUDE_FROM_ALL
88
RUNTIME DESTINATION openvino_genai COMPONENT wheel_genai EXCLUDE_FROM_ALL)
89
+
90
+if(ENABLE_CONTINUOUS_BATCHING)
91
+ pybind11_add_module(py_continuous_batching python.cpp)
92
+ target_link_libraries(py_continuous_batching PRIVATE openvino::continuous_batching)
93
+ set_target_properties(py_continuous_batching PROPERTIES
94
+ LIBRARY_OUTPUT_DIRECTORY "$<1:${CMAKE_BINARY_DIR}/openvino_genai>")
95
+endif()
0 commit comments