tkonolige commented on code in PR #11000:
URL: https://github.com/apache/tvm/pull/11000#discussion_r858107639
##########
tests/python/unittest/test_runtime_graph_debug.py:
##########
@@ -185,5 +191,47 @@ def check_remote(server):
check_remote(rpc.Server("127.0.0.1"))
[email protected]_llvm
+def test_run_single_node(graph):
+ mlib_proxy = tvm.support.FrontendTestModule()
+ mlib_proxy["myadd"] = myadd
+ try:
+ mod: debug_executor.GraphModuleDebug = debug_executor.create(graph,
mlib_proxy, tvm.cpu(0))
+ except ValueError:
+ return
Review Comment:
Its better to use `@pytest.skipif(tvm.support.libinfo()["USE_PROFILER"] !=
"ON", "TVM was not built with profiler support")`
--
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]