onnxruntime/tools/ci_build/github/linux
Scott McKay b7fde84341
Changes to support standalone custom ops in a minimal build. (#14497)
### Description
<!-- Describe your changes. -->
Changes to support standalone custom ops in a minimal build. Also
incorporates changes from #14492 (needed to test builds prior to that
being checked in).

We first need to save the schema info from the operators used by the
standalone op invoker in the ORT format model. Add mechanism for that.

Merge the kernel lookup logic so the same is used in full and minimal
build. NOTE: the version matching is now consistent with all other
kernel lookups, and the call to CreateOp MUST use the exact version for
the operator. Previously matching wasn't as strict, but this can lead to
the incorrect kernel being chosen.

Add tests.

NOTE: There is currently no way to detect the ops/types/opsets used
inside these custom ops as they don't exist until we create kernels,
which is after model loading completes (which is the point the ORT
format model is saved). Due to that they have to be manually added to
the configuration used to do the reduced ops build. That shouldn't be
too hard for the custom op author to add given the custom op
implementation is specifying the op, opset and type constraints (i.e.
they have the info and it's just a case of capturing/formatting it
correctly).


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Enable usage of the standalone op invoker by custom ops in a minimal
build.

---------

Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>
2023-03-01 11:22:54 +10:00
..
docker Add support for python 3.10 for onnxruntime-training cuda and cpu (#14100) 2023-02-02 11:32:41 -08:00
ort_minimal Changes to support standalone custom ops in a minimal build. (#14497) 2023-03-01 11:22:54 +10:00
tvm upgrade protobuf to 3.20.2 and onnx to 1.13 (#14279) 2023-01-31 12:55:09 -08:00
build_cuda_c_api_package.sh Remove git and python packages from the docker images used by Zip-Nuget-Java-Nodejs Packaging Pipeline (#11651) 2022-06-03 20:00:54 -07:00
build_linux_arm64_python_package.sh Rename CloudEP to AzureEP (#14175) 2023-01-11 12:25:04 -08:00
build_yocto.sh
copy_strip_binary.sh include coreml_provider_factory.h in macos build instead of coreml_ex… (#12138) 2022-07-11 18:27:01 -07:00
create_package.sh
extract_and_bundle_gpu_package.sh Remove git and python packages from the docker images used by Zip-Nuget-Java-Nodejs Packaging Pipeline (#11651) 2022-06-03 20:00:54 -07:00
java_copy_strip_binary.sh Change native folder name for java macos arm64 (#12335) 2022-07-27 15:13:07 -07:00
java_linux_final_test.sh Update protobuf-java to version 3.21.7 (#13630) 2022-11-17 15:04:42 -08:00
run_build.sh Remove unused git submodules (#13830) 2022-12-07 21:59:16 -08:00
run_dockerbuild.sh Update package pipelines to support TRT 8.5 (#13998) 2022-12-16 15:01:50 -08:00
run_python_dockerbuild.sh CloudEP (#13855) 2023-01-03 10:03:15 -08:00
run_python_tests.sh Add license header to some files. (#13074) 2022-09-23 18:46:02 -07:00
test_custom_ops_pytorch_export.sh
upload_code_coverage_data.sh
upload_ortsrv_binaries.sh
yocto_build_toolchain.sh