-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Finally, if you only need to support a known set of networks / operations, you can delete unneeded operators in |
Beta Was this translation helpful? Give feedback.
ci/build.py -p android_armv7
is not optimized for size. You should be able to reduce the size by adding-DCMAKE_BUILD_TYPE=Release
option to thecmake
call inci/docker/runtime_functions.sh
. You can also manually runstrip --strip-unneeded libmxnet.so
after the build.Finally, if you only need to support a known set of networks / operations, you can delete unneeded operators in
src/operator
before the build.