From daf4c1bc5879b0e34e697f331a678e98748bf84d Mon Sep 17 00:00:00 2001 From: Paco Wong Date: Mon, 8 Jul 2024 14:30:58 +0800 Subject: [PATCH 1/3] New ops --- .../github/apple/hws_mobile_package.required_operators.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/ci_build/github/apple/hws_mobile_package.required_operators.config b/tools/ci_build/github/apple/hws_mobile_package.required_operators.config index 061da62f0a972..563275f6b194d 100644 --- a/tools/ci_build/github/apple/hws_mobile_package.required_operators.config +++ b/tools/ci_build/github/apple/hws_mobile_package.required_operators.config @@ -10,3 +10,6 @@ com.microsoft;1;DynamicQuantizeMatMul,FusedConv,FusedGemm,FusedMatMul,Gelu,MatMu # NHWC transformer also uses this, so assuming it's valuable enough to include com.microsoft;1;QLinearLeakyRelu + +# Voice activity detector +ai.onnx;16;Add,Cast,Concat,ConstantOfShape,Conv,Equal,Gather,Identity,If,LSTM,Log,Mul,Neg,Pad,Pow,ReduceMean,Relu,Reshape,Shape,Sigmoid,Slice,Sqrt,Squeeze,Transpose,Unsqueeze From 837cc749b1a27459bb85ede3c9e63fc6cbf32903 Mon Sep 17 00:00:00 2001 From: Paco Wong Date: Mon, 8 Jul 2024 14:31:22 +0800 Subject: [PATCH 2/3] Never find packages --- tools/ci_build/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index 41bcef33bd415..ca5f1dae95202 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -1019,6 +1019,7 @@ def generate_build_tree( "-Donnxruntime_BUILD_OBJC=" + ("ON" if args.build_objc else "OFF"), "-Donnxruntime_BUILD_SHARED_LIB=" + ("ON" if args.build_shared_lib else "OFF"), "-Donnxruntime_BUILD_APPLE_FRAMEWORK=" + ("ON" if args.build_apple_framework else "OFF"), + "-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=NEVER", #PACO "-Donnxruntime_USE_DNNL=" + ("ON" if args.use_dnnl else "OFF"), "-Donnxruntime_USE_NNAPI_BUILTIN=" + ("ON" if args.use_nnapi else "OFF"), "-Donnxruntime_USE_RKNPU=" + ("ON" if args.use_rknpu else "OFF"), @@ -1792,7 +1793,7 @@ def build_targets(args, cmake_path, build_dir, configs, num_parallel_jobs, targe if args.android: env["ANDROID_SDK_ROOT"] = args.android_sdk_path env["ANDROID_NDK_HOME"] = args.android_ndk_path - cmd_args += ['--verbose'] + #cmd_args += ['--verbose'] print(cmd_args) print(env) run_subprocess(cmd_args, env=env) From d87f8070087bce1be036e71685c663fad7b17f7c Mon Sep 17 00:00:00 2001 From: Paco Wong Date: Mon, 8 Jul 2024 14:33:27 +0800 Subject: [PATCH 3/3] Dump debug info --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index b7bbf42730e18..be3ea67e041df 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -130,7 +130,7 @@ option(onnxruntime_DONT_VECTORIZE "Do not vectorize operations in Eigen" OFF) option(onnxruntime_USE_FULL_PROTOBUF "Link to libprotobuf instead of libprotobuf-lite when this option is ON" OFF) option(onnxruntime_ENABLE_LANGUAGE_INTEROP_OPS "Enable operator implemented in language other than cpp" OFF) -option(onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS "Dump debug information about node inputs and outputs when executing the model." OFF) +option(onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS "Dump debug information about node inputs and outputs when executing the model." ON) cmake_dependent_option(onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS_ENABLE_DUMP_TO_SQLDB "Build dump debug information about node inputs and outputs with support for sql database." OFF "onnxruntime_DEBUG_NODE_INPUTS_OUTPUTS" OFF) option(onnxruntime_USE_DML "Build with DirectML support" OFF) option(onnxruntime_USE_MIGRAPHX "Build with AMDMIGraphX support" OFF)