Hi Folks,
On master branch when doing custom build for Android I have got 40% decrease in Lib size (for libpytorch_jni.so). However when doing custom build for iOS with the same .yaml file I have got about 2.7% decrease (for libtorch_cpu.a).
I did custom builds as described here: https://pytorch.org/mobile/home/ 9
I have also created following GitHub issue:
https://github.com/pytorch/pytorch/issues/35306 13
Regards,
Hovhannes