[Web] onnxruntime-node
Linux addon binaries contain duplicate identical copies of libonnxruntime.so.x
taking up extra ~40MB
#23956
Labels
platform:web
issues related to ONNX Runtime web; typically submitted using template
Describe the issue
Linux (x64):

Linux (arm64):

I tested the files
libonnxruntime.so.1
andlibonnxruntime.so.1.21.0
are identical. On 1.21.0, SHA256 hashes:x64:
arm64:
This duplication seems to have started in
1.19.0
. It's not there in1.18.0
Can anything be done to reduce that extra ~40MB from the installed package size? Is it necessary?
I guess the gzip compression could with the npm (downloaded) package size, but I thought I should report this since I haven't seen it reported before (sorry if this is a duplicate).
To reproduce
See:
https://www.npmjs.com/package/onnxruntime-node/v/1.21.0?activeTab=code
Urgency
No response
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.21.0
Execution Provider
Other / Unknown
The text was updated successfully, but these errors were encountered: