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

Set static alloc for quantized models #755

Merged
merged 2 commits into from
Apr 26, 2019

Conversation

xinyu-intel
Copy link
Member

When gluon model hybridize with static_shape=True, static_alloc=True, cached_op with static mode will be used. For this situation, we should try to cache operator state for better performance. This PR is to enable this feature along with MXNet #14785 to speed up gluon inference speed, especially for small batch sizes.

@mli
Copy link
Member

mli commented Apr 24, 2019

Job PR-755-1 is done.
Docs are uploaded to http:https://gluon-vision-staging.s3-website-us-west-2.amazonaws.com/PR-755/1/index.html
Code coverage of this PR: pr.svg vs. Master: master.svg

@zhreshold
Copy link
Member

I'll wait for apache/mxnet#14785

@zhreshold
Copy link
Member

merged together with apache/mxnet#14785

@pengzhao-intel
Copy link

@xinyu-intel do we need to update the performance in the tutorial?

@xinyu-intel
Copy link
Member Author

@pengzhao-intel Throughput has a little bit improvement. Plan to update them along with some other models and waiting for 2nd gen Xeon online.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants