tkonolige commented on a change in pull request #8793:
URL: https://github.com/apache/tvm/pull/8793#discussion_r692261099
##########
File path: docs/dev/debugger.rst
##########
@@ -148,6 +148,22 @@ How to use Debugger?
m.run()
tvm_out = m.get_output(0, tvm.nd.empty(out_shape, dtype)).numpy()
+4. If network previously was exported to external libray using
``lib.export_library("network.so")``
+ like shared object file/dynamic linked library, the initialization
+ of debug runtime will be slightly different
+
+::
+ lib = tvm.runtime.load_module("network.so")
+ m = graph_executor.GraphModuleDebug(lib["debug_create"]("default", dev),
+ [dev], lib["get_json"](),
dump_root="/tmp/tvmdbg")
Review comment:
`graph_executor.create(lib["get_json"](), lib, dev,
dump_root="/tmp/tvmdbg")` seems to work for me locally. Maybe I am testing it
wrong though?
--
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]