This is an automated email from the ASF dual-hosted git repository.
areusch pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 3f5dca5 [Docker][Onnx] Upgrade ONNX to latest version (#9519)
add 0cb6337 [TVMC][Relay] Introduce executor and runtime parameters
(#9352)
No new revisions were added by this update.
Summary of changes:
apps/bundle_deploy/build_model.py | 35 +++--
apps/microtvm/ethosu/run_demo.sh | 8 +-
docs/arch/microtvm_design.rst | 16 ++-
.../how_to/work_with_microtvm/micro_autotune.py | 10 +-
gallery/how_to/work_with_microtvm/micro_tflite.py | 10 +-
include/tvm/ir/module.h | 28 ++++
include/tvm/relay/executor.h | 12 +-
include/tvm/relay/runtime.h | 4 +-
.../autotvm/graph_tuner/utils/traverse_graph.py | 4 +-
python/tvm/autotvm/measure/measure_methods.py | 26 +++-
python/tvm/autotvm/task/relay_integration.py | 2 +-
python/tvm/driver/build_module.py | 39 ++---
python/tvm/driver/tvmc/compiler.py | 22 ++-
python/tvm/driver/tvmc/registry.py | 88 ++++++++++++
python/tvm/ir/module.py | 35 +++++
python/tvm/micro/model_library_format.py | 2 +-
python/tvm/relay/backend/executor.py | 9 +-
python/tvm/relay/backend/executor_factory.py | 8 ++
python/tvm/relay/backend/graph_executor_codegen.py | 6 +-
python/tvm/relay/backend/runtime.py | 10 +-
python/tvm/relay/build_module.py | 160 +++++++++++++++------
python/tvm/target/target.py | 21 +--
.../tests/test_nn/src/build_test_graph.py | 9 +-
.../tests/test_tvm_basic/src/build_test_lib.py | 4 +-
.../tests/test_wasm32/src/build_test_lib.py | 4 +-
src/driver/driver_api.cc | 29 ++--
src/ir/module.cc | 18 +++
src/relay/backend/aot_executor_codegen.cc | 65 +++++----
src/relay/backend/build_module.cc | 52 ++++---
src/relay/backend/executor.cc | 5 +-
src/relay/backend/graph_executor_codegen.cc | 14 +-
src/relay/backend/runtime.cc | 4 +-
src/relay/backend/te_compiler.cc | 6 +-
src/relay/backend/te_compiler.h | 6 +-
src/relay/backend/vm/compiler.cc | 4 +-
src/runtime/meta_data.h | 8 +-
src/target/llvm/llvm_module.cc | 21 +--
src/target/llvm/llvm_module.h | 3 +-
src/target/metadata_module.cc | 23 +--
src/target/metadata_module.h | 18 ++-
src/target/source/codegen_c_host.cc | 3 +-
src/target/source/codegen_source_base.h | 23 ---
src/target/source/source_module.cc | 29 ++--
src/target/source/source_module.h | 14 +-
tests/cpp/relay_build_module_test.cc | 4 +-
tests/cpp/runtime_test.cc | 4 +-
tests/micro/arduino/conftest.py | 11 +-
tests/micro/arduino/test_arduino_rpc_server.py | 10 +-
tests/micro/zephyr/test_zephyr.py | 25 ++--
tests/micro/zephyr/test_zephyr_aot.py | 23 ++-
tests/micro/zephyr/test_zephyr_armv7m.py | 29 ++--
tests/python/driver/tvmc/test_compiler.py | 14 +-
tests/python/driver/tvmc/test_mlf.py | 15 +-
tests/python/driver/tvmc/test_registry_options.py | 81 +++++++++++
tests/python/driver/tvmc/test_target.py | 6 +-
tests/python/relay/aot/aot_test_utils.py | 54 +++++--
tests/python/relay/aot/test_crt_aot.py | 46 +++++-
tests/python/relay/test_build_module.py | 62 ++++++++
tests/python/relay/test_executor.py | 6 +-
tests/python/relay/test_pass_partition_graph.py | 28 ++--
tests/python/relay/test_runtime.py | 18 +--
.../unittest/test_auto_scheduler_search_task.py | 4 +-
tests/python/unittest/test_crt.py | 14 +-
tests/python/unittest/test_link_params.py | 32 +++--
.../unittest/test_micro_model_library_format.py | 53 ++++---
tests/python/unittest/test_runtime_module_load.py | 12 +-
tests/python/unittest/test_runtime_rpc.py | 5 +-
tests/python/unittest/test_target_codegen_llvm.py | 11 +-
tests/python/unittest/test_target_target.py | 18 ++-
web/tests/python/prepare_test_libs.py | 6 +-
web/tests/python/webgpu_rpc_test.py | 8 +-
web/tests/python/websock_rpc_test.py | 6 +-
72 files changed, 1049 insertions(+), 473 deletions(-)
create mode 100644 python/tvm/driver/tvmc/registry.py
create mode 100644 tests/python/driver/tvmc/test_registry_options.py
create mode 100644 tests/python/relay/test_build_module.py