You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2021/03/23 16:47:17 UTC

[tvm] branch ci-docker-staging updated (87798bf -> 8cbc164)

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

areusch pushed a change to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git.


 discard 87798bf  try bumping synr
     new 87be5dd  fix path
     add e467748  [CPP_RPC] allow user supplied work dir (#7670)
     add 2ee860e  [TFLite] Cast operator adapted for MLIR-based convertor (#7639)
     add 570767f  Free TensorRT engine and context (#7702)
     add 35b43e1  Change behavior of onnx importer to throw when user provides an input no in the graph. (#7699)
     add 9a29141  [Vulkan] Workaround for zero size allocation (#7691)
     add aa494cf  [AutoScheduler] Add function name in message (#7703)
     add 7605f65  [TOPI][CUDA] Fix 0 valid boxes case for NMS when return_indices=False (#7700)
     add 10cd83d  [RUNTIME] Cleanup build for libbacktrace (#7706)
     add 27f1085  [torch] Use try_infer_value for clamp min/max (#7712)
     add fffed0f  [TensorIR] TVMScript Parser/Printer (#7630)
     add 4b528de  [TensorIR] add TIRTextPrinter support for Block and BlockRealize (#7716)
     add c4b8934  [ETHOSN] Add support for Ethos-N 21.02 driver stack release. (#7628)
     add 21fc3bb  [TOPI] Use fixed thread block size in unique op for Vulkan (#7718)
     add 318c650  Fix auto scheduler crash when set with consumers is empty (#7708)
     add e4b3e90  [CI] Improve docker/build.sh to accept a docker tag parameter. (#7707)
     add 43ec869  Fix graph_tuner ancestor duplication (#7704)
     add 4c66fb2  Fix GraphModule.load_params to allow passing parameters that are not an expected input (#7665)
     add f09f02e  [TORCH] Implement avg_pool1d (#7694)
     add 37e6df1  [METAL] Fix memory leaks in Metal runtime (#7714)
     new 8cbc164  Merge remote-tracking branch 'origin/main' into test_mdw_qemu_changes

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   (87798bf)
            \
             N -- N -- N   refs/heads/ci-docker-staging (8cbc164)

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 2 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:
 CMakeLists.txt                                     |  25 +-
 apps/cpp_rpc/main.cc                               |  10 +-
 apps/cpp_rpc/rpc_env.cc                            |  35 +-
 apps/cpp_rpc/rpc_env.h                             |   2 +-
 apps/cpp_rpc/rpc_server.cc                         |  21 +-
 apps/cpp_rpc/rpc_server.h                          |   3 +-
 cmake/config.cmake                                 |  10 +-
 cmake/{modules => libs}/Libbacktrace.cmake         |   0
 cmake/modules/Logging.cmake                        |  46 ++
 conda/recipe/build.sh                              |   1 +
 docker/build.sh                                    |  28 +-
 .../install/ubuntu_install_ethosn_driver_stack.sh  |   2 +-
 include/tvm/runtime/logging.h                      |  29 +-
 include/tvm/tir/analysis.h                         |  15 +
 python/tvm/auto_scheduler/dispatcher.py            |  49 ++-
 python/tvm/auto_scheduler/relay_integration.py     |   7 +-
 .../autotvm/graph_tuner/utils/traverse_graph.py    |   3 +-
 python/tvm/relay/frontend/onnx.py                  |   7 +-
 python/tvm/relay/frontend/pytorch.py               | 100 +++--
 python/tvm/relay/frontend/tflite.py                |  17 +-
 python/tvm/script/context_maintainer.py            | 210 +++++++--
 python/tvm/script/intrin.py                        |  20 +-
 python/tvm/script/node.py                          | 150 +++++++
 python/tvm/script/parser.py                        | 179 +++++---
 python/tvm/script/registry.py                      |  20 +-
 python/tvm/script/scope_handler.py                 | 473 ++++++++++++++++++---
 python/tvm/script/special_stmt.py                  | 380 +++++++++++++++--
 python/tvm/script/utils.py                         |  95 ++++-
 python/tvm/tir/analysis/analysis.py                |  23 +
 python/tvm/topi/cuda/nms.py                        |   4 +-
 python/tvm/topi/cuda/unique.py                     |  15 +-
 .../search_policy/sketch_policy_rules.cc           |   1 +
 src/printer/text_printer.h                         |   2 +
 src/printer/tir_text_printer.cc                    | 109 ++++-
 src/printer/tvmscript_printer.cc                   | 232 +++++++++-
 src/relay/backend/compile_engine.cc                |   2 +-
 src/relay/backend/contrib/ethosn/codegen.cc        |  30 +-
 .../backend/contrib/ethosn/ethosn_api_version.h    |   4 +
 src/runtime/contrib/random/mt_random_engine.cc     |   5 +-
 src/runtime/contrib/tensorrt/tensorrt_runtime.cc   |   8 +
 src/runtime/graph/graph_runtime.cc                 |   4 +-
 src/runtime/logging.cc                             |  28 +-
 src/runtime/metal/metal_device_api.mm              | 258 +++++------
 src/runtime/metal/metal_module.mm                  |  88 ++--
 src/runtime/vulkan/vulkan.cc                       |   4 +
 src/tir/analysis/block_access_region_detector.cc   | 246 +++++++++++
 src/tir/ir/script/script_complete.cc               | 122 ++++++
 tests/micro/zephyr/test_zephyr.py                  |   7 +-
 tests/python/contrib/test_ethosn/test_networks.py  |  16 +-
 tests/python/frontend/mxnet/test_forward.py        |  60 +++
 tests/python/frontend/onnx/test_forward.py         |  39 +-
 tests/python/frontend/pytorch/test_forward.py      |  35 +-
 tests/python/frontend/tflite/test_forward.py       |  19 +-
 tests/python/relay/test_external_codegen.py        |  59 ++-
 .../unittest/test_autotvm_graph_tuner_utils.py     |  10 +
 tests/python/unittest/test_runtime_graph.py        |  24 +-
 tests/python/unittest/test_target_codegen_spirv.py |  30 +-
 .../test_tir_analysis_get_block_access_region.py   |  57 +++
 tests/python/unittest/test_tir_nodes.py            |  13 +-
 .../python/unittest/test_tvmscript_error_report.py | 205 +++++++++
 tests/python/unittest/test_tvmscript_roundtrip.py  | 170 ++++++++
 tests/scripts/task_ci_python_setup.sh              |   2 +-
 tests/scripts/task_config_build_cpu.sh             |   1 +
 tests/scripts/task_config_build_gpu.sh             |   1 +
 tests/scripts/task_config_build_gpu_vulkan.sh      |   1 +
 65 files changed, 3286 insertions(+), 585 deletions(-)
 rename cmake/{modules => libs}/Libbacktrace.cmake (100%)
 create mode 100644 cmake/modules/Logging.cmake
 create mode 100644 python/tvm/script/node.py
 create mode 100644 src/tir/analysis/block_access_region_detector.cc
 create mode 100644 src/tir/ir/script/script_complete.cc
 create mode 100644 tests/python/unittest/test_tir_analysis_get_block_access_region.py

[tvm] 02/02: Merge remote-tracking branch 'origin/main' into test_mdw_qemu_changes

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8cbc1644f6c47beeba1c32022bb084be670f59f8
Merge: 87be5dd 37e6df1
Author: Andrew Reusch <ar...@octoml.ai>
AuthorDate: Tue Mar 23 09:46:15 2021 -0700

    Merge remote-tracking branch 'origin/main' into test_mdw_qemu_changes

 CMakeLists.txt                                     |  25 +-
 apps/cpp_rpc/main.cc                               |  10 +-
 apps/cpp_rpc/rpc_env.cc                            |  35 +-
 apps/cpp_rpc/rpc_env.h                             |   2 +-
 apps/cpp_rpc/rpc_server.cc                         |  21 +-
 apps/cpp_rpc/rpc_server.h                          |   3 +-
 cmake/config.cmake                                 |  10 +-
 cmake/{modules => libs}/Libbacktrace.cmake         |   0
 cmake/modules/Logging.cmake                        |  46 ++
 conda/recipe/build.sh                              |   1 +
 docker/build.sh                                    |  28 +-
 .../install/ubuntu_install_ethosn_driver_stack.sh  |   2 +-
 include/tvm/runtime/logging.h                      |  29 +-
 include/tvm/tir/analysis.h                         |  15 +
 python/tvm/auto_scheduler/dispatcher.py            |  49 ++-
 python/tvm/auto_scheduler/relay_integration.py     |   7 +-
 .../autotvm/graph_tuner/utils/traverse_graph.py    |   3 +-
 python/tvm/relay/frontend/onnx.py                  |   7 +-
 python/tvm/relay/frontend/pytorch.py               | 100 +++--
 python/tvm/relay/frontend/tflite.py                |  17 +-
 python/tvm/script/context_maintainer.py            | 210 +++++++--
 python/tvm/script/intrin.py                        |  20 +-
 python/tvm/script/node.py                          | 150 +++++++
 python/tvm/script/parser.py                        | 179 +++++---
 python/tvm/script/registry.py                      |  20 +-
 python/tvm/script/scope_handler.py                 | 473 ++++++++++++++++++---
 python/tvm/script/special_stmt.py                  | 380 +++++++++++++++--
 python/tvm/script/utils.py                         |  95 ++++-
 python/tvm/tir/analysis/analysis.py                |  23 +
 python/tvm/topi/cuda/nms.py                        |   4 +-
 python/tvm/topi/cuda/unique.py                     |  15 +-
 .../search_policy/sketch_policy_rules.cc           |   1 +
 src/printer/text_printer.h                         |   2 +
 src/printer/tir_text_printer.cc                    | 109 ++++-
 src/printer/tvmscript_printer.cc                   | 232 +++++++++-
 src/relay/backend/compile_engine.cc                |   2 +-
 src/relay/backend/contrib/ethosn/codegen.cc        |  30 +-
 .../backend/contrib/ethosn/ethosn_api_version.h    |   4 +
 src/runtime/contrib/random/mt_random_engine.cc     |   5 +-
 src/runtime/contrib/tensorrt/tensorrt_runtime.cc   |   8 +
 src/runtime/graph/graph_runtime.cc                 |   4 +-
 src/runtime/logging.cc                             |  28 +-
 src/runtime/metal/metal_device_api.mm              | 258 +++++------
 src/runtime/metal/metal_module.mm                  |  88 ++--
 src/runtime/vulkan/vulkan.cc                       |   4 +
 src/tir/analysis/block_access_region_detector.cc   | 246 +++++++++++
 src/tir/ir/script/script_complete.cc               | 122 ++++++
 tests/python/contrib/test_ethosn/test_networks.py  |  16 +-
 tests/python/frontend/mxnet/test_forward.py        |  60 +++
 tests/python/frontend/onnx/test_forward.py         |  39 +-
 tests/python/frontend/pytorch/test_forward.py      |  35 +-
 tests/python/frontend/tflite/test_forward.py       |  19 +-
 tests/python/relay/test_external_codegen.py        |  59 ++-
 .../unittest/test_autotvm_graph_tuner_utils.py     |  10 +
 tests/python/unittest/test_runtime_graph.py        |  24 +-
 tests/python/unittest/test_target_codegen_spirv.py |  30 +-
 .../test_tir_analysis_get_block_access_region.py   |  57 +++
 tests/python/unittest/test_tir_nodes.py            |  13 +-
 .../python/unittest/test_tvmscript_error_report.py | 205 +++++++++
 tests/python/unittest/test_tvmscript_roundtrip.py  | 170 ++++++++
 tests/scripts/task_ci_python_setup.sh              |   2 +-
 tests/scripts/task_ci_setup.sh                     |   2 +-
 tests/scripts/task_config_build_cpu.sh             |   1 +
 tests/scripts/task_config_build_gpu.sh             |   1 +
 tests/scripts/task_config_build_gpu_vulkan.sh      |   1 +
 65 files changed, 3283 insertions(+), 583 deletions(-)

[tvm] 01/02: fix path

Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 87be5dde40efe6743290ec9b26a7b2f2b7333eff
Author: Andrew Reusch <ar...@octoml.ai>
AuthorDate: Tue Mar 23 09:45:35 2021 -0700

    fix path
---
 tests/micro/zephyr/test_zephyr.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/micro/zephyr/test_zephyr.py b/tests/micro/zephyr/test_zephyr.py
index 09eb97e..c4626d3 100644
--- a/tests/micro/zephyr/test_zephyr.py
+++ b/tests/micro/zephyr/test_zephyr.py
@@ -214,16 +214,17 @@ def test_onnx(platform, west_cmd):
     model, zephyr_board = PLATFORMS[platform]
 
     # Load test images.
-    digit_2 = Image.open("testdata/digit-2.jpg").resize((28, 28))
+    this_dir = os.path.dirname(__file__)
+    digit_2 = Image.open(f"{this_dir}/testdata/digit-2.jpg").resize((28, 28))
     digit_2 = np.asarray(digit_2).astype("float32")
     digit_2 = np.expand_dims(digit_2, axis=0)
 
-    digit_9 = Image.open("testdata/digit-9.jpg").resize((28, 28))
+    digit_9 = Image.open(f"{this_dir}/testdata/digit-9.jpg").resize((28, 28))
     digit_9 = np.asarray(digit_9).astype("float32")
     digit_9 = np.expand_dims(digit_9, axis=0)
 
     # Load ONNX model and convert to Relay.
-    onnx_model = onnx.load("testdata/mnist-8.onnx")
+    onnx_model = onnx.load(f"{this_dir}/testdata/mnist-8.onnx")
     shape = (1, 1, 28, 28)
     relay_mod, params = relay.frontend.from_onnx(onnx_model, shape=shape, freeze_params=True)
     relay_mod = relay.transform.DynamicToStatic()(relay_mod)