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/09/20 05:49:29 UTC

[tvm] branch ci-docker-staging updated (77432d6 -> fd06640)

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.


    omit 77432d6  Merge branch 'main' of https://github.com/apache/tvm into docs_push
    omit 8b068a8  Revert changed in unit tests
    omit e1e732a  Test file
    omit 0b6c479  Test
    omit 5aecd17  Minor checkstyle issue
    omit 9c1ff68  Test
    omit c3571c6  [Hexagon] Don't use {} initialization with FastRPC structures (#9033)
    omit d590349  [Onnx] Add SoftmaxCrossEntropyLoss (#8906)
    omit 3901529  Fix line break in `setup.py` (#9029)
    omit 0ba08b1  [ONNX] QLinearAveragePool and QLinearGlobalAveragePool contrib op (#9017)
    omit dac11fa  [CUDA] Fix dense tensorcore legalize type error when units is specified (#9030)
    omit e72fcf9  Implementation of relay_to_tir target hook (#8423)
    omit 9100a3c  [microTVM][autoTVM] Follow up fixes to #9003 (#9018)
    omit 1fd8f61  [Hexagon] Don't use {} initialization with FastRPC structures (#9033)
    omit af61d1e  [Onnx] Add SoftmaxCrossEntropyLoss (#8906)
    omit 8ced546  Fix line break in `setup.py` (#9029)
    omit a74ef13  [ONNX] QLinearAveragePool and QLinearGlobalAveragePool contrib op (#9017)
    omit db78d96  [CUDA] Fix dense tensorcore legalize type error when units is specified (#9030)
    omit 594addc  Pass groovy formater on Jenkinsfile
    omit be37923  Implementation of relay_to_tir target hook (#8423)
    omit 2441390  Working Jenkinsfile on selective stages on docs
    omit 60b1d02  Minor changes in scripts
    omit 046218f  Modify Jenkinsfile
    omit edf8029  Add script to look for changed in doc dir
    omit 02fbaf0  [Onnx] Fix NLL Loss tests (#8971)
    omit 6dc54aa  [Bugfix] Fix other div zero errors also in rewrite_simplify (#8983)
    omit 2711229  [ONNX] enable the onnx tests after PR #8274 merged (#9019)
    omit fd27aab  [Hexagon] Disable `thread_local` on Hexagon (#9025)
    omit a579cea  [Hexagon] Allow undefined symbols in libtvm_runtime.so on Hexagon (#9024)
    omit 4c77bae  [Onnx] Add momentum (#9000)
    omit 89bcc79  fix (#9021)
    omit ff0868f  [Community] @AndrewZhaoLuo -> Reviewer (#9020)
    omit 148ddca  [Hexagon] Implement model launcher (#8986)
    omit 777ace3  [Relay][Pass] Add ExtractOperators pass (#8996)
    omit 6f5b674  [BYOC][TensorRT] Add TensorRT own int8 calibration support to TensorRT BYOC integration (#8808)
    omit e44f6c0  [ONNX] Add Einsum converter (#8985)
    omit 2aebd33  Add standalone_crt/ to be part of the wheel package, when available. (#9005)
    omit 98ecefb  [Relay] Remove memory planing from LowerTEPass  (#8974)
    omit 57386a2  [Hexagon] Treat floats as float32 when passing args to offloaded kernels (#9010)
    omit 9bc4dc0  [Runtime] Pipeline Executor Initial patch. (#8702)
    omit dd7d830  [Hexagon] `llvm-options` attribute is an array of strings (#9011)
    omit 39abead  disable cuda int8 schedule for non-cuda gpu target (#9014)
    omit f350ea6  [Torch] Add an option to make imported models compatible with the Relay text parser (#9015)
    omit 354019d  [3/6] Arm(R) Ethos(TM)-U NPU TIR compiler with conv2d support (#8806)
     add 7bceaff  [CI] Modify Jenkinfile to always display junit report
     add 2362761  [CI] Update jenkins to always displays reports on failed tests
     add f0d5292  Merge branch 'main' of https://github.com/apache/tvm into jenkisfile_upd
     add a1f62ce  Merge branch 'main' of https://github.com/apache/tvm into jenkisfile_upd
     add 293484b  Test
     add ddcc905  Test
     add 8dc26a5  Test
     add bed63fc  Test
     add 811bdcf  Test
     add ab1bdb7  Test
     add a30eb86  Test
     add fdc8e5f  Test
     add 141b665  Test
     add 0558f3a  Test jk
     add b22ce17  Test
     add a038cb1  Test
     add 21b7cb9  Merge branch 'main' of https://github.com/apache/tvm into jenkisfile_upd
     add 02f99c6  Test
     add 75ac33c  Test
     add 76b57cf  Add Jenkinsfile
     add 0da51c3  [CI] Add post action to register failed tests with Junit
     add b3c1b11  Merge branch 'main' of https://github.com/apache/tvm into jenkisfile_upd
     new fd06640  fail some tests

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   (77432d6)
            \
             N -- N -- N   refs/heads/ci-docker-staging (fd06640)

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 1 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/ISSUE_TEMPLATE/ci-problem.md               |   2 +-
 .github/ISSUE_TEMPLATE/documentation.md            |   1 -
 CMakeLists.txt                                     |  10 -
 CONTRIBUTORS.md                                    |   1 -
 Jenkinsfile                                        | 416 ++++++++--------
 README.md                                          |   7 +-
 .../arduino/base-box/base_box_provision.sh         |   2 +-
 cmake/config.cmake                                 |   3 -
 cmake/modules/Hexagon.cmake                        |   1 -
 cmake/modules/HexagonSDK.cmake                     |   6 -
 cmake/modules/contrib/EthosU.cmake                 |   2 +-
 cmake/modules/contrib/ExampleTargetHooks.cmake     |  19 -
 .../install/ubuntu_install_vitis_ai_packages_ci.sh |   4 +-
 docs/langref/relay_pattern.rst                     |   2 +-
 docs/t.txt                                         |   0
 include/tvm/relay/attrs/transform.h                |  11 +-
 include/tvm/relay/transform.h                      |   7 -
 python/setup.py                                    |  34 +-
 python/tvm/contrib/pipeline_executor.py            | 543 --------------------
 python/tvm/micro/session.py                        |  12 +-
 python/tvm/micro/testing.py                        |  33 --
 python/tvm/relay/analysis/analysis.py              |  17 -
 .../tvm/relay/backend/contrib/ethosu/__init__.py   |   1 -
 .../relay/backend/contrib/ethosu/te/convolution.py |   2 +-
 python/tvm/relay/backend/contrib/ethosu/te/dma.py  |   4 +-
 .../relay/backend/contrib/ethosu/tir/__init__.py   |  17 -
 .../relay/backend/contrib/ethosu/tir/compiler.py   | 199 --------
 .../backend/contrib/ethosu/tir/convolution.py      | 106 ----
 python/tvm/relay/backend/contrib/ethosu/tir/dma.py | 291 -----------
 .../tvm/relay/backend/contrib/ethosu/tir/passes.py | 475 ------------------
 .../relay/backend/contrib/ethosu/tir/scheduler.py  | 277 -----------
 .../tvm/relay/backend/contrib/ethosu/tir/spec.py   | 263 ----------
 .../relay/backend/contrib/ethosu/tir/transform.py  |  61 ---
 .../tvm/relay/backend/contrib/ethosu/tir/utils.py  | 222 ---------
 .../backend/contrib/ethosu/tir_to_cs_translator.py | 332 -------------
 python/tvm/relay/backend/contrib/ethosu/util.py    |  14 -
 .../tvm/relay/backend/contrib/ethosu/vela_api.py   |  62 ---
 python/tvm/relay/frontend/onnx.py                  | 292 ++---------
 python/tvm/relay/frontend/pytorch.py               |  36 +-
 python/tvm/relay/op/__init__.py                    |   1 -
 python/tvm/relay/op/_math.py                       |  22 -
 python/tvm/relay/op/_transform.py                  |   1 -
 python/tvm/relay/op/strategy/cuda.py               |  24 +-
 python/tvm/relay/op/strategy/generic.py            |  21 -
 python/tvm/relay/op/tensor.py                      |  23 -
 python/tvm/topi/cuda/pooling.py                    |   2 +-
 python/tvm/topi/cuda/tensorcore_alter_op.py        |   6 -
 python/tvm/topi/generic/__init__.py                |   1 -
 python/tvm/topi/generic/math.py                    |  34 --
 python/tvm/topi/x86/pooling.py                     |   4 +-
 src/arith/rewrite_simplify.cc                      |   3 -
 src/relay/analysis/extract_operators.cc            |  75 ---
 src/relay/backend/aot_executor_codegen.cc          |  16 +-
 src/relay/backend/contrib/ethosu/compiler_attrs.cc |  73 ---
 src/relay/backend/contrib/ethosu/to_te_graph.cc    | 234 ---------
 .../contrib/example_target_hooks/relay_to_tir.cc   | 131 -----
 src/relay/backend/graph_executor_codegen.cc        |  17 +-
 src/relay/backend/interpreter.cc                   |  28 +-
 src/relay/backend/te_compiler.cc                   | 108 ++--
 src/relay/backend/te_compiler.h                    |  27 +-
 src/relay/backend/utils.h                          |  11 -
 src/relay/op/tensor/math.cc                        | 115 -----
 src/relay/transforms/target_hooks.cc               |  86 ----
 src/runtime/contrib/tensorrt/tensorrt_builder.cc   |  19 +-
 src/runtime/contrib/tensorrt/tensorrt_builder.h    |  11 +-
 src/runtime/contrib/tensorrt/tensorrt_calibrator.h | 130 -----
 src/runtime/contrib/tensorrt/tensorrt_runtime.cc   | 108 +---
 src/runtime/crt/host/Makefile                      |   6 +-
 src/runtime/crt/host/microtvm_api_server.py        |   8 +-
 src/runtime/hexagon/hexagon_module.cc              |   5 +-
 src/runtime/hexagon/launcher/CMakeLists.txt        | 156 ------
 src/runtime/hexagon/launcher/README.md             | 175 -------
 src/runtime/hexagon/launcher/launcher_android.cc   | 169 -------
 src/runtime/hexagon/launcher/launcher_core.cc      | 176 -------
 src/runtime/hexagon/launcher/launcher_core.h       | 132 -----
 src/runtime/hexagon/launcher/launcher_hexagon.cc   | 229 ---------
 src/runtime/hexagon/launcher/launcher_main.cc      | 148 ------
 src/runtime/hexagon/launcher/launcher_rpc.idl      |  33 --
 src/runtime/hexagon/launcher/launcher_util.cc      |  68 ---
 src/runtime/hexagon/launcher/launcher_util.h       |  34 --
 src/runtime/pipeline/pipeline_executor.cc          |  51 --
 src/runtime/pipeline/pipeline_executor.h           |  61 ---
 src/runtime/rpc/rpc_endpoint.cc                    |  15 +-
 src/runtime/rpc/rpc_endpoint.h                     |   8 +-
 src/target/llvm/codegen_hexagon.cc                 |   8 +-
 tests/micro/zephyr/test_zephyr.py                  |  13 +-
 tests/python/contrib/test_ethosu/infra.py          | 117 -----
 .../contrib/test_ethosu/test_attr_passing.py       |  44 --
 tests/python/contrib/test_ethosu/test_compiler.py  |  48 --
 .../contrib/test_ethosu/test_encode_constants.py   | 273 ----------
 .../contrib/test_ethosu/test_extract_constants.py  |  99 ----
 .../python/contrib/test_ethosu/test_lower_to_te.py |  63 ---
 .../contrib/test_ethosu/test_replace_conv2d.py     | 547 ---------------------
 .../contrib/test_ethosu/test_replace_copy.py       |  77 ---
 tests/python/contrib/test_ethosu/test_scheduler.py | 144 ------
 tests/python/contrib/test_ethosu/test_vela_api.py  | 101 ----
 tests/python/contrib/test_tensorrt_int8_exp.py     | 149 ------
 tests/python/frontend/onnx/test_forward.py         | 206 ++------
 tests/python/frontend/pytorch/test_forward.py      | 192 +++++++-
 tests/python/relay/aot/corstone300.mk              |   2 +-
 .../relay/test_analysis_extract_operators.py       | 107 ----
 tests/python/relay/test_any.py                     |   4 +-
 tests/python/relay/test_op_level2.py               |   4 +
 .../python/relay/test_pass_legalize_tensorcore.py  |  12 +-
 tests/python/relay/test_pipeline_executor.py       | 239 ---------
 tests/python/relay/test_target_hooks.py            |  53 --
 .../python/unittest/test_arith_rewrite_simplify.py |  16 +-
 tests/python/unittest/test_crt.py                  |  13 +-
 .../unittest/test_micro_model_library_format.py    |   1 +
 .../python/unittest/test_target_codegen_hexagon.py |  13 -
 tests/scripts/git_check_tree.sh                    |  40 --
 tests/scripts/task_config_build_i386.sh            |   1 -
 tutorials/auto_scheduler/tune_network_cuda.py      |   2 +-
 tutorials/auto_scheduler/tune_network_x86.py       |   2 +-
 tutorials/frontend/deploy_sparse.py                |   6 +-
 tutorials/micro/micro_autotune.py                  |  26 +-
 116 files changed, 679 insertions(+), 8535 deletions(-)
 delete mode 100644 cmake/modules/contrib/ExampleTargetHooks.cmake
 create mode 100644 docs/t.txt
 delete mode 100644 python/tvm/contrib/pipeline_executor.py
 delete mode 100644 python/tvm/micro/testing.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/__init__.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/compiler.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/convolution.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/dma.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/passes.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/scheduler.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/spec.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/transform.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir/utils.py
 delete mode 100644 python/tvm/relay/backend/contrib/ethosu/tir_to_cs_translator.py
 delete mode 100644 python/tvm/relay/op/_math.py
 delete mode 100644 python/tvm/topi/generic/math.py
 delete mode 100644 src/relay/analysis/extract_operators.cc
 delete mode 100644 src/relay/backend/contrib/ethosu/compiler_attrs.cc
 delete mode 100644 src/relay/backend/contrib/ethosu/to_te_graph.cc
 delete mode 100644 src/relay/backend/contrib/example_target_hooks/relay_to_tir.cc
 delete mode 100644 src/relay/op/tensor/math.cc
 delete mode 100644 src/relay/transforms/target_hooks.cc
 delete mode 100755 src/runtime/contrib/tensorrt/tensorrt_calibrator.h
 delete mode 100644 src/runtime/hexagon/launcher/CMakeLists.txt
 delete mode 100644 src/runtime/hexagon/launcher/README.md
 delete mode 100644 src/runtime/hexagon/launcher/launcher_android.cc
 delete mode 100644 src/runtime/hexagon/launcher/launcher_core.cc
 delete mode 100644 src/runtime/hexagon/launcher/launcher_core.h
 delete mode 100644 src/runtime/hexagon/launcher/launcher_hexagon.cc
 delete mode 100644 src/runtime/hexagon/launcher/launcher_main.cc
 delete mode 100644 src/runtime/hexagon/launcher/launcher_rpc.idl
 delete mode 100644 src/runtime/hexagon/launcher/launcher_util.cc
 delete mode 100644 src/runtime/hexagon/launcher/launcher_util.h
 delete mode 100644 src/runtime/pipeline/pipeline_executor.cc
 delete mode 100644 src/runtime/pipeline/pipeline_executor.h
 delete mode 100644 tests/python/contrib/test_ethosu/infra.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_attr_passing.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_compiler.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_encode_constants.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_extract_constants.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_lower_to_te.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_replace_conv2d.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_replace_copy.py
 delete mode 100644 tests/python/contrib/test_ethosu/test_scheduler.py
 delete mode 100644 tests/python/contrib/test_tensorrt_int8_exp.py
 delete mode 100644 tests/python/relay/test_analysis_extract_operators.py
 delete mode 100644 tests/python/relay/test_pipeline_executor.py
 delete mode 100644 tests/python/relay/test_target_hooks.py
 delete mode 100755 tests/scripts/git_check_tree.sh

[tvm] 01/01: fail some tests

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 fd06640500adf698a37cab438cb7dabbb02f4003
Author: Andrew Reusch <ar...@octoml.ai>
AuthorDate: Sun Sep 19 22:48:34 2021 -0700

    fail some tests
---
 tests/python/unittest/test_crt.py                        | 2 ++
 tests/python/unittest/test_micro_model_library_format.py | 1 +
 2 files changed, 3 insertions(+)

diff --git a/tests/python/unittest/test_crt.py b/tests/python/unittest/test_crt.py
index af14a38..87211c2 100644
--- a/tests/python/unittest/test_crt.py
+++ b/tests/python/unittest/test_crt.py
@@ -207,6 +207,8 @@ def test_platform_timer():
     B = tvm.te.compute(A.shape, lambda i: tvm.te.exp(A[i]), name="B")
     s = tvm.te.create_schedule(B.op)
 
+    assert False, "fail this test"
+
     with _make_sess_from_op(temp_dir, "myexpf", s, [A, B]) as sess:
         A_data = tvm.nd.array(np.array([2.0, 3.0], dtype="float32"), device=sess.device)
         B_data = tvm.nd.array(np.array([2.0, 3.0], dtype="float32"), device=sess.device)
diff --git a/tests/python/unittest/test_micro_model_library_format.py b/tests/python/unittest/test_micro_model_library_format.py
index 92c1174..1c55af9 100644
--- a/tests/python/unittest/test_micro_model_library_format.py
+++ b/tests/python/unittest/test_micro_model_library_format.py
@@ -117,6 +117,7 @@ def validate_graph_json(extract_dir, factory):
     ],
 )
 def test_export_model_library_format_c(executor, target, should_generate_interface):
+    assert False, "Fail this one too"
     with utils.TempDirectory.set_keep_for_debug(True):
         with tvm.transform.PassContext(opt_level=3, config={"tir.disable_vectorize": True}):
             relay_mod = tvm.parser.fromtext(