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

[Relay][Transform] quantize opt passes to pass manager #3289

Merged
merged 3 commits into from Jun 13, 2019

Conversation

zhiics
Copy link
Member

@zhiics zhiics commented Jun 4, 2019

#3273

This PR moves optimizations in quantize.py to the pass manager, i.e. the sequence of passes are moved to Sequential.

cc @tqchen @vinx13 @ZihengJiang @jroesch @MarisaKirisame

@zhiics
Copy link
Member Author

zhiics commented Jun 4, 2019

@tqchen Should I keep the quantize related two passes in the quantize namespace and quantize.py file?

@jroesch jroesch requested review from tqchen and ZihengJiang and removed request for tqchen June 4, 2019 20:32
@jroesch
Copy link
Member

jroesch commented Jun 4, 2019

Otherwise looks good to me, we should get @ZihengJiang and @tqchen to sign off.

src/relay/pass/quantize.cc Outdated Show resolved Hide resolved
python/tvm/relay/quantize/quantize.py Outdated Show resolved Hide resolved
@tqchen
Copy link
Member

tqchen commented Jun 4, 2019

Let us not put them into the c++ for now, but just uses the pass infra in the python now.

@zhiics
Copy link
Member Author

zhiics commented Jun 6, 2019

@ZihengJiang PTAL. Thanks.

@zhiics zhiics force-pushed the quantize_opt branch 2 times, most recently from 7952621 to 0338ed6 Compare June 9, 2019 06:34
@ZihengJiang
Copy link
Contributor

LGTM! Could you resolve the conflicts and do the merge?

@zhiics
Copy link
Member Author

zhiics commented Jun 13, 2019

@ZihengJiang rebased. I don't have the permission to merge. Could you or @jroesch merge it? Thanks.

@tqchen tqchen merged commit 6e2c7ed into apache:master Jun 13, 2019
@tqchen
Copy link
Member

tqchen commented Jun 13, 2019

Thanks, @zhiics @ZihengJiang @jroesch , this PR is now merged

@zhiics zhiics deleted the quantize_opt branch June 13, 2019 17:12
wweic pushed a commit to wweic/tvm that referenced this pull request Jun 26, 2019
wweic pushed a commit to neo-ai/tvm that referenced this pull request Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants