Comments (3)
This is coming indirectly from the protobuf library that CoreML uses to define the model format.
Have added changes to patch the protobuf headers in the version of protobuf we're using to avoid the issue. More details in the PR.
Will be in the next release in a few weeks. Unfortunately that's the soonest we can fix it.
Short-term alternative would be to build the onnxruntime-c pod locally with those changes. On a mac, if you checkout the onnxruntime repo you can run this script to do that
python3 tools/ci_build/github/apple/build_apple_framework.py --build_dir build/iOS_framework_full tools/ci_build/github/apple/default_full_ios_framework_build_settings.json
from onnxruntime.
Sorry - one correction. That script will build an xcframework. To build the cocoapods locally you'd need to run
python3 tools/ci_build/github/apple/build_and_assemble_apple_pods.py --variant Full --build-settings-file tools/ci_build/github/apple/default_full_apple_framework_build_settings.json
usage: build_and_assemble_apple_pods.py [-h] [--build-dir BUILD_DIR] [--staging-dir STAGING_DIR] [--pod-version POD_VERSION] [--variant {Full,Mobile,Training}] [--test]
[--include-ops-by-config INCLUDE_OPS_BY_CONFIG] --build-settings-file BUILD_SETTINGS_FILE [-b BUILD_APPLE_FRAMEWORK_EXTRA_ARGS]
Builds an iOS framework and uses it to assemble iOS pod package files.
optional arguments:
-h, --help show this help message and exit
--build-dir BUILD_DIR
The build directory. This will contain the iOS framework build output. (default: /Users/me/src/github/ort/build/apple_framework)
--staging-dir STAGING_DIR
The staging directory. This will contain the iOS pod package files. The pod package files do not have dependencies on files in the build directory. (default:
/Users/me/src/github/ort/build/apple_pod_staging)
--pod-version POD_VERSION
The version string of the pod. The same version is used for all pods. (default: 1.19.0-local)
--variant {Full,Mobile,Training}
Pod package variant. (default: Mobile)
--test Run tests on the framework and pod package files. (default: False)
iOS framework build arguments:
See the corresponding arguments in build_apple_framework.py for details.
--include-ops-by-config INCLUDE_OPS_BY_CONFIG
--build-settings-file BUILD_SETTINGS_FILE
The positional argument of build_apple_framework.py. (default: None)
-b BUILD_APPLE_FRAMEWORK_EXTRA_ARGS, --build-apple-framework-arg BUILD_APPLE_FRAMEWORK_EXTRA_ARGS
Pass an argument through to build_apple_framework.py. This may be specified multiple times. (default: [])
from onnxruntime.
thanks @skottmckay for a quick response
from onnxruntime.
Related Issues (20)
- Error No Op registered for SimplifiedLayerNormalization with domain_version of 14 HOT 5
- Undefined behaviour in OneHot operator
- In a Windows 32-bit system, what is the highest version that can be used?
- [Training] Could not find an implmentation for groupnorm
- I want to get the“hidden_states” data in the Bert model HOT 3
- [Build] TVM EP Build HOT 1
- BeamSearch op returning wrong results on CUDA execution provider when sequence is used as input_ids HOT 1
- [Documentation] ORT Format Model Version Table Needs Update HOT 2
- [Mobile] Broadcasting Error in Sub Node with ONNX Runtime Version 1.17.3: Incompatibility with Dimension Broadcasting Rules
- Type Error: Type 'tensor(int64)' of input parameter (16586) of operator (Clip) in node (Clip_13292) is invalid. HOT 4
- LayerNormalization doesnt' work as expected in MAC.
- User-provided session logging function is not used for every log HOT 4
- NOT_IMPLEMENTED : Could not find an implementation for ReduceProd(18) node with name 'p2o.ReduceProd.0'
- [Performance] Quadratic behaviour in list operations with SequenceInsert in onnx
- [Build] [CANN] Failed to build CANN provider with training and Python bindings
- ONNX Runtime doesn't support the graph optimization of vision-encoder-decoder yet
- cannot resolve operator 'HardSwish' with opsets: ai.onnx v9 [Web]
- cuda's FusedConv is not support Sigmod
- [Mobile] Subgraphs duplicate initializers in RAM during execution HOT 1
- [Web] The YOLOv8 segmentation model with batching option is not operating on the GPU ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnxruntime.