Uh oh!
There was an error while loading. Please reload this page.
[Torch] Clean up usage of try ... infer_value() ... except - #6504
Conversation
Uh oh!
There was an error while loading. Please reload this page.
@tqchen I got a build error from utvm crt https://ci.tvm.ai/blue/organizations/jenkins/tvm/detail/PR-6504/2/pipeline I don't understand why I'm getting an error from a file like |
94f4627 to
e6094feCompareleandron
commented
Sep 17, 2020
Yeah, I'm seeing the same on my PR as well. |
@masahi was due to a cmake cache problem that PR has been merged, please retrigger. |
Uh oh!
There was an error while loading. Please reload this page.
e6094fe to
9ac55caCompareUh oh!
There was an error while loading. Please reload this page.
masahi
commented
Sep 22, 2020
Thanks @kevinthesun@yongwww |
* clean up infer value usage * try silence pylint * remove unused variable * make on_failuare optional * make on_success optional True Co-authored-by: masa <masa@pop-os.localdomain>
* clean up infer value usage * try silence pylint * remove unused variable * make on_failuare optional * make on_success optional True Co-authored-by: masa <masa@pop-os.localdomain>
* clean up infer value usage * try silence pylint * remove unused variable * make on_failuare optional * make on_success optional True Co-authored-by: masa <masa@pop-os.localdomain>
* clean up infer value usage * try silence pylint * remove unused variable * make on_failuare optional * make on_success optional True Co-authored-by: masa <masa@pop-os.localdomain>
* clean up infer value usage * try silence pylint * remove unused variable * make on_failuare optional * make on_success optional True Co-authored-by: masa <masa@pop-os.localdomain>
This is a follow up to #6449 where some usage of exception-throwing
infer_valueis introduced. Following the discussion there, I attempted to clean up that usage with a new wrapper API. I think this is a reasonable change to add.The following API is added. If this looks good, I'll add a doc string. See the example use in the Torch frontend.
please review @kevinthesun@t-vi@siju-samuel