This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch unity-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git
omit 745222ecfd [Unity] e2e Relax minimum build flow (#13961)
omit 0383d1f56a [Unity] Relax VM shape lowering pass (#13956)
omit c0a49166e0 [Unity] Relax VM codegen (#13954)
omit 869826ecb5 [Unity] Relax TVMScript Printer (#13944)
omit a355ecb978 [Unity] Relax TVMScript Parser. (#13932)
omit 301394bd1d [Unity] Relax BlockBuilder and ExprMutator (#13926)
omit 5dead194c3 [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
omit ff0b606ac8 [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
omit c63a92e008 [Unity][IR] First-class StructInfo (#13907)
omit 92888f8fe8 [Unity] Relax expressions and types (#13901)
omit 997399d8ee [Unity] Relax VM (#13878)
add 8b2b1655cd [Fix][MetaSchedule] RPCRunner timeout when queueing up
(#13963)
add a5a6e7fa1b Fix out of bound enum conversion (#13967)
add dc626f33e3 [TVMScript] Unify `T.handle` and `T.Ptr` (#13969)
add 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)
add b5e0f6b8bb [Diagnostic] Support constructing Diagnostic Error through
ObjectRef (#13977)
add 74b9720880 [TOPI][Fix] Pool must return error if layout is tiled on H,
W, D dimensions (#13975)
new 70f3abadc9 [Unity] Relax VM (#13878)
new 747c7d0b4c [Unity] Relax expressions and types (#13901)
new b6462c95ca [Unity][IR] First-class StructInfo (#13907)
new d30b77184a [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
new 75da590129 [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
new 58f12c4e43 [Unity] Relax BlockBuilder and ExprMutator (#13926)
new a4904c8275 [Unity] Relax TVMScript Parser. (#13932)
new f6e7a1955e [Unity] Relax TVMScript Printer (#13944)
new 6885e7a2f0 [Unity] Relax VM codegen (#13954)
new b3a67fbf3e [Unity] Relax VM shape lowering pass (#13956)
new 780deef794 [Unity] e2e Relax minimum build flow (#13961)
new 4ee1bdef6c [Unity][TVMScript] Use explicit `R.shape` in TVMScript
(#13979)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (745222ecfd)
\
N -- N -- N refs/heads/unity-staging (4ee1bdef6c)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
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/ir/diagnostic.h | 27 +++
include/tvm/relay/attrs/transform.h | 5 +-
include/tvm/runtime/crt/platform.h | 9 +
include/tvm/runtime/ndarray.h | 8 -
include/tvm/script/ir_builder/tir/ir.h | 5 +-
include/tvm/target/virtual_device.h | 18 +-
include/tvm/topi/nn/pooling.h | 44 ++---
python/tvm/meta_schedule/runner/rpc_runner.py | 6 +-
python/tvm/micro/model_library_format.py | 14 +-
python/tvm/relax/utils.py | 16 +-
python/tvm/relay/frontend/onnx.py | 53 +++++-
python/tvm/relay/op/transform.py | 8 +-
python/tvm/script/ir_builder/relax/ir.py | 18 ++
python/tvm/script/ir_builder/tir/__init__.py | 2 +-
python/tvm/script/ir_builder/tir/ir.py | 37 ++--
python/tvm/script/parser/relax/entry.py | 22 ++-
python/tvm/script/parser/tir/entry.py | 17 +-
python/tvm/script/parser/tir/parser.py | 2 +-
python/tvm/testing/aot.py | 4 +-
python/tvm/tir/tensor_intrin/cuda.py | 40 ++---
python/tvm/topi/cuda/scatter.py | 16 +-
python/tvm/topi/scatter.py | 28 +--
python/tvm/utils/roofline/cuda.py | 2 +-
python/tvm/utils/roofline/x86.py | 2 +-
src/ir/diagnostic.cc | 30 +++-
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 | 13 +-
src/script/printer/relax/expr.cc | 2 +-
src/script/printer/relax/struct_info.cc | 14 +-
src/script/printer/tir/expr.cc | 25 ++-
src/script/printer/tir/ir.cc | 6 +-
src/target/virtual_device.cc | 12 +-
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 +-
.../test_ethosu/test_copy_compute_reordering.py | 76 ++++----
.../contrib/test_ethosu/test_merge_constants.py | 40 ++---
tests/python/frontend/onnx/test_forward.py | 2 -
tests/python/integration/test_lower.py | 12 +-
.../relax/test_backend_transform_shape_lower.py | 2 +-
tests/python/relax/test_transform.py | 2 +-
tests/python/relax/test_tvmscript_parser.py | 36 ++--
tests/python/relax/test_tvmscript_printer_relax.py | 4 +-
tests/python/relax/test_vm_build.py | 6 +-
tests/python/relax/test_vm_codegen_only.py | 14 +-
.../relay/aot/test_aot_create_executor_metadata.py | 2 +-
tests/python/relay/aot/test_pass_aot_lower_main.py | 4 +-
tests/python/relay/test_op_level3.py | 19 +-
tests/python/topi/python/test_topi_pooling.py | 55 +++++-
tests/python/topi/python/test_topi_scatter.py | 18 +-
.../unittest/test_aot_legalize_packed_call.py | 16 +-
tests/python/unittest/test_arith_domain_touched.py | 4 +-
.../python/unittest/test_auto_scheduler_feature.py | 6 +-
.../test_meta_schedule_postproc_verify_gpu_code.py | 12 +-
tests/python/unittest/test_meta_schedule_runner.py | 41 +++--
.../unittest/test_meta_schedule_trace_apply.py | 40 ++---
.../unittest/test_micro_model_library_format.py | 25 +++
tests/python/unittest/test_te_create_primfunc.py | 16 +-
tests/python/unittest/test_tir_analysis_oob.py | 2 +-
tests/python/unittest/test_tir_intrin.py | 10 +-
.../python/unittest/test_tir_lower_match_buffer.py | 26 +--
tests/python/unittest/test_tir_renew_defs.py | 6 +-
tests/python/unittest/test_tir_schedule_rfactor.py | 2 +-
.../python/unittest/test_tir_schedule_tensorize.py | 24 +--
tests/python/unittest/test_tir_specialize.py | 18 +-
.../test_tir_transform_common_subexpr_elim.py | 4 +-
.../test_tir_transform_hoist_expression.py | 4 +-
...sform_plan_update_buffer_allocation_location.py | 2 +-
.../unittest/test_tir_transform_storage_flatten.py | 2 +-
.../unittest/test_tir_transform_storage_rewrite.py | 4 +-
...ransform_convert_pool_allocations_to_offsets.py | 36 ++--
.../python/unittest/test_tvmscript_error_report.py | 4 +-
.../unittest/test_tvmscript_ir_builder_tir.py | 32 ++--
tests/python/unittest/test_tvmscript_parser_tir.py | 4 +-
.../python/unittest/test_tvmscript_printer_tir.py | 54 +++---
tests/python/unittest/test_tvmscript_roundtrip.py | 68 ++++----
.../python/unittest/test_tvmscript_syntax_sugar.py | 6 +-
.../scripts/task_config_build_minimal_cross_isa.sh | 1 +
111 files changed, 1606 insertions(+), 1645 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