@popojames , thanks for trying the pipeline runtime, the set params issue will get address in our new patch, you also can try following change as a quick fix.
diff --git a/python/tvm/contrib/pipeline_executor.py b/python/tvm/contrib/pipeline_executor.py
index bd8c9a768..c1f7842b3 100644
--- a/python/tvm/contrib/pipeline_executor.py
+++ b/python/tvm/contrib/pipeline_executor.py
@@ -157,7 +157,7 @@ def create(pipeline_mods, mod_config):
mod = graph_executor.GraphModule(
pipeline_mod["default"](pipeline_mods[pipeline_mod]["dev"])
)
- mods.append(mod.module)
+ mods.append(mod)
submodule = PipelineModule(mods, json.dumps(mod_config))
# submodule = PipelineModule(pipeline_mods, json.dumps(mod_config))
@@ -181,7 +181,7 @@ class PipelineModule(object):
def __init__(self, modules, pipeline_config):
mods = []
for module in modules:
- mods.append(module)
+ mods.append(module.module)
pipelinecreate = tvm._ffi.get_global_func("tvm.pipeline_executor.create")
assert pipelinecreate