Edward Chen
269be2fe63
Remove unnecessary option from convert_onnx_models_to_ort.py, fix old instructions. ( #11088 )
...
Remove unnecessary --nnapi_partitioning_stop_ops option from convert_onnx_models_to_ort.py, fix old instructions.
2022-04-11 11:19:21 -07:00
Edward Chen
9371401746
Move node EP assignment for ORT format into SessionState::FinalizeSessionState() ( #10944 )
...
Follow up to #10904 .
- Move node EP assignment for ORT format into SessionState::FinalizeSessionState().
- Add unit test for #10904 .
- Make convert_onnx_models_to_ort.py optimization level configurable via environment variable.
2022-03-28 10:37:22 -07:00
Edward Chen
e53422c6d0
Update convert_onnx_models_to_ort.py to support runtime optimizations. ( #10765 )
...
Add runtime optimization support to ONNX -> ORT format conversion script.
Replace `--optimization_level`, `--use_nnapi`, and `--use_coreml` with a new `--optimization_style` option.
2022-03-14 16:50:41 -07:00
Rachel Guo
a9dc50ba8b
Add option to force QDQIsInt8Allowed to return true when exporting to ORT format ( #10719 )
...
* wip
* save
* minor update
* fix
* fix
* Revert "fix"
This reverts commit a76f364b2d .
* revert
* revert
* revert submodule removal
* address pr comments
* minor fix
* address cr comments
* fix format
Co-authored-by: rachguo <rachguo@rachguos-Mini.attlocal.net>
2022-03-02 23:26:14 -08:00
Scott McKay
2ca9566994
Add range of helpers for making usage of ORT Mobile easier. ( #10458 )
...
* Add range of helpers for making usage of ORT Mobile easier.
2022-02-18 07:35:25 +10:00
Edward Chen
94c3e2048b
[convert_onnx_models_to_ort.py] Add option to specify NNAPI EP partitioning stop ops. ( #8668 )
...
Add option to specify NNAPI EP partitioning stop ops from the ORT format model conversion script.
2021-08-19 13:02:28 -07:00
Rachel Guo
78759059f1
[CoreML EP]Make coreml ep build on non-macOS platform ( #8677 )
...
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* remove unused defs
* correct typo
* remove onnxruntime_coreml_proto
* cr comments
* enablie nnapi/coreml in minimal build
* enable nnapi/coreml in one build
* refine dependencies
* fix nnapi build failure and remove onnxruntime_coreml_proto dependencies in unit tests cmake files
* small fix
* fix
* fix build
* revert
* fix build
Co-authored-by: rachguo <rachguo@rachguos-Mini.attlocal.net>
2021-08-18 09:35:32 -07:00
Edward Chen
e09321f4db
Update ORT format model conversion utility to optionally fail fast on model conversion failure. ( #8589 )
2021-08-03 11:12:56 -07:00
Rachel Guo
0cf2ed029b
Add python binding for CoreML EP ( #8472 )
...
* add pybind binding for coreml ep
* update merged files
* address comments
* format
* remove lines for non-macOS platform
Co-authored-by: rachguo <rachguo@rachguos-Mini.attlocal.net>
2021-07-29 10:06:47 -07:00
Edward Chen
c254c3c355
Fix issue with ONNX to ORT format model conversion script when given single model file as input. ( #8323 )
2021-07-07 14:08:47 -07:00
Scott McKay
d6df5764d7
Android package infrastructure ( #7430 )
...
* Include ORT format model conversion scripts and infrastructure in ORT python package.
- tweak existing script setup so it can be easily run directly and from the ORT python package
Add config file and readme for Android minimal build package
Update ORT Mobile doco
Disable warning if 'all' optimizations are enabled but NCHWc transformer is excluded (device specific optimizations don't apply in this scenario so the warning is moot).
* Address PR comments
2021-04-30 14:23:54 +10:00