Mousius commented on a change in pull request #8650:
URL: https://github.com/apache/tvm/pull/8650#discussion_r686105612
##########
File path: tests/python/relay/aot/aot_test_utils.py
##########
@@ -395,6 +410,9 @@ def compile_and_run(
target = f"{base_target} {extra_target}"
cflags = f"-DTVM_RUNTIME_ALLOC_ALIGNMENT_BYTES={workspace_byte_alignment} "
+ if not isinstance(networks, list):
+ networks = [networks]
Review comment:
I think we can eventually lean on mypy to cover this rather than having
to assert ourselves, wdyt?
--
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]