This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
omit ef6519b0b7 [Unity] Relax TVMScript Parser. (#13932)
omit e12e0959d9 [Unity] Relax BlockBuilder and ExprMutator (#13926)
omit f0d4bdf75c [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
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)
add 486c617bfa [Unity] Relax VM (#13878)
add 8ee4b6f7c6 [Unity] Relax expressions and types (#13901)
add 8aaff909ea [Unity][IR] First-class StructInfo (#13907)
add 5d3a864e78 [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
add 3963005a93 [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
add 284be6ee87 [Unity] Relax BlockBuilder and ExprMutator (#13926)
add 63aaefa671 [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 (ef6519b0b7)
\
N -- N -- N refs/heads/unity (63aaefa671)
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.
No new revisions were added by this update.
Summary of changes:
.github/workflows/main.yml | 34 +
CMakeLists.txt | 24 +-
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 +++
.../cpp_clml/scripts/clml_codegen.py | 46 +-
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 | 36 +-
.../template_project/microtvm_api_server.py | 13 +-
.../launch_microtvm_api_server.sh} | 21 +-
.../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/node/script_printer.h | 20 +-
include/tvm/node/structural_equal.h | 11 +-
include/tvm/script/printer/doc.h | 44 +
include/tvm/script/printer/ir_docsifier.h | 43 +
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/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 +-
.../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/parser/core/diagnostics.py | 5 +-
python/tvm/script/printer/doc.py | 20 +
python/tvm/script/printer/doc_printer.py | 4 +-
python/tvm/te/operation.py | 14 +-
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 | 24 +-
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/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 +-
.../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/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 | 1 +
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 +
tests/python/relax/test_tvmscript_parser.py | 19 +-
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 ++++++++++----------
..._arith_detect_cse.py => test_arith_simplify.py} | 23 +-
.../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 +-
..._build_riscv.sh => task_config_build_static.sh} | 20 +-
tests/scripts/task_demo_microtvm.sh | 7 +-
web/emcc/tvmjs_support.cc | 2 +-
220 files changed, 8494 insertions(+), 2690 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
copy tests/python/contrib/test_clml/test_compiler.py =>
apps/cpp_clml/scripts/clml_codegen.py (52%)
copy docker/install/ubuntu_install_verilator.sh =>
apps/microtvm/arduino/template_project/launch_microtvm_api_server.sh (57%)
copy apps/microtvm/{reference-vm/scripts/reference_vm_build.sh =>
zephyr/template_project/launch_microtvm_api_server.sh} (68%)
delete mode 100644 gallery/how_to/work_with_microtvm/micro_reference_vm.py
copy tests/python/relay/test_change_batch.py =>
python/tvm/topi/hexagon/qnn/dense_alter_op.py (60%)
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
copy tests/python/unittest/{test_arith_detect_cse.py =>
test_arith_simplify.py} (67%)
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_riscv.sh => task_config_build_static.sh}
(68%)