This is an automated email from the ASF dual-hosted git repository. tqchen pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from d8c80c3 `tvm` crate stage 3 of Rust refactor (#5769) add eacfe89 [RUNTIME] Introduce MetadataModule to separate code compilation/interpretation and weight initialization (#5770) No new revisions were added by this update. Summary of changes: python/tvm/contrib/graph_runtime.py | 7 +- python/tvm/runtime/vm.py | 13 +- src/relay/backend/build_module.cc | 7 +- src/relay/backend/compile_engine.cc | 38 ++-- src/relay/backend/contrib/codegen_c/codegen.cc | 85 ++++---- src/relay/backend/contrib/codegen_c/codegen_c.h | 83 +++++++- src/relay/backend/contrib/dnnl/codegen.cc | 73 ++++--- src/relay/backend/graph_runtime_codegen.cc | 8 + src/relay/backend/utils.h | 20 ++ src/relay/backend/vm/compiler.cc | 24 +-- src/runtime/graph/graph_runtime.cc | 9 +- src/runtime/meta_data.h | 16 ++ src/runtime/metadata_module.cc | 222 +++++++++++++++++++++ src/target/source/codegen_source_base.h | 21 +- src/target/source/source_module.cc | 70 ++++++- tests/python/frontend/onnx/test_forward.py | 5 +- tests/python/relay/test_external_codegen.py | 43 ++++ tests/python/relay/test_external_runtime.py | 6 +- .../python/unittest/test_runtime_module_export.py | 3 +- 19 files changed, 609 insertions(+), 144 deletions(-) create mode 100644 src/runtime/metadata_module.cc