onnxruntime/tools/ci_build/github/azure-pipelines
Ashwini Khade 65201e47bf
Enable nuget packages for on device training (#13637)
### Description
This PR enables building nuget packages locally for on device training
using --build_nuget arg.
This PR also enables the C# bindings by default in the managed package.
If a user triggers any training apis when the native binary is not built
for training, an exception with message "Training is disabled in the
current build. Please build ONNXRuntime from source with the build flags
enable_training and enable_training_on_device. " is thrown.

Build command for creating nuget packes for on device training:
build.bat --enable_training --enable_training_on_device --build_nuget 

2 Nuget packages are built
1. Microsoft.ML.OnnxRuntime.Managed
2. Microsoft.ML.OnnxRuntime.Training OR
Microsoft.ML.OnnxRuntime.Training.Gpu



### 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. -->
2022-12-05 14:54:09 -08:00
..
nodejs/templates Delete cpu-esrp-pipeline.yml (#13623) 2022-11-14 19:00:40 -08:00
nuget/templates Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
templates Enable nuget packages for on device training (#13637) 2022-12-05 14:54:09 -08:00
android-x86_64-crosscompile-ci-pipeline.yml extend some timeout value (#13552) 2022-11-03 15:11:41 +08:00
anybuild.yml
binary-size-checks-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
build-perf-test-binaries-pipeline.yml Remove old enable_linux_gpu_tests parameter from template invocation. (#13102) 2022-09-26 16:27:40 -07:00
c-api-noopenmp-packaging-pipelines.yml Patch Protobuf and ONNX's cmake files and enforce BinSkim check (#13694) 2022-11-18 10:09:47 -08:00
clean-build-docker-image-cache-pipeline.yml Increase timeout for clean-build-docker-image-cache-pipeline. (#12776) 2022-08-29 15:30:35 -07:00
linux-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-cpu-aten-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
linux-cpu-eager-pipeline.yml Enable ORT in TorchDynamo (#13259) 2022-11-01 11:19:29 -07:00
linux-cpu-minimal-build-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-dnnl-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-gpu-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-gpu-tensorrt-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-gpu-tensorrt-daily-perf-pipeline.yml [EP-Perf-Dashboard] Decouple docker image name from branch name (#13449) 2022-10-26 10:27:22 -07:00
linux-gpu-tensorrt-packaging-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
linux-migraphx-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-multi-gpu-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
linux-multi-gpu-tensorrt-ci-pipeline.yml
linux-openvino-ci-pipeline.yml Openvino ep 2022.2 v4.2 (#13023) 2022-09-22 12:31:40 -07:00
linux-openvino-nightly-pipeline.yml
mac-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
mac-coreml-ci-pipeline.yml
mac-ios-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
mac-ios-packaging-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
mac-objc-static-analysis-ci-pipeline.yml Objective-C static analysis - use different llvm path to try to find clang-tidy. (#13280) 2022-10-12 10:16:26 -07:00
mac-react-native-ci-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
npm-packaging-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
orttraining-linux-ci-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
orttraining-linux-external-custom-ops.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
orttraining-linux-gpu-amd-e2e-test-ci-pipeline.yml [ROCm] Fix azcopy issue on ROCm ci pipeline (#13365) 2022-10-20 12:08:57 +08:00
orttraining-linux-gpu-ci-pipeline.yml upgrade cuda version on ci pipelines (training CI pipelines) (#12708) 2022-08-26 16:51:19 -07:00
orttraining-linux-gpu-distributed-e2e-test-pipeline.yml
orttraining-linux-gpu-docker-release-pipeline.yml
orttraining-linux-gpu-on-device-training.yml upgrade cuda version on ci pipelines (training CI pipelines) (#12708) 2022-08-26 16:51:19 -07:00
orttraining-linux-gpu-ortmodule-distributed-test-ci-pipeline.yml upgrade cuda version on ci pipelines (training CI pipelines) (#12708) 2022-08-26 16:51:19 -07:00
orttraining-linux-gpu-ortmodule-test-clear-cache-pipeline.yml
orttraining-linux-nightly-ortmodule-test-pipeline.yml update the nightly build to use the latest ptca image. (#13309) 2022-10-17 14:12:03 -07:00
orttraining-mac-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
orttraining-pai-ci-pipeline.yml [ROCm] Build ROCm CI with Release config and enable kernel explorer test (#13687) 2022-11-21 10:04:10 +08:00
orttraining-py-packaging-pipeline-cpu.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
orttraining-py-packaging-pipeline-cuda116.yml add on device training to the packaging pipelines (#13446) 2022-10-25 15:03:34 -07:00
orttraining-py-packaging-pipeline-rocm.yml [ROCm] Add ROCm5.3.2 to python package pipeline (#13664) 2022-11-17 16:10:49 +08:00
post-merge-jobs.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
py-package-build-pipeline.yml Fix OLive build pipeline (#13114) 2022-09-27 10:19:58 -07:00
py-package-test-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
py-packaging-pipeline.yml Update CUDA version to 11.6 and refactor python packaging pipeline (#13002) 2022-09-23 00:29:27 -07:00
python-checks-ci-pipeline.yml
sign_ov_ep_binaries.yml Move build machines with Nvidia M60 GPUs to Nvidia T4 (#13170) 2022-10-25 11:21:13 -07:00
snpe-ep-nuget-packaging-pipeline.yml Add yml file for Snpe EP build (#13494) 2022-10-28 19:47:50 -07:00
web-ci-pipeline.yml
web-packaging-pipeline.yml
win-ci-fuzz-testing.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
win-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
win-eager-ci-pipeline.yml
win-gpu-ci-pipeline.yml Merge win-gpu-ci.yml and win-cpu-ci.yml (#13597) 2022-11-09 11:32:39 -08:00
win-gpu-reduce-op-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
win-gpu-tensorrt-ci-pipeline.yml Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00