I'm doing a project with onnxruntime-web with pure c++.
I've tried minimal build with wasm, it works fine. However, when I build it with "--build_wasm_static_lib" the "libonnxruntime_webassembly.a" is too large (about 73M) which is not acceptable. It seems that minimal build not working for static lib. If I build with "--build_wasm", the size reduces to 1.2M.
How can I reduce the size of "libonnxruntime_webassembly.a" when I offerring a config of ORT model.
I'm doing a project with onnxruntime-web with pure c++.
I've tried minimal build with wasm, it works fine. However, when I build it with "--build_wasm_static_lib" the "libonnxruntime_webassembly.a" is too large (about 73M) which is not acceptable. It seems that minimal build not working for static lib. If I build with "--build_wasm", the size reduces to 1.2M.
How can I reduce the size of "libonnxruntime_webassembly.a" when I offerring a config of ORT model.