onnxruntime/tools/ci_build
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
..
github Enable nuget packages for on device training (#13637) 2022-12-05 14:54:09 -08:00
__init__.py
amd_hipify.py Hipify during build instead of before cmake config (#13333) 2022-10-20 22:46:22 -07:00
build.py Enable nuget packages for on device training (#13637) 2022-12-05 14:54:09 -08:00
clean_docker_image_cache.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
coverage.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
gen_def.py Add CANN EP (#12416) 2022-09-22 14:53:40 -07:00
get_docker_image.py Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
logger.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00
op_registration_utils.py Update kernel matching logic: decouple from op schemas and remove kernel def hashes (#12791) 2022-09-20 14:24:59 -07:00
op_registration_validator.py Add ONNX LayerNormalization(17) (#12978) 2022-09-23 09:49:27 +10:00
policheck_exclusions.xml Exculde hipify option from policheck (#13431) 2022-10-25 16:35:16 +08:00
reduce_op_kernels.py Update kernel matching logic: decouple from op schemas and remove kernel def hashes (#12791) 2022-09-20 14:24:59 -07:00
replace_urls_in_deps.py Move C/C++ deps' URLs to deps.txt (#13769) 2022-11-29 18:06:35 -08:00
requirements.txt Bump protobuf from 3.17.0 to 3.18.3 in /tools/ci_build 2022-09-25 20:00:36 -07:00
update_tsaoptions.py Add license header to some files. (#13074) 2022-09-23 18:46:02 -07:00
upload_python_package_to_azure_storage.py Format all python files under onnxruntime with black and isort (#11324) 2022-04-26 09:35:16 -07:00