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

[AMP] Add default op attribute registration to __init__.py #8460

Merged
merged 7 commits into from
Jul 15, 2021

Conversation

AndrewZhaoLuo
Copy link
Contributor

This will make it so when we do from tvm.relay.transform import ToMixedPrecision we will also by default import the default op attributes for the pass. This will hopefully avoid people suffering from errors where they did not import the op attribute file for now.

Copy link
Contributor

@comaniac comaniac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masahi masahi merged commit 8a8c9b2 into apache:main Jul 15, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
* add attribute registration to init

* blackify

* remove unused improt

* jostle ci

* avoid circular import

* change order to match orig

* other things

Co-authored-by: Andrew Zhao Luo <andrewzhaoluo@system76-pc.localdomain>
zxy844288792 pushed a commit to zxy844288792/tvm that referenced this pull request Mar 4, 2022
* add attribute registration to init

* blackify

* remove unused improt

* jostle ci

* avoid circular import

* change order to match orig

* other things

Co-authored-by: Andrew Zhao Luo <andrewzhaoluo@system76-pc.localdomain>
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.

3 participants