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 2022/08/12 19:16:54 UTC

[tvm] branch add-riscv-image updated (8e84492703 -> c663d3b325)

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

areusch pushed a change to branch add-riscv-image
in repository https://gitbox.apache.org/repos/asf/tvm.git


    omit 8e84492703 Add ci_riscv image, update all to 20220810-060142-fae79bbc3.
     add 99f5e921a5 Update C++ standard to C++17 (#12337)
     add de12486271 [ci][docker] Tag tlcpackstaging images to tlcpack (#11832)
     add e8de88e4f5 [BYOC] [DNNL] enable in-place post-op sum in dnnl json runtime (#12371)
     add 5deb95a947 [Adreno][OpenCL] Get rid of extra memory copy (#12286)
     add 3cb57d20a0 [TVMScript] Printer Frame (#12366)
     add e3e65ce581 Add Python function to get type index by class (#12393)
     add 702cb43f0b [Target] Fix C5 Target Tag to Include CascadeLake Archs (#12385)
     add 22dcf4490d [PyTorch] Fix pad_common for float pad_value (#12134)
     add a1c371f46c [PyTorch] Fix all_any_common with no default input (#12395)
     add f4120e87ef Add needs-triage label to CI Problem template (#12386)
     add d874a8ed52 [microNPU] Reorder copies and computes based on the cycle count (#11591)
     add 1de32b587b [Target] Add Target Parser for Arm(R) Cortex(R) M-Profile CPUs (#12319)
     add 369e8b2830 [ci] Default to n=2 for test parallelism (#12376)
     add c3c7c4ccc3 [Profiler] Fix graph_executor_debug hang (#12382)
     add db1ed779f8 [docs] Update minimum compiler requirements for building from source (#12405)
     add 779a7ada4f Add sort_by_time flag to debug_executor.run method (#12402)
     new c663d3b325 Add ci_riscv image, update all to 20220810-060142-fae79bbc3.

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   (8e84492703)
            \
             N -- N -- N   refs/heads/add-riscv-image (c663d3b325)

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               |   1 +
 CMakeLists.txt                                     |  15 +-
 Jenkinsfile                                        | 342 +++++++++++++++++----
 .../android_camera/app/src/main/jni/Application.mk |   2 +-
 .../android_deploy/app/src/main/jni/Application.mk |   2 +-
 apps/android_rpc/app/src/main/jni/Application.mk   |   2 +-
 apps/bundle_deploy/Makefile                        |   2 +-
 apps/dso_plugin_module/Makefile                    |   2 +-
 apps/extension/Makefile                            |   2 +-
 apps/howto_deploy/Makefile                         |   2 +-
 apps/howto_deploy/tvm_runtime_pack.cc              |   2 +-
 apps/rocm_rpc/Makefile                             |   2 +-
 apps/tf_tvmdsoop/CMakeLists.txt                    |   2 +-
 ci/jenkins/Deploy.groovy.j2                        |  63 +++-
 ci/jenkins/Jenkinsfile.j2                          |   2 +-
 ci/jenkins/macros.j2                               |  19 ++
 conda/build-environment.yaml                       |   2 +-
 conda/recipe/build.sh                              |   6 +-
 conda/recipe/meta.yaml                             |   6 +-
 docs/install/from_source.rst                       |   6 +-
 golang/Makefile                                    |   2 +-
 include/tvm/runtime/profiling.h                    |   6 +-
 include/tvm/script/printer/frame.h                 | 140 +++++++++
 include/tvm/target/target_kind.h                   |   5 +
 python/setup.py                                    |   2 +-
 python/tvm/_ffi/__init__.py                        |   2 +-
 python/tvm/_ffi/_ctypes/object.py                  |  11 +-
 python/tvm/_ffi/_cython/object.pxi                 |   8 +-
 python/tvm/_ffi/registry.py                        |  21 +-
 python/tvm/contrib/debugger/debug_executor.py      |  55 +++-
 python/tvm/contrib/graph_executor.py               |   7 +
 .../relay/backend/contrib/ethosu/tir/compiler.py   |   1 +
 .../tvm/relay/backend/contrib/ethosu/tir/passes.py |  35 ++-
 python/tvm/relay/frontend/pytorch.py               |  21 +-
 python/tvm/relay/op/strategy/adreno.py             |  18 ++
 python/tvm/runtime/module.py                       |   6 +
 python/tvm/runtime/vm.py                           |   7 +
 python/tvm/script/printer/frame.py                 |  81 +++++
 python/tvm/target/target.py                        |   2 +-
 python/tvm/topi/adreno/__init__.py                 |   1 +
 python/tvm/topi/adreno/conv2d_nchw.py              |  29 +-
 python/tvm/topi/adreno/conv2d_nhwc.py              |  29 +-
 python/tvm/topi/adreno/depthwise_conv2d_nchw.py    |  10 +-
 python/tvm/topi/adreno/depthwise_conv2d_nhwc.py    |  10 +-
 python/tvm/topi/{hls => adreno}/injective.py       |  15 +-
 python/tvm/topi/adreno/utils.py                    |  23 +-
 src/relay/transforms/annotate_texture_storage.cc   | 152 +++++++--
 src/runtime/contrib/dnnl/dnnl_json_runtime.cc      |  35 ++-
 src/runtime/contrib/dnnl/dnnl_tensor_requisite.h   |  25 ++
 src/runtime/crt/common/crt_runtime_api.c           |  16 +-
 .../graph_executor/debug/graph_executor_debug.cc   |  55 ++--
 src/runtime/opencl/opencl_device_api.cc            |  29 +-
 src/runtime/profiling.cc                           |  12 +-
 src/runtime/rpc/rpc_module.cc                      |  33 +-
 src/script/printer/frame.cc                        |  50 +++
 .../utils.cc => target/parsers/cpu.cc}             |  25 +-
 include/tvm/relay/op.h => src/target/parsers/cpu.h |  29 +-
 src/target/parsers/mprofile.cc                     | 131 ++++++++
 .../target/parsers/mprofile.h                      |  28 +-
 src/target/tag.cc                                  |  23 +-
 src/target/target_kind.cc                          |   7 +-
 src/tir/contrib/ethosu/passes.cc                   | 158 ++++++++--
 tests/cpp/target/parsers/mprofile_test.cc          | 218 +++++++++++++
 tests/python/contrib/test_dnnl.py                  |  39 +--
 .../test_ethosu/test_copy_compute_reordering.py    | 210 +++++++++++++
 tests/python/driver/tvmc/test_target_options.py    |   2 +-
 tests/python/frontend/pytorch/test_forward.py      |  37 ++-
 tests/python/relay/test_conv2d_nchw_texture.py     |   8 +-
 .../python/unittest/test_target_parser_mprofile.py |  60 ++++
 tests/python/unittest/test_target_target.py        |   1 -
 .../unittest/test_tvmscript_printer_frame.py       |  67 ++--
 tests/scripts/setup-pytest-env.sh                  |   8 +-
 tests/scripts/task_python_docs.sh                  |   2 +
 web/emcc/tvmjs_support.cc                          |  22 +-
 web/src/runtime.ts                                 |   7 +-
 75 files changed, 2137 insertions(+), 381 deletions(-)
 create mode 100644 include/tvm/script/printer/frame.h
 create mode 100644 python/tvm/script/printer/frame.py
 copy python/tvm/topi/{hls => adreno}/injective.py (87%)
 create mode 100644 src/script/printer/frame.cc
 copy src/{auto_scheduler/utils.cc => target/parsers/cpu.cc} (72%)
 mode change 100755 => 100644
 copy include/tvm/relay/op.h => src/target/parsers/cpu.h (69%)
 create mode 100644 src/target/parsers/mprofile.cc
 copy include/tvm/runtime/executor_info.h => src/target/parsers/mprofile.h (65%)
 create mode 100644 tests/cpp/target/parsers/mprofile_test.cc
 create mode 100644 tests/python/unittest/test_target_parser_mprofile.py
 copy docker/install/ubuntu_install_ethosn_driver_stack.sh => tests/python/unittest/test_tvmscript_printer_frame.py (53%)
 mode change 100755 => 100644


[tvm] 01/01: Add ci_riscv image, update all to 20220810-060142-fae79bbc3.

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

areusch pushed a commit to branch add-riscv-image
in repository https://gitbox.apache.org/repos/asf/tvm.git

commit c663d3b32587eeb2f1a2d88c3343f061ac5de7d9
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Wed Aug 10 17:38:46 2022 -0700

    Add ci_riscv image, update all to 20220810-060142-fae79bbc3.
---
 Jenkinsfile                | 21 +++++++++++----------
 ci/jenkins/Jenkinsfile.j2  | 19 ++++++++++---------
 tests/python/ci/test_ci.py |  1 +
 3 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index fb8b31e288..596749c149 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,19 +45,20 @@
 // 'python3 jenkins/generate.py'
 // Note: This timestamp is here to ensure that updates to the Jenkinsfile are
 // always rebased on main before merging:
-// Generated at 2022-08-11T15:56:40.509448
+// Generated at 2022-08-12T12:16:33.991841
 
 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
-ci_lint = 'tlcpack/ci-lint:20220715-060127-37f9d3c49'
-ci_gpu = 'tlcpack/ci-gpu:20220801-060139-d332eb374'
-ci_cpu = 'tlcpack/ci-cpu:20220715-060127-37f9d3c49'
-ci_minimal = 'tlcpack/ci-minimal:20220725-133226-d3cefdaf1'
-ci_wasm = 'tlcpack/ci-wasm:20220715-060127-37f9d3c49'
-ci_i386 = 'tlcpack/ci-i386:20220715-060127-37f9d3c49'
-ci_cortexm = 'tlcpack/ci-cortexm:v0.01'
-ci_arm = 'tlcpack/ci-arm:20220715-060127-37f9d3c49'
-ci_hexagon = 'tlcpack/ci-hexagon:20220715-060127-37f9d3c49'
+ci_lint = 'tlcpack/ci-lint:20220810-060142-fae79bbc3'
+ci_gpu = 'tlcpack/ci-gpu:20220810-060142-fae79bbc3'
+ci_cpu = 'tlcpack/ci-cpu:20220810-060142-fae79bbc3'
+ci_minimal = 'tlcpack/ci-minimal:20220810-060142-fae79bbc3'
+ci_wasm = 'tlcpack/ci-wasm:20220810-060142-fae79bbc3'
+ci_i386 = 'tlcpack/ci-i386:20220810-060142-fae79bbc3'
+ci_cortexm = 'tlcpack/ci-cortexm:20220810-060142-fae79bbc3'
+ci_arm = 'tlcpack/ci-arm:20220810-060142-fae79bbc3'
+ci_hexagon = 'tlcpack/ci-hexagon:20220810-060142-fae79bbc3'
+ci_riscv = 'tlcpack/ci-riscv:20220810-060142-fae79bbc3'
 // <--- End of regex-scanned config.
 
 // Parameters to allow overriding (in Jenkins UI), the images
diff --git a/ci/jenkins/Jenkinsfile.j2 b/ci/jenkins/Jenkinsfile.j2
index a0c637ef90..85154355e0 100644
--- a/ci/jenkins/Jenkinsfile.j2
+++ b/ci/jenkins/Jenkinsfile.j2
@@ -51,15 +51,16 @@ import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 {% import 'ci/jenkins/macros.j2' as m with context -%}
 
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
-ci_lint = 'tlcpack/ci-lint:20220715-060127-37f9d3c49'
-ci_gpu = 'tlcpack/ci-gpu:20220801-060139-d332eb374'
-ci_cpu = 'tlcpack/ci-cpu:20220715-060127-37f9d3c49'
-ci_minimal = 'tlcpack/ci-minimal:20220725-133226-d3cefdaf1'
-ci_wasm = 'tlcpack/ci-wasm:20220715-060127-37f9d3c49'
-ci_i386 = 'tlcpack/ci-i386:20220715-060127-37f9d3c49'
-ci_cortexm = 'tlcpack/ci-cortexm:v0.01'
-ci_arm = 'tlcpack/ci-arm:20220715-060127-37f9d3c49'
-ci_hexagon = 'tlcpack/ci-hexagon:20220715-060127-37f9d3c49'
+ci_lint = 'tlcpack/ci-lint:20220810-060142-fae79bbc3'
+ci_gpu = 'tlcpack/ci-gpu:20220810-060142-fae79bbc3'
+ci_cpu = 'tlcpack/ci-cpu:20220810-060142-fae79bbc3'
+ci_minimal = 'tlcpack/ci-minimal:20220810-060142-fae79bbc3'
+ci_wasm = 'tlcpack/ci-wasm:20220810-060142-fae79bbc3'
+ci_i386 = 'tlcpack/ci-i386:20220810-060142-fae79bbc3'
+ci_cortexm = 'tlcpack/ci-cortexm:20220810-060142-fae79bbc3'
+ci_arm = 'tlcpack/ci-arm:20220810-060142-fae79bbc3'
+ci_hexagon = 'tlcpack/ci-hexagon:20220810-060142-fae79bbc3'
+ci_riscv = 'tlcpack/ci-riscv:20220810-060142-fae79bbc3'
 // <--- End of regex-scanned config.
 
 // Parameters to allow overriding (in Jenkins UI), the images
diff --git a/tests/python/ci/test_ci.py b/tests/python/ci/test_ci.py
index 1c2ab1ffb7..1e2008fdd7 100644
--- a/tests/python/ci/test_ci.py
+++ b/tests/python/ci/test_ci.py
@@ -920,6 +920,7 @@ def test_open_docker_update_pr(
         "ci_cortexm",
         "ci_arm",
         "ci_hexagon",
+        "ci_riscv",
     ]
 
     docker_data = {}