Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove models from apk #3

Open
gordinmitya opened this issue Nov 27, 2022 · 0 comments
Open

Remove models from apk #3

gordinmitya opened this issue Nov 27, 2022 · 0 comments
Assignees

Comments

@gordinmitya
Copy link
Owner

Issue:
apk size is large + most of space is redundant because we store the same weights in slightly different formats.

Suggestion:
Keep only lightweight model definitions inside apk. Because actual weights do not affect model execution.

Proc:

  • smaller apk size
  • use cacheDir - smaller disk footprint when app is unused

Cons:

  • not all frameworks allow model definitions without weights out of the box
  • versioning of model files
@gordinmitya gordinmitya self-assigned this Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant