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 6e5532ae06 [Unity] Basic StructInfo Analysis and Expr construction.
omit b1573d20ad [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
omit 83e1f07d82 [Unity][IR] First-class StructInfo (#13907)
omit 5c38bef497 [Unity] Relax expressions and types (#13901)
omit 129b12f9b2 [Unity] Relax VM (#13878)
add 239edb5158 [microTVM] Allow multiple runners in tuning micro models
with meta-schedule (#13811)
add 697fdb2cb7 [TVMScript] Comments and docstrings printing (#13839)
add f7dfef4cde [ONNX] QGemm support (#13747)
add 4ddb87631b [microTVM] Fix host-driven AOT memory workspaces (#13807)
add ec72ac6690 [ROCM] Fixes compiling on ROCM 5 and accuracy on dense op
(#13847)
add 18b7dc1dd9 [MetaSchedule] Fix for RewriteLayout + AllocateConst when
the rank of the rewritten weight doesn't change (#13851)
add 56771a87d1 [CLML][RUNTIME] Enable more ops in CLML runtime (#13834)
add 2bfdcbe07a [Relay] Convert negative axes to positive when importing
ONNX Unsqueeze (#13846)
add 16b19582a2 [ETHOSN] Apply FoldConstant before NPU partitioning (#13848)
add 95fa22308b [Hexagon][CI] Updated sha for builder LLVM (#13418)
add c2cc01910c [microTVM] Update tutorials (#13845)
add 1bc8cf80d0 [ONNX] Support Bernoulli op on ONNX front-end (#13802)
add 0c2ab1bb42 [Arith] Support eq in detect_clip_bound (#13746)
add acde2c1fc3 [topi] remove comment redundancy in resize.py (#13860)
add 10d6c17238 [WASM][FIX] test tests/node/websock_rpc_test.py (#13862)
add 3c81d9bbac [RUNTIME][CLML] OpenCLML tuning and profiling enhanced
(#13843)
add e6262bf985 [ONNX] Support SequenceLength op (#13863)
add 76c5186e15 Enable C++17 for cmake modules (#13869)
add 803207c256 [Hexagon][CI] Update the docker image ID to reflect newer
LLVM (#13870)
add c81aaa852c [LLVM] Remove call to EmitDebugLocation from AddAliasInfo
(#13872)
add 558c994d1a [TIR][FIX] check args size when creating prim_func by
runtime::Registry (#13809)
add 4daf38f691 [TVMScript] Robustify the Highlight Printer (#13861)
add 0d5baacc02 [ONNX] Support SequenceErase op (#13865)
add d8833bdbbe [ONNX] Support SequenceEmpty op (#13866)
add 5e652c1a7a [CI] NNPACK build issue workaround (#13873)
add 73740385a9 [microTVM]Refactor test and add skip to current failing
tests/boards (#13858)
add 206f085b03 [TIR][TOPI][CI] Fix number of arguments in calls of
llvm_pure_intrin (#13881)
add c3fe08fb20 [ARITH] support floordiv in deduce bound (#13880)
add 7db77ada3d [Build] Fix misleading error messages (#13887)
add a1229f6fe4 [TIR] Handle nullptr returned by FindEntryFunc (#13852)
add d6f78b1acc [microTVM] Update Zephyr version and Zephyr SDK version
(#13818)
add 9bbc2c0ab7 [MetaSchedule] Use `shared.dyn` for Tensor Core Schedule
Rules (#13891)
add 2ced7a72a1 [microTVM] Clean-up test_crt.py and add to pylint (#13886)
add 2877c5a3cf [COMMUNITY] Wrongtest -> PMC (#13893)
add ba936e9547 [CUTLASS][Ansor] Combine CUTLASS and Ansor (#13879)
add 49849c8c3e Extend the USE_LIBBACKTRACE option (#13816)
add f0ea9e461a [RUNTIME] Fix the manual determination of cores in
FillDataForMeasure (#13849)
add 9008ec21ba [VM][DMLC] Lower memory usage when loading and dumping
weights (#13877)
add 7aecc1a44d [Torch] Fix advanced indexing with NoneType index arguments
(#13826)
add 37e1a6862c [QNN][Relay][Topi] Add qnn.dense with weight layout (#13854)
add ea34e6eb0b [TOPHUB] use keys as a keyword for searching of existing
statistics (#13874)
add 099ed94951 [OpenCL] Implement save/load pre-compiled programs (#13868)
add a89ff3e62f [tir] fix buffer_decl buffer allocation (#13906)
add 666006e926 [Doc] fix doc for tvm.te.const() (#13904)
add d35a8ab135 [CLML][CODEGEN] CLML native codegen utility (#13837)
add 209f074e96 [CI] Pass the 'path' parameter passed to cmake_build to the
task_build.py script (#13905)
add 583f5ae37c [ONNX] Support Bitwise operations (#13888)
add 62a69a6c93 [TVMC] Stop printing a wall of warnings with tvmc tune
(#13882)
add fb2315a266 [Fix][Arith] Analyzer simplification starts with canonical
(#13875)
add e34506caaa Fix numpy version constraint (#13912)
add 98008c2d67 [Fix][TVMScript] Fix `LetStmt` printing logic (#13900)
add f7aeaf1d38 [TVMScript] Connect `assert_structural_equal` with new
TVMScript printer (#13859)
add cec5f0bc10 [microNPU] Add rescale parameters for binary elementwise
(#13890)
add 60fcb0dede Revert the changes for NNPACK build issue (#13913)
add 5456fae776 [TVMScript,Fix] Fix findsource when classes are indented
(#13924)
add 282f17584b [Arith] Updated incorrect simplification rule (#13922)
add 7323e1d16f [OpenCL] Refactor OpenCL init function (#13919)
add c8b99a93a1 Fix build platform environment variable (#13914)
add 7149142781 [TVMScript] Schedule error reporting with new TVMScript
printer (#13921)
add 6fb961a945 [CI] Include static builds of the runtime as part of CI
(#13612)
add c36ae1cb3a [Arith][UnitTest] Parametrize tests of RewriteSimplifier
(#13923)
new 486c617bfa [Unity] Relax VM (#13878)
new 8ee4b6f7c6 [Unity] Relax expressions and types (#13901)
new 8aaff909ea [Unity][IR] First-class StructInfo (#13907)
new 5d3a864e78 [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
new 3963005a93 [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
new 284be6ee87 [Unity] Relax BlockBuilder and ExprMutator (#13926)
new c1ccd5bd07 [Unity] Relax TVMScript Parser. (#13932)
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 (6e5532ae06)
\
N -- N -- N refs/heads/unity-staging (c1ccd5bd07)
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 7 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:
.github/workflows/main.yml | 34 +
CMakeLists.txt | 26 +-
CONTRIBUTORS.md | 2 +-
apps/cpp_clml/CMakeLists.txt | 61 +
apps/cpp_clml/README.md | 145 ++
apps/cpp_clml/clml_runner.cc | 818 +++++++++
apps/cpp_clml/clml_runner.h | 262 +++
apps/cpp_clml/main.cc | 243 +++
apps/cpp_clml/scripts/clml_codegen.py | 64 +
apps/cpp_rtvm/README.md | 14 +
apps/cpp_rtvm/main.cc | 9 +
apps/cpp_rtvm/tvm_runner.cc | 29 +-
apps/cpp_rtvm/tvm_runner.h | 4 +
.../template_project/launch_microtvm_api_server.sh | 34 +-
.../template_project/microtvm_api_server.py | 13 +-
.../template_project/launch_microtvm_api_server.sh | 29 +-
.../zephyr/template_project/microtvm_api_server.py | 41 +-
.../src/aot_standalone_demo/main.c | 5 +-
.../src/aot_standalone_demo/zephyr_uart.c | 6 +-
.../zephyr/template_project/src/host_driven/main.c | 22 +-
.../src/mlperftiny/submitter_implemented.cc | 4 +-
.../template_project/src/mlperftiny/tvmruntime.cc | 4 +-
.../template_project/src/mlperftiny/zephyr_uart.cc | 6 +-
apps/microtvm/zephyr_cmsisnn/src/main.c | 4 +-
ci/jenkins/docker-images.ini | 4 +-
ci/jenkins/generated/arm_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/cortexm_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/cpu_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/docker_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/gpu_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/hexagon_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/i386_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/lint_jenkinsfile.groovy | 4 +-
.../generated/minimal_cross_isa_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/minimal_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/riscv_jenkinsfile.groovy | 4 +-
ci/jenkins/generated/wasm_jenkinsfile.groovy | 4 +-
ci/jenkins/templates/utils/Build.groovy.j2 | 2 +-
cmake/config.cmake | 15 +
cmake/libs/Libbacktrace.cmake | 4 -
cmake/modules/Arduino.cmake | 2 +
cmake/modules/Logging.cmake | 106 +-
cmake/modules/Zephyr.cmake | 2 +
cmake/modules/contrib/CLML.cmake | 2 +-
cmake/utils/FindLLVM.cmake | 12 +-
docker/Dockerfile.ci_adreno | 3 +
docker/build.sh | 13 +
docker/install/ubuntu_install_hexagon.sh | 5 +-
docker/install/ubuntu_install_nnpack.sh | 2 +-
docs/conf.py | 12 +-
docs/topic/microtvm/index.rst | 11 +-
.../how_to/work_with_microtvm/install_zephyr.rst | 14 +-
gallery/how_to/work_with_microtvm/micro_aot.py | 17 +-
.../how_to/work_with_microtvm/micro_autotune.py | 13 +-
gallery/how_to/work_with_microtvm/micro_ethosu.py | 6 +-
.../how_to/work_with_microtvm/micro_mlperftiny.py | 7 +-
gallery/how_to/work_with_microtvm/micro_pytorch.py | 18 +-
.../work_with_microtvm/micro_reference_vm.py | 159 --
gallery/how_to/work_with_microtvm/micro_tflite.py | 72 +-
gallery/how_to/work_with_microtvm/micro_train.py | 14 +-
gallery/how_to/work_with_microtvm/micro_tvmc.sh | 43 +-
include/tvm/ir/expr.h | 1 +
include/tvm/node/script_printer.h | 20 +-
include/tvm/node/structural_equal.h | 11 +-
include/tvm/relax/analysis.h | 13 +
include/tvm/relax/block_builder.h | 239 +++
include/tvm/relax/expr.h | 7 +-
include/tvm/relax/expr_functor.h | 138 +-
include/tvm/relax/op_attr_types.h | 75 +
include/tvm/relax/struct_info.h | 5 +-
include/tvm/relax/utils.h | 155 ++
include/tvm/script/ir_builder/ir/frame.h | 11 +-
include/tvm/script/ir_builder/ir/ir.h | 17 +
include/tvm/script/ir_builder/relax/frame.h | 293 +++
include/tvm/script/ir_builder/relax/ir.h | 137 ++
include/tvm/script/printer/doc.h | 44 +
include/tvm/script/printer/ir_docsifier.h | 43 +
include/tvm/te/operation.h | 2 +-
python/gen_requirements.py | 2 +-
python/tvm/auto_scheduler/relay_integration.py | 8 +-
python/tvm/autotvm/measure/measure_methods.py | 2 +-
python/tvm/autotvm/tophub.py | 10 +
.../micro/meta_schedule/rpc_runner_micro.py | 108 +-
python/tvm/contrib/rocm.py | 4 +-
python/tvm/driver/tvmc/autotuner.py | 3 +-
python/tvm/ir/expr.py | 50 +-
python/tvm/ir/function.py | 16 +
python/tvm/meta_schedule/utils.py | 50 +-
python/tvm/micro/build.py | 7 +
python/tvm/micro/project_api/client.py | 14 +-
python/tvm/micro/testing/pytest_plugin.py | 7 +-
python/tvm/micro/testing/utils.py | 8 +-
python/tvm/relax/__init__.py | 11 +
python/tvm/relax/analysis/analysis.py | 33 +-
python/tvm/relax/block_builder.py | 801 ++++++++
python/tvm/relax/expr_functor.py | 1530 ++++++++++++++++
.../{script/ir_builder/ir => relax/op}/__init__.py | 9 +-
.../ir/__init__.py => relax/op/_ffi_api.py} | 8 +-
python/tvm/relax/op/base.py | 358 ++++
python/tvm/relax/op/binary.py | 67 +
python/tvm/relax/utils.py | 278 +++
.../contrib/ethosu/op/binary_elementwise.py | 18 +
.../contrib/ethosu/te/binary_elementwise.py | 12 +
.../contrib/ethosu/tir/binary_elementwise.py | 6 +-
.../tvm/relay/backend/contrib/ethosu/tir/spec.py | 12 +
.../backend/contrib/ethosu/tir_to_cs_translator.py | 5 +
python/tvm/relay/frontend/onnx.py | 256 ++-
python/tvm/relay/frontend/pytorch.py | 40 +-
python/tvm/relay/op/contrib/clml.py | 788 +++++++-
python/tvm/relay/op/contrib/ethosn.py | 1 +
python/tvm/relay/op/strategy/cuda.py | 15 +-
python/tvm/relay/qnn/op/_qnn.py | 11 +-
python/tvm/relay/qnn/op/legalizations.py | 134 +-
python/tvm/relay/qnn/op/qnn.py | 64 +
python/tvm/relay/qnn/strategy/generic.py | 6 +
python/tvm/relay/qnn/strategy/hexagon.py | 18 +
python/tvm/runtime/object_path.py | 2 +
python/tvm/runtime/script_printer.py | 58 +-
python/tvm/script/highlight.py | 13 +-
python/tvm/script/ir_builder/base.py | 6 +-
python/tvm/script/ir_builder/ir/__init__.py | 2 +-
python/tvm/script/ir_builder/ir/ir.py | 45 +
.../{parser => ir_builder}/relax/__init__.py | 9 +-
.../__init__.py => ir_builder/relax/_ffi_api.py} | 7 +-
python/tvm/script/ir_builder/relax/frame.py | 55 +
python/tvm/script/ir_builder/relax/ir.py | 407 +++++
python/tvm/script/parser/__init__.py | 3 +-
python/tvm/script/parser/core/diagnostics.py | 7 +-
python/tvm/script/parser/core/entry.py | 5 +
python/tvm/script/parser/core/evaluator.py | 2 +-
python/tvm/script/parser/core/parser.py | 50 +-
python/tvm/script/parser/ir/parser.py | 15 +
python/tvm/script/parser/relax/__init__.py | 17 +-
python/tvm/script/parser/relax/entry.py | 327 ++++
python/tvm/script/parser/relax/parser.py | 276 +++
python/tvm/script/parser/tir/entry.py | 4 +-
python/tvm/script/parser/tir/operation.py | 12 +-
python/tvm/script/parser/tir/parser.py | 26 +
python/tvm/script/printer/doc.py | 20 +
python/tvm/script/printer/doc_printer.py | 4 +-
python/tvm/te/__init__.py | 1 +
python/tvm/te/operation.py | 68 +-
python/tvm/tir/tensor_intrin/cuda.py | 166 +-
python/tvm/tir/tensor_intrin/x86.py | 2 +-
python/tvm/topi/hexagon/qnn/__init__.py | 1 +
.../tvm/topi/hexagon/qnn/dense_alter_op.py | 28 +-
python/tvm/topi/hexagon/qnn/nn.py | 216 ++-
python/tvm/topi/image/resize.py | 6 -
python/tvm/topi/nn/qnn.py | 19 +
python/tvm/topi/x86/tensor_intrin.py | 12 +-
src/arith/analyzer.cc | 4 +
src/arith/bound_deducer.cc | 61 +-
src/arith/canonical_simplify.cc | 12 +-
src/arith/detect_linear_equation.cc | 38 +-
src/arith/rewrite_simplify.cc | 10 +-
src/ir/function.cc | 14 +
src/ir/module.cc | 16 +-
src/meta_schedule/module_equality.cc | 2 +-
src/meta_schedule/schedule_rule/schedule_rule.cc | 40 +-
src/node/script_printer.cc | 19 +-
src/node/structural_equal.cc | 73 +-
src/node/structural_hash.cc | 20 +-
src/relax/analysis/struct_info_analysis.cc | 149 ++
src/relax/ir/block_builder.cc | 969 ++++++++++
src/relax/ir/emit_te.cc | 78 +
src/relax/ir/emit_te.h | 68 +
src/relax/ir/expr_functor.cc | 244 +++
src/relax/ir/py_expr_functor.cc | 649 +++++++
src/relax/op/op.cc | 77 +
src/relax/op/op_common.cc | 122 ++
src/relax/op/op_common.h | 285 +++
src/relax/op/tensor/binary.cc | 87 +
src/relax/op/tensor/binary.h | 70 +
src/{script/ir_builder/ir/ir.cc => relax/utils.cc} | 31 +-
.../backend/contrib/codegen_json/codegen_json.h | 1 +
src/relay/backend/te_compiler_cache.cc | 41 +-
src/relay/op/contrib/ethosu/binary_elementwise.cc | 6 +-
src/relay/op/contrib/ethosu/op_attrs.h | 10 +
src/relay/op/nn/nn.h | 5 +
src/relay/qnn/op/dense.cc | 105 +-
src/runtime/const_loader_module.cc | 10 +
src/runtime/contrib/clml/clml_runtime.cc | 210 ++-
src/runtime/contrib/json/json_runtime.h | 3 +
src/runtime/contrib/random/mt_random_engine.cc | 10 +-
src/runtime/crt/aot_executor/aot_executor.c | 13 +-
src/runtime/file_utils.h | 37 +
src/runtime/opencl/opencl_common.h | 64 +-
src/runtime/opencl/opencl_device_api.cc | 155 +-
src/runtime/opencl/opencl_module.cc | 88 +-
.../opencl/opencl_wrapper/opencl_wrapper.cc | 12 +
src/runtime/vm/executable.cc | 22 +-
src/script/ir_builder/ir/frame.cc | 12 +-
src/script/ir_builder/ir/ir.cc | 41 +-
src/script/ir_builder/ir/{frame.cc => utils.h} | 30 +-
src/script/ir_builder/relax/frame.cc | 273 +++
src/script/ir_builder/relax/ir.cc | 236 +++
src/script/ir_builder/relax/utils.h | 119 ++
src/script/ir_builder/tir/frame.cc | 15 +-
src/script/ir_builder/tir/utils.h | 2 +-
src/script/printer/doc.cc | 22 +
src/script/printer/doc_printer/base_doc_printer.cc | 87 +-
src/script/printer/doc_printer/base_doc_printer.h | 24 +-
.../printer/doc_printer/python_doc_printer.cc | 67 +-
src/script/printer/ir/ir.cc | 3 +-
src/script/printer/ir/utils.h | 1 +
src/script/printer/tir/block.cc | 8 +-
src/script/printer/tir/for_loop.cc | 24 +-
src/script/printer/tir/function.cc | 15 +-
src/script/printer/tir/stmt.cc | 20 +-
src/script/printer/tir/utils.h | 5 +-
src/script/printer/utils.h | 20 +
src/target/llvm/codegen_llvm.cc | 1 -
src/target/source/source_module.cc | 16 +-
src/te/operation/create_primfunc.cc | 81 +
src/te/operation/create_primfunc.h | 17 +
src/tir/analysis/deep_equal.cc | 1 +
src/tir/analysis/stmt_finding.cc | 39 +-
src/tir/schedule/concrete_schedule.h | 2 +-
src/tir/schedule/error.cc | 20 +-
src/tir/schedule/utils.h | 10 +-
.../plan_update_buffer_allocation_location.cc | 7 +
tests/cpp-runtime/opencl/opencl_compile_to_bin.cc | 208 +++
tests/cpp-runtime/opencl/opencl_timer_test.cc | 11 +-
tests/lint/pylint.sh | 1 +
tests/micro/common/test_autotune.py | 3 +
tests/micro/common/test_tvmc.py | 3 +
.../test_arduino_microtvm_api_server.py | 200 --
tests/micro/project_api/test_project_api.py | 33 +-
tests/micro/zephyr/test_ms_tuning.py | 20 +-
tests/micro/zephyr/test_zephyr.py | 71 +-
tests/micro/zephyr/test_zephyr_aot_exec.py | 13 +-
.../zephyr/test_zephyr_aot_exec_standalone.py | 9 +-
tests/micro/zephyr/test_zephyr_armv7m.py | 21 +-
tests/micro/zephyr/utils.py | 28 +-
.../contrib/test_arm_compute_lib/test_dense.py | 6 +-
tests/python/contrib/test_clml/test_ops.py | 102 ++
tests/python/contrib/test_cutlass.py | 140 +-
tests/python/contrib/test_ethosn/test_addition.py | 68 +-
tests/python/contrib/test_ethosn/test_networks.py | 2 +-
.../test_ethosu_binary_elementwise_matcher.py | 3 +
tests/python/contrib/test_ethosu/infra.py | 6 +
tests/python/contrib/test_ethosu/test_codegen.py | 65 +
.../test_ethosu/test_replace_binary_elementwise.py | 2 +
tests/python/contrib/test_ethosu/test_scheduler.py | 2 +-
.../test_ethosu/test_tir_to_cs_translator.py | 30 +-
.../test_hexagon/test_wo_qnn_canonicalization.py | 172 +-
tests/python/contrib/test_random.py | 28 +
tests/python/frontend/onnx/test_forward.py | 579 +++++-
tests/python/frontend/pytorch/test_forward.py | 35 +
.../relax/test_analysis_struct_info_analysis.py | 143 ++
tests/python/relax/test_blockbuilder.py | 542 ++++++
tests/python/relax/test_expr.py | 4 +-
tests/python/relax/test_expr_functor.py | 746 ++++++++
tests/python/relax/test_tvmscript_ir_builder.py | 153 ++
tests/python/relax/test_tvmscript_parser.py | 1079 +++++++++++
tests/python/relay/test_pass_qnn_legalize.py | 92 +
.../unittest/test_arith_canonical_simplify.py | 14 +
tests/python/unittest/test_arith_deduce_bound.py | 38 +-
.../unittest/test_arith_detect_clip_bound.py | 13 +
tests/python/unittest/test_arith_intset.py | 11 +-
.../python/unittest/test_arith_rewrite_simplify.py | 1909 ++++++++++----------
..._dispatch_context.py => test_arith_simplify.py} | 27 +-
.../unittest/test_autotvm_dispatch_context.py | 16 +
tests/python/unittest/test_crt.py | 183 +-
.../python/unittest/test_meta_schedule_database.py | 34 +-
...est_meta_schedule_postproc_rewrite_tensorize.py | 2 +-
.../test_meta_schedule_relay_integration.py | 74 +
.../test_meta_schedule_schedule_rule_mlt_tc.py | 91 +-
.../unittest/test_meta_schedule_trace_apply.py | 18 +-
.../unittest/test_micro_model_library_format.py | 1 -
tests/python/unittest/test_tir_buffer.py | 2 +-
.../python/unittest/test_tir_schedule_analysis.py | 6 +-
.../unittest/test_tir_schedule_compute_inline.py | 4 +-
...sform_plan_update_buffer_allocation_location.py | 18 +
.../python/unittest/test_tvmscript_error_report.py | 22 +-
.../unittest/test_tvmscript_parser_source.py | 15 +
.../unittest/test_tvmscript_printer_annotation.py | 86 +
.../python/unittest/test_tvmscript_printer_doc.py | 28 +
.../unittest/test_tvmscript_printer_highlight.py | 29 +
tests/python/unittest/test_tvmscript_printer_ir.py | 3 +
.../test_tvmscript_printer_python_doc_printer.py | 62 +-
.../test_tvmscript_printer_structural_equal.py | 134 ++
.../python/unittest/test_tvmscript_printer_tir.py | 19 +-
.../unittest/test_tvmscript_printer_underlining.py | 127 +-
tests/python/unittest/test_tvmscript_roundtrip.py | 28 +
tests/scripts/request_hook/request_hook.py | 2 +-
tests/scripts/task_config_build_cpu.sh | 2 +-
tests/scripts/task_config_build_hexagon.sh | 5 +-
tests/scripts/task_config_build_minimal.sh | 2 +-
...uild_minimal.sh => task_config_build_static.sh} | 20 +-
tests/scripts/task_demo_microtvm.sh | 7 +-
web/emcc/tvmjs_support.cc | 2 +-
292 files changed, 20386 insertions(+), 2793 deletions(-)
create mode 100644 apps/cpp_clml/CMakeLists.txt
create mode 100644 apps/cpp_clml/README.md
create mode 100644 apps/cpp_clml/clml_runner.cc
create mode 100644 apps/cpp_clml/clml_runner.h
create mode 100644 apps/cpp_clml/main.cc
create mode 100644 apps/cpp_clml/scripts/clml_codegen.py
copy docker/install/ubuntu_install_nnpack.sh =>
apps/microtvm/arduino/template_project/launch_microtvm_api_server.sh (55%)
copy tests/python/unittest/test_autotvm_dispatch_context.py =>
apps/microtvm/zephyr/template_project/launch_microtvm_api_server.sh (67%)
mode change 100644 => 100755
delete mode 100644 gallery/how_to/work_with_microtvm/micro_reference_vm.py
create mode 100644 include/tvm/relax/block_builder.h
create mode 100644 include/tvm/relax/op_attr_types.h
create mode 100644 include/tvm/relax/utils.h
create mode 100644 include/tvm/script/ir_builder/relax/frame.h
create mode 100644 include/tvm/script/ir_builder/relax/ir.h
create mode 100644 python/tvm/relax/block_builder.py
create mode 100644 python/tvm/relax/expr_functor.py
copy python/tvm/{script/ir_builder/ir => relax/op}/__init__.py (85%)
copy python/tvm/{script/ir_builder/ir/__init__.py => relax/op/_ffi_api.py}
(86%)
create mode 100644 python/tvm/relax/op/base.py
create mode 100644 python/tvm/relax/op/binary.py
create mode 100644 python/tvm/relax/utils.py
copy python/tvm/script/{parser => ir_builder}/relax/__init__.py (82%)
copy python/tvm/script/{parser/relax/__init__.py =>
ir_builder/relax/_ffi_api.py} (83%)
create mode 100644 python/tvm/script/ir_builder/relax/frame.py
create mode 100644 python/tvm/script/ir_builder/relax/ir.py
create mode 100644 python/tvm/script/parser/relax/entry.py
create mode 100644 python/tvm/script/parser/relax/parser.py
copy tests/python/unittest/test_autotvm_dispatch_context.py =>
python/tvm/topi/hexagon/qnn/dense_alter_op.py (59%)
create mode 100644 src/relax/ir/block_builder.cc
create mode 100644 src/relax/ir/emit_te.cc
create mode 100644 src/relax/ir/emit_te.h
create mode 100644 src/relax/ir/py_expr_functor.cc
create mode 100644 src/relax/op/op.cc
create mode 100644 src/relax/op/op_common.cc
create mode 100644 src/relax/op/op_common.h
create mode 100644 src/relax/op/tensor/binary.cc
create mode 100644 src/relax/op/tensor/binary.h
copy src/{script/ir_builder/ir/ir.cc => relax/utils.cc} (56%)
copy src/script/ir_builder/ir/{frame.cc => utils.h} (59%)
create mode 100644 src/script/ir_builder/relax/frame.cc
create mode 100644 src/script/ir_builder/relax/ir.cc
create mode 100644 src/script/ir_builder/relax/utils.h
create mode 100644 tests/cpp-runtime/opencl/opencl_compile_to_bin.cc
delete mode 100644 tests/micro/project_api/test_arduino_microtvm_api_server.py
create mode 100644 tests/python/relax/test_blockbuilder.py
create mode 100644 tests/python/relax/test_expr_functor.py
create mode 100644 tests/python/relax/test_tvmscript_ir_builder.py
create mode 100644 tests/python/relax/test_tvmscript_parser.py
copy tests/python/unittest/{test_autotvm_dispatch_context.py =>
test_arith_simplify.py} (63%)
create mode 100644 tests/python/unittest/test_tvmscript_printer_annotation.py
create mode 100644
tests/python/unittest/test_tvmscript_printer_structural_equal.py
copy tests/scripts/{task_config_build_minimal.sh =>
task_config_build_static.sh} (66%)