You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
api:Javaissues related to the Java APIbuildbuild issues; typically submitted using templatestaleissues that have not been addressed in a while; categorized by a bot
The JAR size is 260 MB. When I extracted the JAR and tried to understand why it is heavier compared to the one available for inference on the internet (45 MB), I noticed that the file onnxruntime-1.17.0/ai/onnxruntime/native/linux-x64/libonnxruntime.so is occupying 751 MB out of the entire JAR (788.4 MB).
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
api:Javaissues related to the Java APIbuildbuild issues; typically submitted using templatestaleissues that have not been addressed in a while; categorized by a bot
Describe the issue
Hi,
I have created a custom java build with training enabled with the below command.
The JAR size is 260 MB. When I extracted the JAR and tried to understand why it is heavier compared to the one available for inference on the internet (45 MB), I noticed that the file onnxruntime-1.17.0/ai/onnxruntime/native/linux-x64/libonnxruntime.so is occupying 751 MB out of the entire JAR (788.4 MB).
Are there any ways to reduce the size of the JAR?
Urgency
No response
Target platform
Ubuntu 22.04.1
Build script
.\build.bat --config RelWithDebInfo --build_shared_lib --parallel --enable_training --skip_tests --build_java
Error / output
I did not encounter any errors while using the generated JAR for training on the Linux platform.
Visual Studio Version
No response
GCC / Compiler Version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
The text was updated successfully, but these errors were encountered: