Cherry-picks for release 1.8.1 - Round3 (#8195)
* Revert the cuda algo finding change as this causes a significant memory bloat. (#8181)
* Revert the cuda algo finding change as this causes a significant memory bloat.
* Address PR comment
* Make pipelines to support torch1.8.1 and torch1.9.0 (#8084)
* Add post-install command to build PyTorch CPP extensions from within onnxruntime package (#8027)
ORTModule requires two PyTorch CPP extensions that are currently JIT compiled. The runtime compilation can cause issues in some environments without all build requirements or in environments with multiple instances of ORTModule running in parallel
This PR creates a custom command to compile such extensions that must be manually executed before ORTModule is executed for the first time. When users try to use ORTModule before the extensions are compiled, an error with instructions are raised
PyTorch CPP Extensions for ORTModule can be compiled by running:
python -m onnxruntime.training.ortmodule.torch_cpp_extensions.install
Full build environment is needed for this
* Patch orttraining-ortmodule pipeline with latest fix on master
* add cuda version to build config
* [rel-1.8.1][Objective-C API] Cherry-pick Objective-C API updates (#8197)
* [Objective-C API] Add ORTSession methods to get input, overridable initializer, and output names. (#7837)
* [Objective-C API] Fixes from package testing and clean up (#7866)
* [Objective-C API] Enable CoreML EP (#7914)
Enable CoreML EP in Objective-C API.
* [Objective-C API] Add script to assemble pod package files. (#7958)
Add a helper script for creating the Objective-C API pod package. It puts the necessary files and generates a podspec in a staging directory.
* [Objective-C API] Add support for documentation generation (#7999)
Adding support for generating API documentation with the Jazzy tool.
It's a manual process now, but we can eventually make it a part of the release pipeline.
Co-authored-by: Pranav Sharma <prs@microsoft.com>
Co-authored-by: liqunfu <liqfu@microsoft.com>
Co-authored-by: Thiago Crepaldi <thiago.crepaldi@microsoft.com>
Co-authored-by: Baiju Meswani <bmeswani@microsoft.com>
Co-authored-by: Edward Chen <18449977+edgchen1@users.noreply.github.com>