How to reload a module from a library and run it with parameters

So far I am absolutely unsuccessful to achieve that. The exported library includes a simple Relay IR function adding two parameters. According to examples it is required to perform:

  1. a library load
  2. create a graph runtime module to execute a graph
  3. wrap the above module using GraphModule in order to apply “module.set_input”

I have read through all postings with similar questions (I think) but the specific solutions don’t work for me for various reasons. At large it seems because of some API changes happened a while ago and the inquiries are from a time before that. Therefore I would really appreciate a complete example based on the current API. My tvm version is 14.x.

You’re struggling to reload a module from a library and run it with parameters. Since previous solutions aren’t working due to API changes, you might need to dive into the latest documentation or ask for help in TVM forums. Hope you find the solution soon!

?This is the TVM forum, isn’t it?