Skip to content

[Relay][Quantization] Fq2i hard fail option#9660

Merged
jwfromm merged 1 commit intoapache:mainfrom
mbrookhart:fq2i_hard_fail_option
Dec 10, 2021
Merged

[Relay][Quantization] Fq2i hard fail option#9660
jwfromm merged 1 commit intoapache:mainfrom
mbrookhart:fq2i_hard_fail_option

Conversation

@mbrookhart
Copy link
Contributor

This adds error handling to the Fake Quantization to integer to catch issues during graph rewrite and abort the rewrite.

Alternatively, it adds an option to fail if those rewrites fail or if we find missing ops, which should allow for easier debugging.

cc @anwang2009 @michalpiszczek @AndrewZhaoLuo @masahi

@mbrookhart mbrookhart force-pushed the fq2i_hard_fail_option branch from d77c094 to 8ccefc6 Compare December 8, 2021 16:54
Copy link
Contributor

@AndrewZhaoLuo AndrewZhaoLuo left a comment

Choose a reason for hiding this comment

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

LGTM

add test

fix lint, rework hard fail conditionals

apparently clang-format didn't take last time I tried

I can haz overflowing comments
@mbrookhart mbrookhart force-pushed the fq2i_hard_fail_option branch from 8ccefc6 to c75e9c0 Compare December 9, 2021 19:16
Copy link
Contributor

@jwfromm jwfromm left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jwfromm jwfromm merged commit 3b28216 into apache:main Dec 10, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 7, 2022
add test

fix lint, rework hard fail conditionals

apparently clang-format didn't take last time I tried

I can haz overflowing comments
yangulei pushed a commit to yangulei/tvm that referenced this pull request Jan 11, 2022
add test

fix lint, rework hard fail conditionals

apparently clang-format didn't take last time I tried

I can haz overflowing comments
yangulei pushed a commit to yangulei/tvm that referenced this pull request Jan 12, 2022
add test

fix lint, rework hard fail conditionals

apparently clang-format didn't take last time I tried

I can haz overflowing comments
ylc pushed a commit to ylc/tvm that referenced this pull request Jan 13, 2022
add test

fix lint, rework hard fail conditionals

apparently clang-format didn't take last time I tried

I can haz overflowing comments
qsqqsqqsq-intellif pushed a commit to qsqqsqqsq-intellif/tvm that referenced this pull request Apr 29, 2022
add test

fix lint, rework hard fail conditionals

apparently clang-format didn't take last time I tried

I can haz overflowing comments
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