You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2023/04/23 17:50:51 UTC

[tvm] 01/01: [MERGE] Merge main into unity 2023-04-23

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

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

commit d6af4af23e988396f74c5e976f18c7ddfb2ad591
Merge: 19e82ecb3a 1d145f1121
Author: tqchen <ti...@gmail.com>
AuthorDate: Sun Apr 23 13:50:18 2023 -0400

    [MERGE] Merge main into unity 2023-04-23
    
    Merge remote-tracking branch 'upstream/main' into unity-staging

 CMakeLists.txt                                     |   8 +-
 CONTRIBUTORS.md                                    |   3 +
 ci/jenkins/generated/docker_jenkinsfile.groovy     |   6 +-
 ci/jenkins/generated/gpu_jenkinsfile.groovy        |   4 +-
 ci/jenkins/templates/utils/macros.j2               |   2 +-
 cmake/utils/FindCUDA.cmake                         |  19 ++-
 docker/bash.sh                                     |  27 +++-
 docker/dev_common.sh                               |   2 +
 docs/contribute/release_process.rst                |   2 +-
 include/tvm/runtime/crt/aot_executor.h             |   2 +-
 include/tvm/tir/analysis.h                         |   6 +-
 include/tvm/tir/stmt.h                             | 159 ++++++++++++++-------
 .../tvm/relay/backend/contrib/ethosu/legalize.py   |  62 ++------
 .../tvm/relay/backend/contrib/ethosu/op/pooling.py |  10 +-
 .../tvm/relay/backend/contrib/ethosu/te/pooling.py |   6 +-
 python/tvm/relay/frontend/onnx.py                  |   2 +-
 python/tvm/relay/frontend/tensorflow_ops.py        |   4 +-
 python/tvm/relay/frontend/tflite.py                |  15 +-
 python/tvm/relay/op/contrib/ethosu.py              |  42 ++++--
 python/tvm/tir/schedule/schedule.py                |  60 +++++++-
 src/auto_scheduler/feature.cc                      |   4 +-
 src/driver/driver_api.cc                           |  11 +-
 .../postproc/rewrite_parallel_vectorize_unroll.cc  |  14 +-
 src/meta_schedule/schedule_rule/auto_inline.cc     |   5 +-
 src/relay/analysis/type_solver.cc                  |  21 ++-
 src/relay/analysis/type_solver.h                   |   1 +
 src/relay/backend/aot/aot_lower_main.cc            |   6 +-
 src/relay/backend/aot_executor_codegen.cc          |   6 +-
 src/relay/op/contrib/ethosu/op_attrs.h             |   5 +
 src/relay/op/contrib/ethosu/pooling.cc             |  19 ++-
 src/runtime/crt/aot_executor/aot_executor.c        |   2 +-
 src/runtime/metal/metal_device_api.mm              |   8 ++
 src/runtime/vm/executable.cc                       |   3 +-
 src/script/ir_builder/tir/utils.h                  |   9 +-
 src/tir/analysis/calculate_allocated_memory.cc     |  39 +++--
 src/tir/contrib/ethosu/passes.cc                   |   2 +-
 src/tir/ir/stmt.cc                                 |  19 +++
 src/tir/ir/stmt_functor.cc                         |   8 +-
 src/tir/schedule/analysis/reducer.cc               |   7 +-
 src/tir/schedule/primitive/cache_read_write.cc     |   2 -
 src/tir/transforms/remove_no_op.cc                 |  25 ----
 tests/cpp/ir_functor_test.cc                       |   3 +-
 .../cascader/test_ethosu_pooling_matcher.py        |   1 +
 tests/python/contrib/test_ethosu/infra.py          |   2 +
 tests/python/contrib/test_ethosu/test_codegen.py   |  31 ++--
 .../contrib/test_ethosu/test_identity_optimizer.py |  14 +-
 .../contrib/test_ethosu/test_layout_optimizer.py   |  53 +++++--
 tests/python/contrib/test_ethosu/test_legalize.py  |  40 +++---
 .../contrib/test_ethosu/test_replace_pooling.py    |  11 +-
 .../contrib/test_ethosu/test_type_inference.py     |   9 +-
 tests/python/frontend/tensorflow/test_forward.py   |  21 ++-
 tests/python/frontend/tflite/test_forward.py       |  37 ++++-
 tests/python/relay/aot/test_c_device_api.py        |   4 +-
 tests/python/relay/aot/test_crt_aot.py             |   2 +-
 tests/python/relay/test_type_infer.py              |   8 ++
 ...e_postproc_rewrite_parallel_vectorize_unroll.py |  69 ++++++++-
 ...test_meta_schedule_schedule_rule_auto_inline.py |  29 +++-
 .../unittest/test_tir_schedule_cache_read_write.py |  91 ++++++++++++
 .../unittest/test_tir_stmt_functor_ir_transform.py |   4 +-
 .../unittest/test_tir_transform_remove_no_op.py    |   2 +-
 .../unittest/test_tvmscript_printer_annotation.py  |   6 +-
 .../python/unittest/test_tvmscript_printer_tir.py  |   4 +-
 .../unittest/test_tvmscript_printer_underlining.py |   4 +-
 tests/python/unittest/test_tvmscript_roundtrip.py  |  53 +++++--
 tests/scripts/release/README.md                    |   8 +-
 tests/scripts/release/gather_prs.py                |  45 +++---
 tests/scripts/release/make_notes.py                | 148 +++++++++++++++----
 67 files changed, 954 insertions(+), 402 deletions(-)