mehrdadh commented on code in PR #12416: URL: https://github.com/apache/tvm/pull/12416#discussion_r945920038
########## tests/python/relay/test_build_module.py: ########## @@ -22,48 +22,23 @@ from tvm import relay from tvm.target.target import Target from tvm.relay.backend import Runtime, Executor, graph_executor_codegen -from tvm.relay.build_module import _reconstruct_from_deprecated_options [email protected]( - "target,executor,runtime", - [ - [Target("c"), None, None], - [Target("c -runtime=c"), None, Runtime("crt")], - [Target("c -system-lib"), None, Runtime("cpp", {"system-lib": True})], - [Target("c -runtime=c -system-lib"), None, Runtime("crt", {"system-lib": True})], - [Target("c -executor=aot"), Executor("aot"), None], - [ - Target("c -executor=aot -interface-api=c"), - Executor("aot", {"interface-api": "c"}), - None, - ], - [ - Target("c -executor=aot -unpacked-api=1"), - Executor("aot", {"unpacked-api": 1}), - None, - ], - [Target("c -executor=aot -link-params=1"), Executor("aot"), None], - [Target("c -link-params=1"), Executor("graph", {"link-params": 1}), None], - [ - Target( - "c -executor=aot -link-params=1 -interface-api=c" - " -unpacked-api=1 -runtime=c -system-lib" - ), - Executor("aot", {"unpacked-api": 1, "interface-api": "c"}), - Runtime("crt", {"system-lib": True}), - ], - ], +test_target = tvm.testing.parameter( Review Comment: done -- 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]
