tlopex commented on code in PR #18462:
URL: https://github.com/apache/tvm/pull/18462#discussion_r2532215253
##########
tests/python/relax/test_frontend_from_exported_program.py:
##########
@@ -4093,9 +4093,15 @@ def main(
return gv
example_args = (torch.randn(1, 3, 112, 112, dtype=torch.float32),)
- verify_model(InterpolateBilinear(), example_args, {}, expected_bilinear)
- verify_model(InterpolateNearest(), example_args, {}, expected_nearest)
- verify_model(InterpolateBicubic(), example_args, {}, expected_bicubic)
+ verify_model(
+ InterpolateBilinear(), example_args, {}, expected_bilinear,
run_ep_decomposition=True
+ )
+ verify_model(
+ InterpolateNearest(), example_args, {}, expected_nearest,
run_ep_decomposition=True
+ )
+ verify_model(
+ InterpolateBicubic(), example_args, {}, expected_bicubic,
run_ep_decomposition=False
Review Comment:
Our goal is to make every test pass when `run_ep_decomposition=True` , so
even it has 100+ lines, you'd better rewrite the test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]