Skip to content

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

Merged
masahi merged 7 commits into
apache:mainfrom
AndrewZhaoLuo:andrewluo-make-registration-default
Jul 15, 2021
Merged

[AMP] Add default op attribute registration to __init__.py#8460
masahi merged 7 commits into
apache:mainfrom
AndrewZhaoLuo:andrewluo-make-registration-default

Conversation

@AndrewZhaoLuo

Copy link
Copy Markdown
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.

@comaniac comaniac left a comment

Copy link
Copy Markdown
Contributor

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