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 e6754d3 Validate Docker images using 20220204-110603-89aa4fe28
updating TF to 2.6.
discard 89aa4fe Upgrade tensorflow to version to 2.6.x
add 6942b36 [Pass] Simplify consecutive casts in Relay (#10133)
add 3ca5c2b [Meta Schedule] Allow Non-strict Population Size in
Evolutionary Search (#10163)
add 95aac92 [Torch] Experimental support for FX-quantized models (#10091)
add 1821acb [skip ci] Fail silently in ping_reviewers GitHub actions.
(#10173)
add 1b71cae gitignore build-* folders (#10168)
add 34d70de [Relay][VM] Relay VM memory liveness/lifetime analysis
(#10026)
add 63377f2 Fix broadcast InferCorrectLayout (#10156)
add 774df1d TVMC: Don't divide trials by zero tasks (#10164)
add 22c488e [MetaSchedule] Add target field to MetaScheduleContext
(#10169)
add 2ea2f5a [skip ci] Fix scipy intersphinx link (#10181)
add 7fd73b2 [CUTLASS] Initial support for conv2d wgrad (#10177)
add 51ee04b [TIR] Canonical simplify the intset before region cover proof
(#9941)
add 98fcca1 Support PyTorch grid_sample (#10184)
add afa0870 [MetaSchedule] bug fix ApplyHistoryBest. Previously,
ApplyHistoryBest returned the incoming module without applying the tuning
history. (#10183)
add 470a1c7 [BugFix][TVMScript] Use operator `is` when recognizing TIR
Module (#10175)
add 35a7992 [CUTLASS] Add parallel split-k support to wgrad (#10185)
add 8247724 [FQ2I] Add topk to FQ2I (#10170)
add 8c53f62 [TIR] Allow compute_at create block predicate for non-trivial
bounds and support floordiv pattern (#9527)
add de8fdec3 [cleanup] Remove task_sphinx_precheck.sh (#10196)
add 345dc37 [ETHOSN] Add support for mean on Ethos-N78 (#10130)
add 9282367 [microNPU] Add support for pack and unpack (#9960)
add 86e1e56 [microNPU] Refactor type inference data type checks (#10060)
add e23999e [Torch] Run torch JIT pass lower_all_tuples before
conversion. (#10186)
add 8133048 [ETHOSN] Fix quantization parameters in test (#10178)
add 2a1cc09 [ETHOSN] Per-channel int8 quantization for conv2d (#10131)
add 6ce7e59 [microTVM] TVMCon 2021 Zephyr Demo with CMSIS-NN (#10144)
add b0783b0 [TVMC] Add codegen args to tvmc (#10190)
add 4d2cc29 [CMSIS-NN] Fix extension detection for CPUs (#10200)
add 26a5d81 Add scripts for automated build and testing (#10194)
add 69403f1 [OpenCL] Fix vthread_extent for warp size 1 case (#10199)
add 1571112 [USMP] Register hill climb algorithm (#10182)
add 5e4e239 [QNN] Lookup operations for hard to implement operators
(#10053)
add 3b2780a [microTVM][Tutorials] Add tutorials to run on ci_qemu (#10154)
add 9f7f4c6 Disable tensorflow v2 behavior in all unit tests (#10204)
add 345eb09 resolve issue #10107 by setting eps larger (#10176)
add e50a923 Add FreeRTOS variant of NPU demo (#10004)
add 7a00843 [RPC] Add Missing Command Line Option "through-proxy" of RPC
Server (#10188)
add 222152b [ci] Add more details when showing node info (#10195)
add 09f7be2 Implementation of Common Subexpression Elimination for TIR
(#9482)
add 7c22f3f [Conda] Fix a compatibility bug in conda scripts (#10201)
add 61b66cd PackedFunction to return params from the .so module, show
warning when no params are set (#9811)
add cdd494a [ci] Invoke tensorflow tests individually (#10198)
add 146cdc2 [skip ci] Fix onnx/models URLs (#10218)
add 4654718 [microNPU] Use TFLite tests for strided_slice (#10165)
add 8aeb722 fix an index out of bound problem of cache write block
(#10203)
add 2ac6cfe Fix more ONNX URLs (#10220)
add c20cbc5 Fixes for follow up on PR #9631 (#10205)
add 6dece18 Adding support for Hexagon User DMA Engine (#10217)
add 8c125ca [RPC] Take PageAllocator out of MinRPCServer, make it
template parameter (#10219)
add fa07581 Fix spacing
add 2154516 Add try..finally everywhere
add c76ea66 trigger ci
add 5418e9a Fix pytest invocations
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 (e6754d3)
\
N -- N -- N refs/heads/ci-docker-staging (5418e9a)
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.
No new revisions were added by this update.
Summary of changes:
.github/workflows/ping_reviewers.yml | 3 +-
.gitignore | 1 +
Jenkinsfile | 281 ++++---
apps/microtvm/arduino/template_project/boards.json | 36 +-
apps/microtvm/ethosu/.gitignore | 3 +
apps/microtvm/ethosu/Makefile | 21 +-
apps/microtvm/ethosu/README.md | 7 +-
apps/microtvm/ethosu/include/FreeRTOSConfig.h | 112 +++
apps/microtvm/ethosu/include/tvm_runtime.h | 2 +-
apps/microtvm/ethosu/run_demo.sh | 18 +-
.../ethosu/src/{demo.c => demo_bare_metal.c} | 0
apps/microtvm/ethosu/src/demo_freertos.c | 131 ++++
.../reference-vm/arduino/base-box/test-config.json | 30 -
apps/microtvm/reference-vm/base-box-tool.py | 66 +-
.../reference-vm/scripts/reference_vm_build.sh | 22 +-
.../reference-vm/scripts/reference_vm_release.sh | 31 +-
.../reference-vm/scripts/reference_vm_test.sh | 25 +-
.../microtvm/reference-vm/scripts/utils.sh | 12 +-
.../reference-vm/zephyr/base-box/test-config.json | 18 -
apps/microtvm/zephyr/template_project/boards.json | 40 +-
apps/microtvm/zephyr_cmsisnn/.gitignore | 2 +
apps/microtvm/zephyr_cmsisnn/CMakeLists.txt | 92 +++
apps/microtvm/zephyr_cmsisnn/README.md | 43 ++
apps/microtvm/zephyr_cmsisnn/include/crt_config.h | 54 ++
.../microtvm/zephyr_cmsisnn/model/convert_input.py | 67 ++
.../zephyr_cmsisnn/model/convert_labels.py | 37 +-
apps/microtvm/zephyr_cmsisnn/model/input.txt | 1 +
apps/microtvm/zephyr_cmsisnn/model/labels.txt | 12 +
.../microtvm/zephyr_cmsisnn/prj.conf | 12 +-
.../microtvm/zephyr_cmsisnn/run_demo.sh | 37 +-
.../tvm_runtime.h => zephyr_cmsisnn/src/main.c} | 57 +-
.../wasm-graph/tools/build_graph_lib.py | 10 +-
cmake/modules/Hexagon.cmake | 1 +
conda/recipe/meta.yaml | 4 +-
docker/install/ubuntu_install_tensorflow.sh | 6 +-
docs/Makefile | 2 +-
docs/arch/benchmark.rst | 2 +-
docs/conf.py | 2 +-
.../how_to/work_with_microtvm/micro_autotune.py | 125 +--
gallery/how_to/work_with_microtvm/micro_ethosu.py | 13 +
gallery/tutorial/autotvm_relay_x86.py | 10 +-
gallery/tutorial/tvmc_command_line_driver.py | 2 +-
gallery/tutorial/tvmc_python.py | 2 +-
include/tvm/arith/int_set.h | 5 +
include/tvm/meta_schedule/integration.h | 15 +-
include/tvm/meta_schedule/search_strategy.h | 4 +-
include/tvm/relay/attrs/image.h | 6 +
include/tvm/relay/transform.h | 8 +
include/tvm/runtime/vm/bytecode.h | 3 +
include/tvm/tir/transform.h | 8 +
include/tvm/tir/usmp/algorithms.h | 11 +
python/tvm/contrib/cudnn.py | 14 +-
python/tvm/contrib/cutlass/build.py | 14 +-
python/tvm/contrib/cutlass/conv2d_operation.py | 82 +-
python/tvm/contrib/cutlass/conv2d_profiler.py | 58 +-
python/tvm/contrib/cutlass/gen_conv2d.py | 89 ++-
python/tvm/contrib/cutlass/gen_gemm.py | 4 +
python/tvm/contrib/cutlass/gen_tensor_op.py | 22 +-
python/tvm/contrib/cutlass/library.py | 2 +
python/tvm/contrib/debugger/debug_executor.py | 14 +-
python/tvm/driver/tvmc/autotuner.py | 2 +-
python/tvm/driver/tvmc/target.py | 57 +-
python/tvm/exec/rpc_server.py | 10 +
python/tvm/meta_schedule/integration.py | 14 +-
.../search_strategy/evolutionary_search.py | 14 +-
.../tvm/relay/backend/contrib/ethosu/legalize.py | 66 ++
python/tvm/relay/frontend/onnx.py | 6 +-
python/tvm/relay/frontend/pytorch.py | 113 ++-
python/tvm/relay/frontend/pytorch_utils.py | 6 +
python/tvm/relay/frontend/qnn_torch.py | 84 ++-
python/tvm/relay/op/contrib/cutlass.py | 13 +
python/tvm/relay/op/contrib/ethosn.py | 16 +
python/tvm/relay/op/contrib/ethosu.py | 84 ++-
python/tvm/relay/op/image/_image.py | 3 +-
python/tvm/relay/op/image/image.py | 10 +-
python/tvm/relay/op/nn/_nn.py | 35 +
python/tvm/relay/qnn/op/__init__.py | 4 +-
python/tvm/relay/qnn/op/canonicalizations.py | 160 ++++
python/tvm/relay/qnn/op/legalizations.py | 20 +-
python/tvm/relay/qnn/op/op.py | 25 +-
.../transform/fake_quantization_to_integer.py | 14 +
python/tvm/relay/transform/transform.py | 8 +
python/tvm/script/parser.py | 2 +-
python/tvm/tir/transform/transform.py | 11 +
python/tvm/topi/cuda/conv2d.py | 8 +-
python/tvm/topi/image/grid_sample.py | 24 +-
.../topi/testing/conv2d_backcward_weight_python.py | 43 +-
python/tvm/topi/testing/grid_sample_python.py | 73 +-
src/arith/int_set.cc | 14 +
src/arith/iter_affine_map.cc | 1 +
src/auto_scheduler/search_task.cc | 2 +-
src/driver/driver_api.cc | 5 +
src/meta_schedule/integration.cc | 23 +-
.../search_strategy/evolutionary_search.cc | 46 +-
.../backend/contrib/cmsisnn/compiler_attrs.cc | 2 +-
src/relay/backend/contrib/cutlass/codegen.cc | 136 +++-
src/relay/backend/contrib/ethosn/codegen.cc | 32 +
src/relay/backend/contrib/ethosn/codegen_ethosn.h | 1 +
src/relay/backend/contrib/ethosn/ethosn_api.cc | 20 +
src/relay/backend/contrib/ethosn/ethosn_api.h | 6 +
src/relay/backend/te_compiler_cache.cc | 2 +-
src/relay/backend/vm/compiler.cc | 10 +-
src/relay/backend/vm/manifest_lifetimes.cc | 644 ++++++++++++++++
src/relay/op/contrib/ethosu/binary_elementwise.cc | 102 +--
src/relay/op/contrib/ethosu/common.cc | 81 ++
src/relay/op/contrib/ethosu/common.h | 46 ++
src/relay/op/contrib/ethosu/convolution.cc | 35 +-
src/relay/op/contrib/ethosu/depthwise.cc | 50 +-
src/relay/op/contrib/ethosu/identity.cc | 10 +-
src/relay/op/contrib/ethosu/pooling.cc | 27 +-
src/relay/op/contrib/ethosu/unary_elementwise.cc | 28 +-
src/relay/op/image/grid_sample.cc | 3 +-
src/relay/op/memory/memory.cc | 10 +-
src/relay/op/nn/convolution.cc | 25 +-
src/relay/op/tensor/transform.cc | 3 +-
src/relay/qnn/op/rsqrt.cc | 42 +-
src/relay/transforms/infer_layout_utils.cc | 265 +++++++
src/relay/transforms/infer_layout_utils.h | 135 +---
src/relay/transforms/simplify_expr.cc | 63 +-
src/runtime/contrib/sort/sort.cc | 28 +
.../graph_executor/graph_executor_factory.cc | 9 +
src/runtime/hexagon/hexagon/hexagon_buffer.cc | 19 +-
src/runtime/hexagon/hexagon/hexagon_user_dma.cc | 118 +++
.../hexagon/hexagon/hexagon_user_dma_descriptors.h | 310 ++++++++
.../hexagon/hexagon_user_dma_instructions.h | 79 ++
.../hexagon/hexagon/hexagon_user_dma_registers.h | 278 +++++++
src/runtime/hexagon/rpc/android/session.cc | 2 +-
src/runtime/hexagon/rpc/hexagon/rpc_server.cc | 68 +-
src/runtime/minrpc/minrpc_server.h | 82 +-
src/runtime/vm/bytecode.cc | 16 +
src/runtime/vm/executable.cc | 8 +
src/runtime/vm/profiler/vm.cc | 2 +-
src/runtime/vm/vm.cc | 7 +
src/tir/analysis/block_access_region_detector.cc | 16 +-
src/tir/analysis/check_contains.cc | 98 +++
src/tir/analysis/check_contains.h | 60 ++
src/tir/schedule/analysis.h | 29 +
src/tir/schedule/primitive/cache_read_write.cc | 14 +-
src/tir/schedule/primitive/compute_at.cc | 171 ++++-
src/tir/schedule/state.cc | 17 +-
src/tir/transforms/common_subexpr_elim.cc | 619 +++++++++++++++
src/tir/transforms/common_subexpr_elim.h | 89 +++
src/tir/transforms/common_subexpr_elim_tools.cc | 836 +++++++++++++++++++++
src/tir/transforms/common_subexpr_elim_tools.h | 217 ++++++
src/tir/transforms/replace_selected_expr.cc | 109 +++
src/tir/transforms/replace_selected_expr.h | 75 ++
src/tir/usmp/unified_static_memory_planner.cc | 5 +-
.../backend/contrib/cmsisnn/compiler_attrs_test.cc | 4 +-
.../contrib/test_bnns/test_onnx_topologies.py | 2 +-
tests/python/contrib/test_cutlass.py | 204 ++++-
tests/python/contrib/test_ethosn/infrastructure.py | 11 +-
tests/python/contrib/test_ethosn/test_addition.py | 26 +-
tests/python/contrib/test_ethosn/test_conv2d.py | 42 +-
.../contrib/test_ethosn/test_fullyconnected.py | 8 +-
tests/python/contrib/test_ethosn/test_mean.py | 57 ++
tests/python/contrib/test_ethosu/test_codegen.py | 82 +-
tests/python/contrib/test_ethosu/test_legalize.py | 437 ++++++++++-
tests/python/driver/tvmc/conftest.py | 4 +-
tests/python/driver/tvmc/test_target_options.py | 44 ++
tests/python/frontend/pytorch/qnn_test.py | 107 ++-
tests/python/frontend/pytorch/test_forward.py | 49 +-
tests/python/frontend/pytorch/test_fx_quant.py | 85 +++
.../python/frontend/tensorflow/test_bn_dynamic.py | 2 +
tests/python/frontend/tensorflow/test_forward.py | 2 +
tests/python/frontend/tensorflow/test_no_op.py | 2 +
tests/python/relay/aot/test_crt_aot_usmp.py | 3 +-
tests/python/relay/qnn/test_canonicalizations.py | 231 ++++++
tests/python/relay/test_ir_nodes.py | 22 +-
tests/python/relay/test_ir_text_printer.py | 19 +-
tests/python/relay/test_op_grad_level2.py | 27 +-
tests/python/relay/test_op_level3.py | 9 +-
tests/python/relay/test_op_level5.py | 12 +-
tests/python/relay/test_op_qnn_rsqrt.py | 4 +-
tests/python/relay/test_pass_alter_op_layout.py | 171 +++++
.../relay/test_pass_dead_code_elimination.py | 16 +-
.../test_pass_fake_quantization_to_integer.py | 27 +-
tests/python/relay/test_pass_manifest_lifetimes.py | 147 ++++
tests/python/relay/test_pass_simplify_expr.py | 32 +-
tests/python/topi/python/test_topi_image.py | 11 +-
tests/python/topi/python/test_topi_relu.py | 15 +-
tests/python/topi/python/test_topi_transform.py | 17 +-
.../python/unittest/test_arith_iter_affine_map.py | 8 +
tests/python/unittest/test_crt.py | 2 +-
tests/python/unittest/test_lower_build.py | 20 +-
.../unittest/test_meta_schedule_integration.py | 8 +-
.../unittest/test_meta_schedule_search_strategy.py | 2 +-
.../test_runtime_module_based_interface.py | 63 ++
tests/python/unittest/test_te_tensor.py | 8 +-
.../test_tir_analysis_get_block_access_region.py | 20 +-
.../unittest/test_tir_schedule_cache_read_write.py | 102 +++
.../unittest/test_tir_schedule_compute_at.py | 211 +++++-
.../python/unittest/test_tir_schedule_sampling.py | 3 +-
.../test_tir_schedule_state_cached_flags.py | 2 +-
.../test_tir_transform_common_subexpr_elim.py | 312 ++++++++
.../test_tir_transform_lower_warp_memory.py | 28 +-
tests/python/unittest/test_tvmscript_regression.py | 49 ++
.../qnn/op/op.py => tests/scripts/pytest_ids.py | 37 +-
tests/scripts/task_cpp_unittest.sh | 14 -
.../scripts/task_demo_microtvm.sh | 20 +-
tests/scripts/task_python_frontend.sh | 12 +-
tests/scripts/task_python_integration.sh | 13 +-
tests/scripts/task_python_microtvm.sh | 10 +
tests/scripts/task_python_unittest.sh | 11 +-
tests/scripts/task_python_unittest_gpuonly.sh | 6 +-
.../scripts/task_show_node_info.sh | 31 +-
.../integration/test_benchmark_topi_conv2d.py | 13 +-
.../test_benchmark_topi_conv2d_transpose.py | 15 +-
.../test_benchmark_topi_group_conv2d.py | 13 +-
vta/tests/python/unittest/test_vta_insn.py | 4 +-
vta/tutorials/frontend/deploy_classification.py | 4 +-
vta/tutorials/frontend/deploy_detection.py | 2 +-
vta/tutorials/optimize/convolution_opt.py | 7 +-
212 files changed, 9567 insertions(+), 1400 deletions(-)
create mode 100644 apps/microtvm/ethosu/.gitignore
create mode 100644 apps/microtvm/ethosu/include/FreeRTOSConfig.h
rename apps/microtvm/ethosu/src/{demo.c => demo_bare_metal.c} (100%)
create mode 100644 apps/microtvm/ethosu/src/demo_freertos.c
delete mode 100644 apps/microtvm/reference-vm/arduino/base-box/test-config.json
copy docker/install/ubuntu_install_tensorflow.sh =>
apps/microtvm/reference-vm/scripts/reference_vm_build.sh (67%)
copy docker/install/ubuntu_install_tensorflow.sh =>
apps/microtvm/reference-vm/scripts/reference_vm_release.sh (55%)
copy docker/install/ubuntu_install_tensorflow.sh =>
apps/microtvm/reference-vm/scripts/reference_vm_test.sh (64%)
rename tests/scripts/task_sphinx_precheck.sh =>
apps/microtvm/reference-vm/scripts/utils.sh (75%)
delete mode 100644 apps/microtvm/reference-vm/zephyr/base-box/test-config.json
create mode 100644 apps/microtvm/zephyr_cmsisnn/.gitignore
create mode 100644 apps/microtvm/zephyr_cmsisnn/CMakeLists.txt
create mode 100644 apps/microtvm/zephyr_cmsisnn/README.md
create mode 100644 apps/microtvm/zephyr_cmsisnn/include/crt_config.h
create mode 100644 apps/microtvm/zephyr_cmsisnn/model/convert_input.py
copy python/tvm/relay/qnn/op/op.py =>
apps/microtvm/zephyr_cmsisnn/model/convert_labels.py (53%)
create mode 100644 apps/microtvm/zephyr_cmsisnn/model/input.txt
create mode 100644 apps/microtvm/zephyr_cmsisnn/model/labels.txt
copy docker/install/ubuntu_install_tensorflow.sh =>
apps/microtvm/zephyr_cmsisnn/prj.conf (87%)
mode change 100755 => 100644
copy docker/install/ubuntu_install_tensorflow.sh =>
apps/microtvm/zephyr_cmsisnn/run_demo.sh (51%)
copy apps/microtvm/{ethosu/include/tvm_runtime.h => zephyr_cmsisnn/src/main.c}
(55%)
create mode 100644 python/tvm/relay/qnn/op/canonicalizations.py
create mode 100644 src/relay/backend/vm/manifest_lifetimes.cc
create mode 100644 src/relay/transforms/infer_layout_utils.cc
create mode 100644 src/runtime/hexagon/hexagon/hexagon_user_dma.cc
create mode 100644 src/runtime/hexagon/hexagon/hexagon_user_dma_descriptors.h
create mode 100644 src/runtime/hexagon/hexagon/hexagon_user_dma_instructions.h
create mode 100644 src/runtime/hexagon/hexagon/hexagon_user_dma_registers.h
create mode 100644 src/tir/analysis/check_contains.cc
create mode 100644 src/tir/analysis/check_contains.h
create mode 100644 src/tir/transforms/common_subexpr_elim.cc
create mode 100644 src/tir/transforms/common_subexpr_elim.h
create mode 100644 src/tir/transforms/common_subexpr_elim_tools.cc
create mode 100644 src/tir/transforms/common_subexpr_elim_tools.h
create mode 100644 src/tir/transforms/replace_selected_expr.cc
create mode 100644 src/tir/transforms/replace_selected_expr.h
create mode 100644 tests/python/contrib/test_ethosn/test_mean.py
create mode 100644 tests/python/frontend/pytorch/test_fx_quant.py
create mode 100644 tests/python/relay/qnn/test_canonicalizations.py
create mode 100644 tests/python/relay/test_pass_manifest_lifetimes.py
create mode 100644
tests/python/unittest/test_tir_transform_common_subexpr_elim.py
create mode 100644 tests/python/unittest/test_tvmscript_regression.py
copy python/tvm/relay/qnn/op/op.py => tests/scripts/pytest_ids.py (52%)
mode change 100644 => 100755
copy docker/install/ubuntu_install_tensorflow.sh =>
tests/scripts/task_demo_microtvm.sh (66%)
copy docker/install/ubuntu_install_tensorflow.sh =>
tests/scripts/task_show_node_info.sh (58%)