lhutton1 commented on a change in pull request #10408:
URL: https://github.com/apache/tvm/pull/10408#discussion_r816653220
##########
File path: tests/python/contrib/test_ethosu/infra.py
##########
@@ -251,13 +251,23 @@ def verify_source(
"""
interface_api = "c"
test_runner = create_test_runner(accel, enable_usmp)
- run_and_check(
- models,
- test_runner,
- interface_api,
- workspace_byte_alignment=16,
- data_linkage=AOTDataLinkage(section="ethosu_scratch", alignment=16),
- )
+
+ def run_mod():
+ run_and_check(
+ models,
+ test_runner,
+ interface_api,
+ workspace_byte_alignment=16,
+ data_linkage=AOTDataLinkage(section="ethosu_scratch",
alignment=16),
+ )
+
+ # TODO(lhutton1) This is a quick and dirty work around to help temporarily
reduce
+ # the flakyness of the tests. Will remove once #10300 is resolved.
+ try:
+ run_mod()
+ except AssertionError:
Review comment:
I think we should try to land #10214 first, then rebase this patch and
print the RuntimeError before the retry
--
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]