Closed saad-koukous closed 3 weeks ago
Hi @saad-koukous ,
arm-linux-gnueabihf-strip libtensorflowlite_c.so
bazel build --config=elinux_armhf --cpu=armhf //tensorflow/lite:libtensorflowlite_c.so
Thank you!
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.
Hi @Venkat6871 I tried using the strip command as you suggested to remove unnecessary symbols from the libtensorflowlite_c.so However, the size of the library did not change after stripping.
Additionally, I tried compiling the library specifically for the ARMv7 architecture Unfortunately, the file size remained the same even after these attempts. It seems that there might not be any significant symbols or unnecessary code that can be stripped from the library.
If you have any other suggestions or further optimizations to try, please let me know!
Thank you!
System information
i'm trying to build the library using this toolchain : gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf I successfully built a shared library, but the size of the .so file is 4 MB, which is too big for me. How can I reduce it? is there any way to limit the operators and types required by my model