This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Repository navigation
|
OS: Ubuntu 18.04 64bit LTS git clone --recursive https://github.com/apache/incubator-mxnet.git But libmxnet.so(1.03GB) size is very big. How to reduce libmxnet.so file size. |
Answered by
leezu
Dec 30, 2020
Replies: 1 comment
|
Finally, if you only need to support a known set of networks / operations, you can delete unneeded operators in |
0 replies
Answer selected by
szha
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ci/build.py -p android_armv7is not optimized for size. You should be able to reduce the size by adding-DCMAKE_BUILD_TYPE=Releaseoption to thecmakecall inci/docker/runtime_functions.sh. You can also manually runstrip --strip-unneeded libmxnet.soafter the build.Finally, if you only need to support a known set of networks / operations, you can delete unneeded operators in
src/operatorbefore the build.