This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 82cf9f72d6 [TVMScript] Simplify TIR Var Definition (#13970)
add bea4919a75 [TVMScript] Encourage using T.Buffer directly (#13971)
add 266ff51d2a [ONNX] Extend reduction types supported by ScatterND
(#13946)
add a1dc4b91a4 [microTVM] Refactor required external functions in CRT to
platform-template.c (#13885)
add 53f4b2cce9 [CI] Enable USE_MICRO in minimal cross ISA build (#13942)
add b371c4625d [Hexagon] Improve cache management strategy for
HexagonBuffer (#13883)
No new revisions were added by this update.
Summary of changes:
.../template_project/microtvm_api_server.py | 10 +-
.../src/example_project/{model.c => platform.c} | 25 ++-
.../src/example_project/{model.h => platform.h} | 4 -
.../src/example_project/project.ino | 4 +-
.../host_driven/{model_support.c => platform.c} | 12 +-
.../template_project/CMakeLists.txt.template | 2 +-
.../zephyr/template_project/microtvm_api_server.py | 67 +++++--
.../src/aot_standalone_demo/main.c | 193 ++++++++-------------
.../src/aot_standalone_demo/{main.c => platform.c} | 165 +++---------------
.../src/aot_standalone_demo/zephyr_uart.c | 87 ----------
.../src/aot_standalone_demo/zephyr_uart.h | 50 ------
.../src/host_driven/fvp/semihost.c | 2 +-
.../zephyr/template_project/src/host_driven/main.c | 154 +---------------
.../template_project/src/host_driven/platform.c | 155 +++++++++++++++++
.../template_project/src/mlperftiny/platform.cc | 68 ++++++++
.../src/mlperftiny/submitter_implemented.cc | 174 +++++++++++++++++--
.../template_project/src/mlperftiny/tvmruntime.cc | 164 -----------------
.../template_project/src/mlperftiny/tvmruntime.h | 62 -------
.../template_project/src/mlperftiny/zephyr_uart.cc | 89 ----------
.../template_project/src/mlperftiny/zephyr_uart.h | 51 ------
.../generated/minimal_cross_isa_jenkinsfile.groovy | 4 +-
.../minimal_cross_isa_jenkinsfile.groovy.j2 | 2 +-
cmake/modules/CRT.cmake | 7 +-
cmake/modules/Zephyr.cmake | 2 -
.../how_to/work_with_microtvm/micro_mlperftiny.py | 2 +-
gallery/how_to/work_with_microtvm/micro_pytorch.py | 2 +-
include/tvm/relay/attrs/transform.h | 5 +-
include/tvm/runtime/crt/platform.h | 9 +
python/tvm/micro/model_library_format.py | 14 +-
python/tvm/relay/frontend/onnx.py | 53 +++++-
python/tvm/relay/op/transform.py | 8 +-
python/tvm/script/ir_builder/tir/__init__.py | 2 +-
python/tvm/script/ir_builder/tir/ir.py | 23 ++-
python/tvm/script/parser/tir/entry.py | 12 +-
python/tvm/testing/aot.py | 4 +-
python/tvm/topi/cuda/scatter.py | 16 +-
python/tvm/topi/scatter.py | 28 +--
src/runtime/crt/host/Makefile.template | 4 +-
src/runtime/crt/host/main.cc | 78 +--------
src/runtime/crt/host/microtvm_api_server.py | 31 ++--
src/runtime/crt/host/{main.cc => platform.cc} | 124 ++++---------
src/runtime/crt/platform-template.c | 80 +++++++++
src/runtime/hexagon/hexagon_buffer.cc | 44 +++--
src/script/ir_builder/tir/ir.cc | 3 +-
tests/micro/arduino/test_arduino_workflow.py | 14 +-
tests/micro/arduino/testdata/project.ino | 5 +-
tests/micro/zephyr/test_zephyr.py | 36 ++++
.../zephyr/test_zephyr_aot_exec_standalone.py | 4 +-
tests/micro/zephyr/utils.py | 8 +-
tests/python/frontend/onnx/test_forward.py | 2 -
tests/python/relay/test_op_level3.py | 19 +-
tests/python/topi/python/test_topi_scatter.py | 18 +-
.../python/unittest/test_auto_scheduler_feature.py | 6 +-
.../unittest/test_micro_model_library_format.py | 25 +++
.../scripts/task_config_build_minimal_cross_isa.sh | 1 +
55 files changed, 1002 insertions(+), 1231 deletions(-)
rename apps/microtvm/arduino/template_project/src/example_project/{model.c =>
platform.c} (80%)
rename apps/microtvm/arduino/template_project/src/example_project/{model.h =>
platform.h} (94%)
rename apps/microtvm/arduino/template_project/src/host_driven/{model_support.c
=> platform.c} (85%)
copy apps/microtvm/zephyr/template_project/src/aot_standalone_demo/{main.c =>
platform.c} (50%)
delete mode 100644
apps/microtvm/zephyr/template_project/src/aot_standalone_demo/zephyr_uart.c
delete mode 100644
apps/microtvm/zephyr/template_project/src/aot_standalone_demo/zephyr_uart.h
create mode 100644
apps/microtvm/zephyr/template_project/src/host_driven/platform.c
create mode 100644
apps/microtvm/zephyr/template_project/src/mlperftiny/platform.cc
delete mode 100644
apps/microtvm/zephyr/template_project/src/mlperftiny/tvmruntime.cc
delete mode 100644
apps/microtvm/zephyr/template_project/src/mlperftiny/tvmruntime.h
delete mode 100644
apps/microtvm/zephyr/template_project/src/mlperftiny/zephyr_uart.cc
delete mode 100644
apps/microtvm/zephyr/template_project/src/mlperftiny/zephyr_uart.h
copy src/runtime/crt/host/{main.cc => platform.cc} (56%)
create mode 100644 src/runtime/crt/platform-template.c