You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "lhutton1 (via GitHub)" <gi...@apache.org> on 2023/06/28 08:57:53 UTC
[GitHub] [tvm] lhutton1 commented on a diff in pull request #15159: [microNPU][ETHOSU] Fix compiler attributes types
lhutton1 commented on code in PR #15159:
URL: https://github.com/apache/tvm/pull/15159#discussion_r1244908917
##########
tests/python/driver/tvmc/test_target_options.py:
##########
@@ -96,6 +96,21 @@ def test_include_known_codegen():
}
+@tvm.testing.requires_ethosu
+def test_ethosu_compiler_attrs():
+ # It is checked that the represented string and boolean types in the
+ # EthosUCompilerConfigNode structure can be passed via the command line
+ parser = argparse.ArgumentParser()
+ generate_target_args(parser)
+ parsed, _ = parser.parse_known_args(
+ ["--target-ethos-u-accelerator_config=ethos-u55-32", "--target-ethos-u-enable_cascader=1"]
+ )
+ print(reconstruct_target_args(parsed))
Review Comment:
nit: remove print
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org