hi @ryan-csm,
Could you try running with -link-params as was suggested on the other post? To do so:
- add
-link-paramsto the Target string. - if you’re just doing the following:
the GraphExecutorFactory will shoot you in the foot at runtime as you observed. Instead, you need to export like so:compiled = tvm.relay.build(...) compiled.export_library("foo.so")compiled.get_lib().export_library("foo.so"). you then also need to export the Graph JSON separately:open("graph.json", "w").write(compiled.get_json()). - then, at runtime, load the library and JSON and instantiate. i’ll be interested to see what you get.