From fea801d7fd39303329933be1bd6822a5e0eca773 Mon Sep 17 00:00:00 2001 From: luncliff Date: Sun, 17 Nov 2024 15:44:43 +0900 Subject: [PATCH] [onnxruntime] run compile_schema.py for LoRA --- ports/onnxruntime/portfile.cmake | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ports/onnxruntime/portfile.cmake b/ports/onnxruntime/portfile.cmake index cbd8d8c6..dba6bdcd 100644 --- a/ports/onnxruntime/portfile.cmake +++ b/ports/onnxruntime/portfile.cmake @@ -36,7 +36,12 @@ vcpkg_add_to_path(PREPEND "${PYTHON_PATH}") vcpkg_execute_required_process( COMMAND "${PYTHON3}" onnxruntime/core/flatbuffers/schema/compile_schema.py --flatc "${FLATC}" - LOGNAME compile_schema + LOGNAME compile_schema_core + WORKING_DIRECTORY "${SOURCE_PATH}" +) +vcpkg_execute_required_process( + COMMAND "${PYTHON3}" onnxruntime/lora/adapter_format/compile_schema.py --flatc "${FLATC}" + LOGNAME compile_schema_lora WORKING_DIRECTORY "${SOURCE_PATH}" )