mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-07 17:15:29 +00:00
### Description <!-- Describe your changes. --> Setup usage of coremltools via dependencies instead of copying files. Pull in some changes from https://github.com/microsoft/onnxruntime/pull/19347 in preparation for supporting ML Program and enabling building the ML Model on all platforms to make development and testing of CoreML EP code easier. - Update to coremltools 7.1 - Add patch for changes required for cross platform build of ML Program related code - Generate coreml proto files on all platforms - mainly to test these changes work everywhere, as the proto files will be used on all platforms when #19347 is checked in - rename onnxruntime_coreml_proto target to coreml_proto as it contains purely coreml protobuf code with no ORT related chagnes ### 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. --> Improve setup. |
||
|---|---|---|
| .. | ||
| generated | ||
| cgmanifest.json | ||
| generate_cgmanifest.py | ||
| print_submodule_info.py | ||
| README.md | ||
CGManifest Files
This directory contains CGManifest (cgmanifest.json) files. See here for details.
cgmanifests/generated/cgmanifest.json
This file contains generated CGManifest entries.
It covers these dependencies:
- git submodules
- dependencies from the Dockerfile
tools/ci_build/github/linux/docker/Dockerfile.manylinux2014_cuda11 - the entries in ../cmake/deps.txt
If any of these dependencies change, this file should be updated. When updating, please regenerate instead of editing manually.
How to Generate
- Change to the repository root directory.
- Ensure the git submodules are checked out and up to date. For example, with:
$ git submodule update --init --recursive - Run the generator script:
$ python cgmanifests/generate_cgmanifest.py --username <xxx> --token <your_access_token>
Please supply your github username and access token to the script. If you don't have a token, you can generate one at https://github.com/settings/tokens. This is for authenticating with Github REST API so that you would not hit the rate limit.
cgmanifests/cgmanifest.json
This file contains non-generated CGManifest entries. Please edit directly as needed.