djl icon indicating copy to clipboard operation
djl copied to clipboard

DJL Android Huge APK Size

Open rh-id opened this issue 2 years ago • 0 comments

Hi, Thanks for great java library.

I'm trying DJL in android base on this: https://docs.djl.ai/master/android/index.html

It works like a charm, however the APK size seemed to be problematic (200MB++) Even after excluding X86 and X86_64 archs.

The problem seemed to be pytorch native library (100mb) for each arch.

Is it possible to somehow tweak it to reduce the pytorch size?

rh-id avatar Jul 02 '23 11:07 rh-id