You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2023/10/07 23:41:59 UTC

[tvm] 01/01: Merge remote-tracking branch 'apache-upstream/main' into apache-upstream-unity

This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch unity-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit b9a02b1e84840cfaa052c75ba86f08dc2aa89108
Merge: 969e31a978 dc53a6c29a
Author: Junru Shao <ju...@gmail.com>
AuthorDate: Sat Oct 7 16:41:28 2023 -0700

    Merge remote-tracking branch 'apache-upstream/main' into apache-upstream-unity

 CMakeLists.txt                                     |   1 +
 apps/android_camera/app/src/main/jni/tvm_runtime.h |   1 +
 apps/android_deploy/app/src/main/jni/tvm_runtime.h |   1 +
 apps/android_rpc/app/src/main/jni/tvm_runtime.h    |   1 +
 apps/bundle_deploy/runtime.cc                      |   1 +
 apps/howto_deploy/tvm_runtime_pack.cc              |   1 +
 apps/microtvm/cmsisnn/requirements.txt             | 117 +++++++++---------
 apps/microtvm/ethosu/requirements.txt              | 117 +++++++++---------
 apps/microtvm/poetry.lock                          | 131 ++++++++++-----------
 apps/microtvm/pyproject.toml                       |   2 +-
 ci/jenkins/docker-images.ini                       |   2 +-
 docker/install/ubuntu_install_oneflow.sh           |   2 +-
 docs/Doxyfile                                      |   2 +-
 docs/conf.py                                       |   4 +-
 golang/src/tvm_runtime_pack.cc                     |   1 +
 include/tvm/runtime/device_api.h                   |   8 ++
 include/tvm/runtime/logging.h                      |   2 +-
 .../tvm/runtime/{vm => memory}/memory_manager.h    |  45 +++----
 include/tvm/runtime/ndarray.h                      |   2 +-
 include/tvm/runtime/packed_func.h                  |   2 +-
 include/tvm/runtime/vm/vm.h                        |   9 +-
 include/tvm/tir/expr.h                             |   2 +-
 include/tvm/tir/stmt.h                             |   2 +-
 python/tvm/relay/frontend/oneflow.py               |  12 +-
 python/tvm/relay/frontend/onnx.py                  |   4 +-
 python/tvm/relay/frontend/tflite.py                |   2 -
 python/tvm/relay/op/contrib/clml.py                |   2 +-
 python/tvm/relay/transform/memory_plan.py          |   2 +-
 python/tvm/runtime/ndarray.py                      |   2 +-
 python/tvm/te/hybrid/__init__.py                   |   2 +-
 python/tvm/te/schedule.py                          |   2 +-
 python/tvm/topi/arm_cpu/qnn.py                     |   2 +-
 src/arith/const_fold.h                             |   4 +-
 src/arith/iter_affine_map.cc                       |   9 ++
 src/arith/product_normal_form.h                    |   4 +-
 src/relay/backend/vm/compiler.h                    |   2 +-
 src/relay/collage/partition_rule.h                 |   2 +-
 src/relay/transforms/combine_parallel_op_batch.h   |   2 +-
 src/runtime/c_runtime_api.cc                       |  16 ++-
 src/runtime/crt/aot_executor/aot_executor.c        |   2 +-
 src/runtime/graph_executor/graph_executor.cc       |   3 +-
 src/runtime/graph_executor/graph_executor.h        |   4 +
 src/runtime/{vm => memory}/memory_manager.cc       |  59 ++++++----
 src/runtime/{vm => memory}/naive_allocator.h       |  29 ++---
 src/runtime/{vm => memory}/pooled_allocator.h      |  20 ++--
 src/runtime/vm/vm.cc                               |  14 ++-
 src/target/source/ptx.h                            |   2 +-
 src/tir/analysis/control_flow_graph.h              |   2 +-
 src/tir/schedule/error.h                           |   2 +-
 src/tir/transforms/unroll_loop.cc                  |   2 +-
 .../runtime/{vm => memory}/memory_manager_tests.cc |  39 +++---
 .../contrib/test_arm_compute_lib/infrastructure.py |   2 +-
 .../test_hexagon/conv2d/test_conv2d_conv2d.md      |   2 +-
 .../test_hexagon/test_benchmark_elemwise_add.py    |   2 +-
 tests/python/frontend/coreml/test_forward.py       |   4 +-
 tests/python/frontend/onnx/test_forward.py         |   9 ++
 tests/python/frontend/tflite/test_forward.py       |  13 +-
 tests/python/relay/test_pass_plan_devices.py       |   2 +-
 .../python/unittest/test_arith_iter_affine_map.py  |  34 ++++++
 .../unittest/test_tir_transform_remove_no_op.py    |   2 +-
 tests/scripts/release/make_notes.py                |   4 +-
 web/src/environment.ts                             |   2 +-
 62 files changed, 446 insertions(+), 333 deletions(-)

diff --cc CMakeLists.txt
index baa7a8dc1f,d4d5991345..ff1d51ce12
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@@ -356,9 -343,9 +356,10 @@@ list(APPEND COMPILER_SRCS "src/target/d
  tvm_file_glob(GLOB RUNTIME_SRCS
    src/runtime/*.cc
    src/runtime/vm/*.cc
+   src/runtime/memory/*.cc
    src/runtime/disco/*.cc
    src/runtime/minrpc/*.cc
 +  src/runtime/relax_vm/*.cc
  )
  
  if(BUILD_FOR_HEXAGON)