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

[Framework] Remove some useless op_attributes to reduce memory usage and model size #4052

Merged
merged 3 commits into from
Aug 5, 2020

Conversation

DannyIsFunny
Copy link
Collaborator

@DannyIsFunny DannyIsFunny commented Aug 4, 2020

【Issue】 __model__ file of Paddle-Lite consumes too much space.

model v45:
Anakin __model__ part : 32K
Paddle-Lite __model__: 330K

【Effect of Current PR】
Remove some useless op_attributes form __model__
【Experiment】

v45.nb:
     Before: 641K 
     After: 500k
Model size will be reduced by 21.8%

@DannyIsFunny DannyIsFunny merged commit c2150d1 into PaddlePaddle:develop Aug 5, 2020
@DannyIsFunny DannyIsFunny deleted the FIX_MODEL branch August 5, 2020 12:04
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

Successfully merging this pull request may close these issues.

2 participants