onnxruntime/tools/ci_build/github/azure-pipelines/templates
Yulong Wang 82786baed1
[js/web] add 'xnnpack' to EP list (#12723)
**Description**: This PR adds support for "XNNPACK EP" in ORTWeb and
changes the behavior of how ORTWeb deals with "backends", or "EPs" in
API.

**Background**: Term "backend" is introduced in ONNX.js to representing
a TypeScript type which implements a "backend" interface, which is a
similar but different concept to ORT's EP (execution provider). There
was 3 backends in ONNX.js: "cpu", "wasm" and "webgl".

When ORT Web is launched, the concept is derived to help users to
integrate smoothly. Technically, when "wasm" backend is used, users need
to also specify "EP" in the session options. Considering it may get
complicated and confused for users to figure out the difference between
"backend" and "EP", the JS API hide the "backend" concept and made a
mapping between names, backends and EPs:
"webgl" (Name) <==> "onnxjsBackend" (Backend)
"wasm" (Name) <==> "wasmBackend" (Backend) <==> "CPU" (EP)

**Details**:
The following changes are applied in this PR:
1. allow multi-registration for backends using the same name. This is
for use scenarios where both "onnxruntime-node" and "onnxruntime-web"
are consumed in a Node.js App ( so "cpu" will be registered twice in
this scenario. )
2. re-assign priority values to backends. I give 100 as base to "cpu"
for node and react_native, and 10 as base to "cpu" in web.
3. add "cpu", "xnnpack" as new names of backends.
4. update onnxruntime wasm exported functions to support EP
registration.
5. update implementations in ort web to handle execution providers in
session options.
6. add '--use_xnnpack' as default build flag for ort-web
2022-10-03 10:38:45 -07:00
..
android-java-api-aar-test.yml Use specific Android NDK version in CI builds. (#12350) 2022-07-28 11:01:04 -07:00
android-java-api-aar.yml Delete the build scripts that were copied from manylinux project (#12358) 2022-07-29 18:24:19 -07:00
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml
c-api-cpu.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
c-api-linux-cpu.yml Update aarch64 building pool to aiinfra-linux-ARM64-CPU-2019 (#12243) 2022-07-20 12:08:02 -04:00
clean-agent-build-directory-step.yml Add cleanup steps to the build jobs which run in Linux CPU machine pool (#11078) 2022-03-31 22:34:12 -07:00
compliance.yml Replace the occurrences of "master" to "main" in yaml files (#12534) 2022-08-09 22:03:21 -07:00
component-governance-component-detection-steps.yml Restrict "Component Detection" task to Lotus project only (#12536) 2022-08-10 03:25:29 -07:00
esrp_nuget.yml
get-docker-image-steps.yml Delete the build scripts that were copied from manylinux project (#12358) 2022-07-29 18:24:19 -07:00
java-api-artifacts-package-and-publish-steps-posix.yml
java-api-artifacts-package-and-publish-steps-windows.yml
linux-ci.yml Disable CG task in PR pipelines (#12426) 2022-08-02 19:01:41 -07:00
linux-set-variables-and-download.yml
mac-ci.yml remove redundant publish unit test results (#12697) 2022-08-25 11:18:07 +08:00
mac-esrp-dll.yml
mac-packaging.yml
nodejs-artifacts-package-and-publish-steps-posix.yml
nodejs-artifacts-package-and-publish-steps-windows.yml
orttraining-linux-gpu-ortmodule-test-ci-pipeline.yml upgrade cuda version on ci pipelines (training CI pipelines) (#12708) 2022-08-26 16:51:19 -07:00
publish-nuget.yml Refactor python packaging pipeline and nuget packaging pipeline (#12945) 2022-09-13 14:50:31 -07:00
py-linux-gpu.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
py-linux-ubuntu.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
py-linux.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
py-packaging-linux-test.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
py-packaging-selectable-stage.yml Fix OLive build pipeline (#13114) 2022-09-27 10:19:58 -07:00
py-packaging-stage.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
py-packaging-training-cuda-stage.yml Add linux debug training package to nightly pipeline (#13192) 2022-10-01 06:58:43 -07:00
react-native-ci.yml Use full ORT package for onnxruntime-react-native. (#13037) 2022-09-23 07:20:03 +10:00
rocm.yml [ADD] python package pipeline for ROCm5.2.3 (#12770) 2022-08-30 11:05:59 +08:00
run-docker-build-steps.yml
set-nightly-build-option-variable-step.yml Refactor python packaging pipeline and nuget packaging pipeline (#12945) 2022-09-13 14:50:31 -07:00
set-python-manylinux-variables-step.yml add python3.10 support (#10848) 2022-03-21 09:46:02 +08:00
set-test-data-variables-step.yml
set-version-number-variables-step.yml Integrate C-API tests into Pipelines for release packages (#10794) 2022-03-15 10:18:38 -07:00
telemetry-steps.yml
use-android-ndk.yml Use specific Android NDK version in CI builds. (#12350) 2022-07-28 11:01:04 -07:00
validate-package.yml Integrate C-API tests into Pipelines for release packages (#10794) 2022-03-15 10:18:38 -07:00
web-browserstack-ci.yml [JS] upgrade package-lock.json from v1 to v2 (#11039) 2022-03-30 13:30:28 -07:00
web-ci.yml fix XNNPACK on WebAssembly SIMD (#13161) 2022-09-30 16:34:15 -07:00
win-ci-arm.yml
win-ci.yml Replace the occurrences of "master" to "main" in yaml files (#12534) 2022-08-09 22:03:21 -07:00
win-cpu-ci.yml Refactor setup_test_data (#12818) 2022-09-07 08:33:27 +08:00
win-esrp-dll.yml
win-gpu-ci.yml Upgrade pytorch to 1.12.1 for training pipelines (#13128) 2022-09-28 17:59:49 -07:00
win-wasm-ci.yml [js/web] add 'xnnpack' to EP list (#12723) 2022-10-03 10:38:45 -07:00
win-web-ci.yml [js] Create npm packaging pipeline (#10886) 2022-03-17 16:44:00 -07:00
win-web-multi-browsers.yml [js] loosen test timeout (#12427) 2022-08-02 19:01:19 -07:00
windows-build-and-test-steps.yml
windows-build-tools-setup-steps.yml
windowsai-nuget-build.yml Add enable_onnx_tests in windows nuget test step (#12926) 2022-09-12 10:08:24 -07:00
with-container-registry-steps.yml