Unexpected Build Size for ONNX Runtime Mobile #6551
-
Hi, It stated the the full build size of ONNX Runtime is about 7.5 MB, and that an ONNX Runtime Mobile minimal build is significantly less. In my experiments, I'm getting orders of magnitude larger if referring to the Ubuntu 18.04 Linux (full build): 522,457,648 bytes All three variations seem to be 100x larger than expected according to the above article. The
Here's the build commands for the above builds: Android (minimal for arm64-v8a): Android (minimal for arm64-v8a plus Am I building incorrectly, looking at the wrong .so file, or was it a misprint in the above article? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
For the mobile build, the config is The build instructions are here. |
Beta Was this translation helpful? Give feedback.
For the mobile build, the config is
MinSizeRel
. Can you try with--config=MinSizeRel
in the build command?The build instructions are here.