@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
```
---
[Visit
Topic](https://discuss.tvm.apache.org/t/how-to-set-parameter-into-pipeline-module/11375/2)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.apache.org/email/unsubscribe/8e01753ed10136fbd50fe971dab348ff2064221d7c0790d9de9bc1e0636a78c0).