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/19 03:14:50 UTC
[tvm] branch ci-docker-staging updated (6a77cdd -> f0796a6)
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 6a77cdd prefix junit results with FFI type
omit f9ff088 Merge remote-tracking branch 'origin/main' into junit-enable
omit db93cb8 retrigger CI
omit ae46d51 Enable JUnit parsing for Python tests
add b8a8340 [µTVM] Use standalone_crt build tree for all µTVM builds (#7333)
add 4e211a7 [ONNX] Make the ONNX Importer More Static (#7429)
add 0aa90b0 [VM] Move param bind to OptimizeModule (#7451)
add 2e6e7dc [Frontend][MXNet] Add support for MXNet GroupNorm (#7409)
add 2af3ab1 update stm32mp1 arm_cpu target configuration (#7443)
add 6187e1c [FRONTEND][TFLITE] get input tensor information from graph (#7400)
add 32c4402 [µTVM] Print .elf statistics for a model runtime built with Zephyr (#7449)
add 0ebc820 Add IdentityN operator for TF Frontend (#7452)
add 2264206 docker/bash.sh: lookup docker image in Jenkinsfile. (#7453)
add fc48514 [BYOC][Verilator] Refactor Verilator runtime (#7406)
add 413692e Make spelling of "axes" consistent (#7460)
add 564aae0 [Relay][Topi] Add max mode to ROI align (#7440)
add e57e644 [ROCM] Add Thrust support (#7458)
add 173f3fc SparseFillEmptyRows Op (#7442)
add 77d2fe8 [Bugfix][Relay] Crash in match_exhaustion.cc when given an empty tuple pattern or constructor with no args (#7459)
add fe398bf Report JUnit test results for all TVM Python tests (#7450)
add 76647ca [ETHOSN] Add support for default Ethos-N78 configuration. (#6982)
add 143c88e debug operator--() in include/tvm/node/container.h (#7461)
add b7e0cfb [TOPI, Relay] Support roi_align NHWC layout (#7463)
add 84c4b15 Set TOpPattern=kOpaque for scatter_nd (#7464)
add 944d8d1 [RUNTIME] Fast path for single thread run to allow app level threading (#7454)
add 50e013d [Torch] Add index_put operator (#7465)
add b51973f [Relay][Bugfix] Fix off-by-one error in BiasAddRel, use new reporting (#7467)
add e204209 [AutoScheduler] Fix the type inference for conv3d (#7475)
add 256b9cf Get tvmc version from tvm (#7478)
add d16f282 [TVMC] Add composite target passes for compilation and tuning (#7304)
add 5688068 [Frontend][Tensorflow] Support explicit_paddings for TF 2.x (#7445)
add 5a0573b make test_runtime_rpc use pytest.main() (#7482)
add cfe88c1 [TIR] Specialize MutateArray in StmtFunctor. (#7486)
add 072c469 [CUDA][THRUST] Enforce -libs=thrust to allow thrust offload (#7468)
add d666b41 Fix cuda nms handling of additional per box features (#7483)
add 84359a9 Fixed minor misspelling (#7499)
add 794f6c6 [Target] Add target host field for target specification (#7462)
add a111803 [RELAY][Parser] Optimize relay parser to restore calls attrs (#7347)
add d94cbbb [Frontend]Make onnx gemm tensor C optional (#7489)
add 0ba3741 [CRT] Create C-runtime-style metadata module for llvm builds (#7398)
add 929717a Fix stack overflow when partially-__init__ Node raises exception. (#7481)
add e67f15b [COMMUNITY] @d-smirnov -> reviewer (#7510)
add d425c14 [Relay][Frontend][Onnx] Fix GEMM converter when C is not a parameter. (#7509)
add 086dbfe [AutoScheduler] Fix the type inference for conv2d (#7501)
add 9c5333e [TVMC] rename composite target "acl" to "compute-library" (#7508)
add 88a4fdd Support creating Bool constants in the pattern_utils (#7507)
add 7f86987 [Frontend][Tensorflow] Support range like axis in tf.raw_ops.All for TF 2.x (#7502)
add 1455536 [BYOC][VitisAI] Fix issue in Vitis AI codegen out tensor names matching & update docs and docker (#7350)
add 9e74f90 Support CombinedNMS in TF frontend. (#7520)
add fc6f08a [Frontend] TF V2 sparse.todense() test added (#7473)
add b77c019 [DOCS] Remove incubating from docs (#7525)
add 772fa6b [PYTHON] Enable proper error message in python package (#7521)
add b111695 Introduce module_loader to AutoTVM. (#7337)
add 43b15a8 Many fixes to get unit tests passing on Windows. (#7431)
add 6274a7f use checked_type instead of type_annotation (#7522)
add e664b2f [Torch] Avoid adding unnecessary slicing (#7479)
add 63ea8e1 [Relay] Enforce static dim for non-concat axis if one or more tensors have static dim (#7487)
add 09b0c8e [Frontend][Tensorflow] Add unique operator (#7441)
add c46b187 [Torch] Pool ops, convert strides and pool_size to int (#7517)
add 56ac892 SparseReshape Op (#7477)
add 5c5aea6 [BUG_FIX][TOPI] Allow topi resize to accept more options (#7532)
add 2d57470 [ONNX]fix datatype on Reciprocal op (#7519)
add 74ca8f0 [CI] Move ci-cpu to use llvm-11 (#7541)
add 0758337 Add create_local_debug_runtime to micro exports (#7528)
add f6d0fee Don't run non-tvm_op GraphRuntime nodes in Debug Runtime over RPC. (#7512)
add e7f0a11 Add test_forward_index_put to __main__ (#7542)
add 0bbc205 [torch] Add narrow operator (#7535)
add 22ba2c4 [Torch] Simplify contiguous (#7544)
add b1b3823 add missing equal sign (#7531)
add 485dfd6 Fix typo in relay.vm.Executable (#7543)
add 2673309 [Runtime] Special Memory Scope Support (#7488)
add 7a38c7f Couple of small fixes:
add 443a429 Adding Zephyr demo runtime.
add 280479a Cleanup of uTVM tests and demo runtime.
add b62ab38 Working on QEMU support.
add 853f01e Adding board-specific prj.conf files.
add 4b1da9a Some cleanup.
add 058985b Lots of hacking to get ONNX model to run on QEMU and nRF5340.
add fe2c9a1 Lots of hacking to get ONNX model to run on QEMU and nRF5340.
add 763017e Adding data for unit tests.
add df722b8 Cleanup demo_runtime code.
add 6645f50 Fix up tutorial.
add b6ae7cf Fix tutorial.
add 8934c19 Fix tutorial and runtime.
add 6a38dc9 Some docstring fixes.
add 82cee46 Couple of small fixes:
add 545a241 Adding Zephyr demo runtime.
add c611d30 Cleanup of uTVM tests and demo runtime.
add 28b92de Working on QEMU support.
add 123c64c Adding board-specific prj.conf files.
add bc87450 Some cleanup.
add 98f3475 Lots of hacking to get ONNX model to run on QEMU and nRF5340.
add a9ffc96 Adding data for unit tests.
add d249161 Cleanup demo_runtime code.
add d04e04d Fix up tutorial.
add ec5b004 Merge branch 'mdw/demo-runtime' of github.com:mdw-octoml/tvm into mdw/demo-runtime
add fbdc1cb Fix merge conflicts.
add ec2c374 Fix merge conflict.
add 2b14aa1 Remove redundant files.
add 0db2207 Revert dep.
add 687c09c Fixup
add bcce620 Add new files to check_file_type.py.
add f1260df Adding missing ONNX file.
add 599c5fb Fixup docs.
add c552fa9 Fix linting rule.
add 3271923 small fixes
add 51dc332 Fix foldconstant involving dropout (#7550)
add 057a673 [TensorIR] introduce Block and BlockRealize (#312) (#7553)
add a1d43c1 [Autoscheduler][VM] Autoscheduler layout rewrite pass to VM (#7516)
add 633ee11 fuse constant padding into conv kernels (#7515)
add 5d354e4 [Codegen][CUDA] Fix: cuda codegen vectorize cast (#7561)
add 08ea961 [Torch] Fix converting torch slice op with dynamic slice length (#7549)
add 3a02e0b [Pass] Profiling TVM compiler passes (#7500)
add cf36aa6 [TIR] Add TIR While node (#7425)
add 91b6b3f [RELAY] Modify some passes to not stack overflow on many lets. (#7558)
add 67bba90 [torch] Add linear operator support (#7569)
add 37053e1 [Tensorize] Support conds depend on outer loop vars inside tensorize scope (#7497)
add 296700e [CI][VitisAI] Update CI Vitis AI PyXIR version (#7575)
add dccc1ab [SPIR-V] Add SPIR-V lowering for While node (#7574)
add 25bf449 [Relay][Quantization] Fix Bug Which Cause Negative Left Shift Op (#7432)
add 1d5f334 [Relay][bugfix][error reporting] BiasAddRel does not check for a negative index being out of bounds (#7554)
add 980cf80 compile engine dump tir and shape funcs (#7552)
add 73a0b96 [RUNTIME] Move Map into runtime (#7570)
add 41c0591 [AutoSchedule] Fix a flaky test (#7580)
add 3f5f84d [AutoScheduler] Querying and sampling in task extraction (#7571)
add 66f9139 [DOCKER] Fix: install script regarding get-pip.py during docker build (#7579)
add 02a6483 [ETHOSN] Add support for 20.11 Ethos-N driver stack release (#7506)
add 6aae48b Fixes for using Python APIs from Rust. (#7085)
add 83ab234 Add segment sum Op to relay and 7 corresponding TF Ops , fix scatter_add dynamic bug (#7562)
add 3fbb0a3 [BYOC][TensorRT] Make TRT runtime robust to empty or weird subgraphs (#7581)
add d7f5753 [SPIRV] Support Bool buffer argument (#7591)
add d5cb3cb [PyTorch] Guarantee data input is the first argument (#7592)
add 61e799c [CI] Bump arm version (#7584)
add fb06fd8 Fix for dynamic batch size conv2d nhwc (#7598)
add b9adce2 [Frontend][MXNet] Fix default value for is_ascend in topk (#7568)
add c5f608f [BYOC][TRT]Fix groups cannot divide output channel count error for deconv when groups>1 (#7595)
add 5d5bbfb Support negative axis for gather (#7600)
add c0b9688 [Vulkan] Support passing 64 bit scalar (#7572)
add 7344b66 Fix autotuning, broken in #7337 (#7566)
add d6c0cea [RUNTIME] Add device specific timers (#7472)
add 1ae4697 [Relay][Pass] Avoid stack overflow when using PostOrderRewrite (#7588)
add 783be9d [TOPI] disable test_shift with i8 datatype (#7597)
add 0b4f669 [AutoSchedule] Sparse dense tuning support with custom sketch rule (#7313)
add 69c1c6d Move SimplifyConvPad to a new pass and don't enable it by default (#7603)
add 875f8ee [Executor][Bugfix] Properly return and unflatten outputs from GraphExecutor (#7604)
add 8aa2a7c [CUDA] BF16 support (#7014)
add 760e9b2 [Torch, QNN] Support quantized mobilenet v3 from torch 1.8 (#7606)
add cc7f8dc [TE] Fix bug in AutoInlineElemWise and implement AutoInlineBroadcast (#7602)
add ca303aa [Relay] add ShapeFunc for tanh (#6898)
add 8d1f5b2 [Relay] Fix relay op strategy for cuda dense int8 (#7586)
add 717c5e0 Add logging to diagnose flaky ci-qemu test (#7610)
add b827845 [Relay] add ShapeFunc for one_hot op (#7490)
add 89bafd5 [RUNTIME] Unify load params interface (#7559)
add a8d1055 [FIX] Fix clang12 warnings (#7593)
add d830f2c [Runtime][Object] Add Object::unique() (#7615)
add dfc231c [Bugfix][AutoScheduler] Correctly resume status (#7614)
add 8f9e5a4 Added MaybeAlign to CreateAtomicRMW calls to fix build for LLVM13 (#7617)
add 12c3b3d Prevent host Vulkan SDK blocking cross-compilation (#7609)
add a0656f5 [SPIRV] Minor update to TIR sort to make it work on VK/SPIR-V (#7607)
add 92ab9e4 Allow cuDNN in non-CUDA non-system dir (#7608)
add 85832a2 Fix RelayVM for 32-bit platforms (#7605)
add f3d9cc1 Fix TVM compile without LLVM (#7621)
add 3a0e3a5 [SPIR-V] Fix pushconstants offset calculation for 32 bit values (#7620)
add ee052dd Introduce Model Library Format export format (#7533)
add 8a9aebc [Runtime][Contrib][Verilator] remove explicit destructor call (#7485)
add a877d53 fix:getcwd not work on android platform (#7390)
add 6b1f180 Improve tensor mismatch ICHECK message (#7335)
add 829f44c [CUDA][TOPI] Fix CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES with NMS for certain GPUs (#7623)
add cf2abc8 Grammar fix (#7622)
add dd61b04 [TIR] Add PreOrderVisit and VisitPrimFuncs (#7627)
add c519863 [AutoScheduler] Fix incorrectly array context device and hide info at the beginning (#7632)
add df6fb69 [MIPS] Fix CALL16 reloc at 0x290 not against global symbol (#7634)
add 56feab9 [Test] Add Test Case to Cover Bug Fix by PR#7432 (#7601)
add f8596b5 [ONNX] Use take instead of min in NMS conditions (#7633)
add b2a3c48 [Ansor] Add HW param for Vulkan tuning (#7626)
add 017ff94 [TOPI] Sparse Add Op added (#7435)
add e9e014b [Relay][QNN] Simulated Quantize and Dequantize (#7613)
add 68b81ad Introduce Apple BNNS backend (#7299)
add 8d08b21 [PROFILING] Combine USE_VM_PROFILER and USE_GRAPH_RUNTIME_DEBUG into a single flag USE_PROFILER (#7637)
add 9d72bd0 [RUNTIME] Switch time evaluator to use device specific timing. (#7631)
add 1a50679 fix missing qparams in aten::upsample_nearest2d (#7646)
add b80e777 [docs] Getting Started with TVM: Auto Scheduler and matmul (#7644)
add fe25b9e [TVMC] Allow options on --target to contain dots. (#7651)
add 692da0a [docker] fixed ci-gpu docker environment path typo. (#7648)
add 3beec22 Fix issue when group attribute isnt defined in convtranspose. (#7655)
add 1878889 revert SET_LLVM flag (#7657)
add d373d25 fix build break for android_rpc (#7664)
add 10f5d17 [TVMC] Refactoring to document the --target regex and simplify test cases (#7654)
add 5bd78b3 [TVMC] Fix to check whether a path passed to --target is strictly a file (#7663)
add 67f8397 Fixed strided_slice size (#7659)
add 068fed9 Remove pytest dependency in arm_compute_lib.py (#7556)
add 7f96986 [Relay][Pass] Simplify consecutive transpose/layout_transform (#7656)
add 348d4e7 init the concat tensor with 1s and then slice them away (#7666)
add d288bbc [TOPI][GPU] Mergepath sort with odd-even block sort (#7611)
add 343b689 [docs] Getting Started with TVM: TVMC Tutorial (#7640)
add 0bb5d85 Merge remote-tracking branch 'upstream/main' into mdw/demo-runtime
add f672577 Add missing file to check_file_type.py.
add 12cdd03 clang-format this file.
add a87f3e8 Fix formatting.
add f2b665b Black formatting.
add 65f0b4e Lint comments.
add 37e0bce Fix path for test.
new f0796a6 add ci-qemu-staging
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 (6a77cdd)
\
N -- N -- N refs/heads/ci-docker-staging (f0796a6)
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:
3rdparty/dmlc-core | 2 +-
3rdparty/vta-hw | 2 +-
CMakeLists.txt | 44 +-
CONTRIBUTORS.md | 1 +
DISCLAIMER | 12 -
Jenkinsfile | 4 +-
NOTICE | 4 +-
README.md | 4 +-
apps/android_camera/models/prepare_model.py | 2 +-
apps/android_rpc/app/src/main/jni/tvm_runtime.h | 1 +
apps/bundle_deploy/Makefile | 19 +-
apps/bundle_deploy/build_model.py | 31 +-
apps/bundle_deploy/runtime.cc | 1 +
apps/cpp_rpc/CMakeLists.txt | 15 +-
apps/cpp_rpc/rpc_env.cc | 8 +-
apps/cpp_rpc/rpc_server.cc | 4 +-
apps/microtvm/README.md | 17 +-
.../{reference-vm/zephyr => }/pyproject.toml | 10 +-
apps/microtvm/{ => zephyr}/README.md | 11 +-
.../microtvm/zephyr/demo_runtime}/CMakeLists.txt | 1 -
apps/microtvm/{ => zephyr/demo_runtime}/README.md | 15 +-
.../boards/nrf5340dk_nrf5340_cpuapp.conf | 21 +-
.../zephyr/demo_runtime/boards/nucleo_f746zg.conf | 20 +-
.../zephyr/demo_runtime/boards/qemu_x86.conf | 13 +-
.../microtvm/zephyr/demo_runtime}/crt/crt_config.h | 2 +-
.../microtvm/zephyr/demo_runtime}/prj.conf | 7 +-
.../demo_runtime}/qemu-hack/qemu-system-i386 | 0
.../microtvm/zephyr/demo_runtime}/src/main.c | 225 +--
apps/sgx/src/build_model.py | 4 +-
apps/topi_recipe/gemm/cuda_gemm_square.py | 1 +
.../wasm-graph/tools/build_graph_lib.py | 4 +-
cmake/config.cmake | 17 +-
cmake/modules/CUDA.cmake | 5 +-
cmake/modules/LibInfo.cmake | 1 +
cmake/modules/ROCM.cmake | 17 +
cmake/modules/StandaloneCrt.cmake | 8 +-
cmake/modules/Vulkan.cmake | 7 +-
.../modules/contrib/BNNS.cmake | 20 +-
cmake/utils/FindCUDA.cmake | 44 +-
cmake/utils/FindEthosN.cmake | 3 +-
cmake/utils/FindLLVM.cmake | 2 +-
conda/build-environment.yaml | 1 +
docker/Dockerfile.ci_arm | 2 +-
docker/Dockerfile.ci_gpu | 4 +-
docker/Dockerfile.ci_qemu | 4 +
docker/Dockerfile.demo_vitis_ai | 9 +-
docker/bash.sh | 12 +-
docker/dev_common.sh | 32 +-
docker/install/ubuntu_install_python.sh | 2 +-
docker/install/ubuntu_install_vitis_ai_core.sh | 12 +-
.../install/ubuntu_install_vitis_ai_packages_ci.sh | 4 +-
docker/install/ubuntu_install_zephyr.sh | 69 +-
docs/conf.py | 5 +-
docs/deploy/android.rst | 2 +-
docs/deploy/bnns.rst | 183 +++
docs/deploy/index.rst | 1 +
docs/deploy/vitis_ai.rst | 95 +-
docs/microtvm/index.rst | 2 +-
golang/sample/gen_mobilenet_lib.py | 4 +-
include/tvm/arith/bound.h | 2 +-
include/tvm/arith/pattern.h | 2 +-
include/tvm/auto_scheduler/measure_record.h | 2 +-
include/tvm/auto_scheduler/search_task.h | 8 +-
include/tvm/ir/adt.h | 2 +-
include/tvm/ir/attrs.h | 2 +-
include/tvm/ir/expr.h | 2 +-
include/tvm/ir/module.h | 2 +-
include/tvm/ir/transform.h | 14 +-
include/tvm/ir/type.h | 2 +-
include/tvm/node/attr_registry_map.h | 2 +-
include/tvm/node/container.h | 1486 --------------------
include/tvm/node/node.h | 1 -
include/tvm/node/structural_equal.h | 2 +-
include/tvm/node/structural_hash.h | 2 +-
include/tvm/relay/attrs/transform.h | 14 +-
include/tvm/relay/attrs/vision.h | 3 +
include/tvm/relay/expr_functor.h | 3 +-
include/tvm/relay/feature.h | 2 +-
include/tvm/relay/qnn/attrs.h | 12 +
include/tvm/runtime/c_runtime_api.h | 35 +-
include/tvm/runtime/container.h | 1408 +++++++++++++++++++
include/tvm/runtime/data_type.h | 9 +-
include/tvm/runtime/device_api.h | 42 +-
include/tvm/runtime/ndarray.h | 7 +-
include/tvm/runtime/object.h | 26 +-
include/tvm/runtime/packed_func.h | 36 +-
include/tvm/runtime/profiling.h | 150 ++
include/tvm/target/target.h | 15 +-
include/tvm/target/target_kind.h | 3 +-
include/tvm/te/schedule_pass.h | 7 +
include/tvm/te/tensor.h | 2 +-
include/tvm/tir/analysis.h | 16 +
include/tvm/tir/buffer.h | 2 +-
include/tvm/tir/expr.h | 2 +-
include/tvm/tir/stmt.h | 299 +++-
include/tvm/tir/stmt_functor.h | 23 +-
include/tvm/topi/detail/constant_utils.h | 11 +-
include/tvm/topi/einsum.h | 2 +-
include/tvm/topi/transform.h | 3 +
nnvm/src/core/symbolic.cc | 4 +-
python/tvm/__init__.py | 7 +-
python/tvm/_ffi/_ctypes/object.py | 7 +-
python/tvm/auto_scheduler/__init__.py | 1 +
python/tvm/auto_scheduler/cost_model/xgb_model.py | 4 +-
python/tvm/auto_scheduler/feature.py | 2 +-
python/tvm/auto_scheduler/measure.py | 174 ++-
python/tvm/auto_scheduler/relay_integration.py | 14 +-
python/tvm/auto_scheduler/search_task.py | 191 ++-
python/tvm/auto_scheduler/task_scheduler.py | 4 +-
python/tvm/auto_scheduler/utils.py | 3 +
python/tvm/autotvm/measure/__init__.py | 8 +-
python/tvm/autotvm/measure/measure_methods.py | 148 +-
python/tvm/contrib/cc.py | 9 +-
python/tvm/contrib/debugger/debug_result.py | 6 +-
python/tvm/contrib/nvcc.py | 63 +-
python/tvm/contrib/target/vitis_ai.py | 6 +-
python/tvm/contrib/thrust.py | 45 +
python/tvm/driver/build_module.py | 21 +-
python/tvm/driver/tvmc/autotuner.py | 9 +-
python/tvm/driver/tvmc/common.py | 205 ++-
python/tvm/driver/tvmc/compiler.py | 27 +-
python/tvm/driver/tvmc/composite_target.py | 73 +
python/tvm/driver/tvmc/frontends.py | 48 +-
python/tvm/driver/tvmc/main.py | 5 +-
python/tvm/driver/tvmc/runner.py | 7 +-
python/tvm/ir/container.py | 14 +-
python/tvm/ir/transform.py | 23 +
python/tvm/micro/__init__.py | 12 +-
python/tvm/micro/build.py | 174 ++-
python/tvm/micro/compiler.py | 11 +-
python/tvm/micro/contrib/zephyr.py | 32 +-
python/tvm/micro/model_library_format.py | 171 +++
python/tvm/relay/analysis/analysis.py | 6 +-
python/tvm/relay/analysis/annotated_regions.py | 2 +-
python/tvm/relay/analysis/call_graph.py | 4 +-
python/tvm/relay/backend/compile_engine.py | 33 +
python/tvm/relay/backend/graph_runtime_factory.py | 14 +-
python/tvm/relay/build_module.py | 60 +-
python/tvm/relay/frontend/__init__.py | 3 -
python/tvm/relay/frontend/common.py | 6 +
python/tvm/relay/frontend/coreml.py | 2 +-
python/tvm/relay/frontend/mxnet.py | 16 +-
python/tvm/relay/frontend/onnx.py | 238 ++--
python/tvm/relay/frontend/pytorch.py | 205 ++-
python/tvm/relay/frontend/pytorch_utils.py | 6 +-
python/tvm/relay/frontend/qnn_torch.py | 35 +
python/tvm/relay/frontend/tensorflow.py | 393 +++++-
python/tvm/relay/frontend/tflite.py | 52 +-
python/tvm/relay/op/_tensor.py | 1 +
python/tvm/relay/op/_transform.py | 167 ++-
python/tvm/relay/op/contrib/__init__.py | 1 +
python/tvm/relay/op/contrib/arm_compute_lib.py | 39 +-
python/tvm/relay/op/contrib/bnns.py | 327 +++++
python/tvm/relay/op/contrib/ethosn.py | 35 +
python/tvm/relay/op/contrib/vitis_ai.py | 4 +
python/tvm/relay/op/image/image.py | 4 +-
python/tvm/relay/op/nn/_nn.py | 5 +
python/tvm/relay/op/nn/nn.py | 63 +-
python/tvm/relay/op/strategy/cuda.py | 65 +-
python/tvm/relay/op/strategy/generic.py | 118 +-
python/tvm/relay/op/strategy/rocm.py | 85 ++
python/tvm/relay/op/strategy/x86.py | 19 +-
python/tvm/relay/op/tensor.py | 6 +-
python/tvm/relay/op/transform.py | 257 +++-
python/tvm/relay/op/vision/_vision.py | 17 +-
python/tvm/relay/op/vision/rcnn.py | 7 +-
python/tvm/relay/param_dict.py | 28 +-
python/tvm/relay/qnn/op/__init__.py | 2 +-
python/tvm/relay/qnn/op/_qnn.py | 52 +
python/tvm/relay/qnn/op/qnn.py | 72 +-
python/tvm/relay/testing/resnet.py | 2 +-
python/tvm/relay/testing/resnet_3d.py | 2 +-
python/tvm/relay/transform/transform.py | 32 +-
python/tvm/runtime/__init__.py | 1 +
python/tvm/runtime/module.py | 28 +-
python/tvm/runtime/ndarray.py | 42 +-
python/tvm/runtime/object.py | 3 +
python/tvm/runtime/object_generic.py | 4 +-
.../tvm/{relay/param_dict.py => runtime/params.py} | 23 +-
python/tvm/runtime/vm.py | 4 +-
python/tvm/target/target.py | 37 +-
python/tvm/te/hybrid/calls.py | 14 +
python/tvm/te/hybrid/runtime.py | 10 +
python/tvm/tir/__init__.py | 1 +
python/tvm/tir/ir_builder.py | 29 +
python/tvm/tir/stmt.py | 189 ++-
python/tvm/tir/transform/function_pass.py | 2 +-
python/tvm/topi/__init__.py | 3 +
python/tvm/topi/arm_cpu/depthwise_conv2d.py | 2 +-
python/tvm/topi/cuda/__init__.py | 4 +-
python/tvm/topi/cuda/batch_matmul_tensorcore.py | 2 +-
python/tvm/topi/cuda/conv2d_nhwc.py | 4 +-
python/tvm/topi/cuda/dense.py | 25 +-
python/tvm/topi/cuda/nms.py | 102 +-
python/tvm/topi/cuda/rcnn/proposal.py | 2 +-
python/tvm/topi/cuda/scan.py | 14 +-
python/tvm/topi/cuda/scatter.py | 3 +-
python/tvm/topi/cuda/sort.py | 619 +++++---
python/tvm/topi/cuda/sparse_reshape.py | 209 +++
python/tvm/topi/cuda/unique.py | 396 ++++++
python/tvm/topi/generic/search.py | 20 +
python/tvm/topi/image/resize.py | 6 +-
python/tvm/topi/nn/__init__.py | 1 +
python/tvm/topi/nn/batch_matmul.py | 2 +-
python/tvm/topi/nn/qnn.py | 190 +++
python/tvm/topi/nn/sparse.py | 187 ++-
python/tvm/topi/random/kernel.py | 2 +-
python/tvm/topi/scatter_add.py | 40 +-
python/tvm/topi/sparse_fill_empty_rows.py | 109 ++
python/tvm/topi/sparse_reshape.py | 185 +++
python/tvm/topi/testing/__init__.py | 2 +-
python/tvm/topi/testing/roi_align_python.py | 155 +-
python/tvm/topi/testing/strided_slice_python.py | 4 +-
python/tvm/topi/unique.py | 297 ++++
python/tvm/topi/utils.py | 2 +-
python/tvm/topi/vision/rcnn/proposal.py | 2 +-
python/tvm/topi/vision/rcnn/roi_align.py | 194 ++-
python/tvm/topi/x86/batch_matmul.py | 6 +-
python/tvm/topi/x86/conv2d_avx_1x1.py | 2 +-
python/tvm/topi/x86/roi_align.py | 47 +-
rust/tvm-graph-rt/src/graph.rs | 2 +-
rust/tvm-graph-rt/tests/build_model.py | 4 +-
.../tests/test_nn/src/build_test_graph.py | 4 +-
rust/tvm-rt/README.md | 4 +-
rust/tvm-rt/src/array.rs | 8 +-
rust/tvm-rt/src/lib.rs | 28 +-
rust/tvm-rt/src/map.rs | 24 +-
rust/tvm-rt/src/module.rs | 58 +-
rust/tvm-rt/src/object/object_ptr.rs | 13 +-
rust/tvm-rt/src/to_function.rs | 1 +
rust/tvm-rt/src/value.rs | 106 --
rust/tvm/Cargo.toml | 3 +-
rust/tvm/README.md | 233 +--
rust/tvm/examples/resnet/src/build_resnet.py | 4 +-
rust/tvm/src/compiler/graph_rt.rs | 124 ++
rust/tvm/src/{ir/function.rs => compiler/mod.rs} | 28 +-
rust/tvm/src/ir/diagnostics/mod.rs | 2 +-
rust/tvm/src/ir/expr.rs | 12 +-
rust/tvm/src/ir/function.rs | 10 +-
rust/tvm/src/ir/module.rs | 4 +-
rust/tvm/src/ir/relay/mod.rs | 85 +-
rust/tvm/src/ir/tir.rs | 7 +-
rust/tvm/src/ir/ty.rs | 19 +-
rust/tvm/src/lib.rs | 4 +-
rust/tvm/src/python.rs | 24 +-
rust/tvm/src/runtime/graph_rt.rs | 12 +-
rust/tvm/tests/basics/src/main.rs | 5 +-
rust/tvm/tests/basics/src/tvm_add.py | 1 -
src/auto_scheduler/feature.cc | 9 +-
src/auto_scheduler/measure_record.cc | 34 +
src/auto_scheduler/search_policy/sketch_policy.cc | 2 +-
src/auto_scheduler/search_policy/utils.cc | 16 +
src/auto_scheduler/search_task.cc | 30 +-
src/ir/transform.cc | 157 +++
src/node/container.cc | 363 -----
src/node/reflection.cc | 2 +-
src/node/serialization.cc | 2 +-
src/node/structural_hash.cc | 238 ++++
src/parser/parser.cc | 22 +-
src/printer/meta_data.h | 2 +-
src/printer/relay_text_printer.cc | 5 +
src/printer/text_printer.h | 1 +
src/printer/tir_text_printer.cc | 7 +
src/relay/analysis/match_exhaustion.cc | 15 +-
src/relay/backend/compile_engine.cc | 18 +
src/relay/backend/contrib/bnns/codegen.cc | 215 +++
.../backend/contrib/codegen_json/codegen_json.h | 1 -
src/relay/backend/contrib/ethosn/capabilities.h | 50 +-
src/relay/backend/contrib/ethosn/codegen.cc | 192 ++-
src/relay/backend/contrib/ethosn/codegen_ethosn.h | 20 +-
src/relay/backend/contrib/ethosn/ethosn_api.cc | 116 --
.../backend/contrib/ethosn/ethosn_api_version.h | 8 +-
src/relay/backend/contrib/tensorrt/codegen.cc | 3 +
src/relay/backend/contrib/verilator/codegen.cc | 56 +-
src/relay/backend/param_dict.cc | 70 +-
src/relay/backend/param_dict.h | 27 +-
src/relay/backend/vm/compiler.cc | 53 +-
src/relay/backend/vm/compiler.h | 3 +-
src/relay/backend/vm/inline_primitives.cc | 15 +-
src/relay/backend/vm/lambda_lift.cc | 35 +-
src/relay/ir/dataflow_matcher.cc | 2 +-
src/relay/ir/expr_functor.cc | 30 +
src/relay/ir/indexed_graph.cc | 4 +-
src/relay/op/make_op.h | 2 +
src/relay/op/nn/convolution.h | 27 +-
src/relay/op/nn/nn.cc | 12 +-
src/relay/op/nn/nn.h | 2 +-
src/relay/op/nn/sparse.cc | 41 +
src/relay/op/tensor/transform.cc | 151 +-
src/relay/op/tensor/transform.h | 69 +-
src/relay/op/vision/rcnn_op.cc | 3 +-
src/relay/qnn/op/dequantize.cc | 9 +-
src/relay/qnn/op/quantize.cc | 13 +-
src/relay/qnn/op/simulated_dequantize.cc | 80 ++
src/relay/qnn/op/simulated_quantize.cc | 82 ++
src/relay/quantize/realize.cc | 2 +-
src/relay/transforms/dead_code.cc | 48 +-
src/relay/transforms/fold_constant.cc | 2 +
src/relay/transforms/fold_explicit_padding.cc | 207 +++
src/relay/transforms/partition_graph.cc | 2 +-
src/relay/transforms/pattern_utils.h | 3 +
src/relay/transforms/simplify_expr.cc | 94 ++
src/runtime/c_runtime_api.cc | 66 +-
src/runtime/container.cc | 95 ++
src/runtime/contrib/bnns/bnns_json_runtime.cc | 573 ++++++++
src/runtime/contrib/bnns/bnns_wrp.h | 495 +++++++
src/runtime/contrib/cublas/cublas.cc | 4 +-
src/runtime/contrib/cublas/cublas_utils.cc | 2 +-
src/runtime/contrib/json/json_runtime.h | 6 +-
src/runtime/contrib/tensorrt/tensorrt_builder.cc | 8 +
src/runtime/contrib/tensorrt/tensorrt_ops.cc | 12 +-
src/runtime/contrib/thrust/thrust.cu | 1 +
src/runtime/contrib/verilator/verilator_device.h | 39 +-
src/runtime/contrib/verilator/verilator_runtime.cc | 197 +--
src/runtime/contrib/verilator/verilator_runtime.h | 138 ++
src/runtime/cpu_device_api.cc | 13 +-
src/runtime/crt/common/crt_runtime_api.c | 39 +-
src/runtime/cuda/cuda_device_api.cc | 38 +
src/runtime/file_utils.cc | 68 +
src/runtime/file_utils.h | 28 +
src/runtime/graph/debug/graph_runtime_debug.cc | 40 +-
src/runtime/graph/graph_runtime.cc | 31 +-
src/runtime/graph/graph_runtime.h | 3 -
src/runtime/graph/graph_runtime_factory.cc | 5 +-
src/runtime/hexagon/hexagon_device_api.cc | 8 +-
src/runtime/metadata_module.cc | 2 +-
src/runtime/metal/metal_common.h | 8 +-
src/runtime/metal/metal_module.mm | 4 +-
src/runtime/micro/micro_session.cc | 2 +-
src/runtime/minrpc/minrpc_server.h | 137 +-
src/runtime/minrpc/rpc_reference.h | 76 +-
src/runtime/module.cc | 2 +-
src/runtime/ndarray.cc | 65 +-
src/runtime/opencl/opencl_common.h | 8 +-
src/runtime/pack_args.h | 36 +-
src/runtime/profiling.cc | 97 ++
src/runtime/rocm/rocm_device_api.cc | 37 +
src/runtime/rpc/rpc_device_api.cc | 63 +-
src/runtime/rpc/rpc_endpoint.cc | 201 +--
src/runtime/rpc/rpc_endpoint.h | 6 +-
src/runtime/rpc/rpc_local_session.cc | 40 +-
src/runtime/rpc/rpc_local_session.h | 6 +-
src/runtime/rpc/rpc_module.cc | 16 +-
src/runtime/rpc/rpc_session.cc | 15 +-
src/runtime/rpc/rpc_session.h | 43 +-
src/runtime/thread_pool.cc | 31 +-
src/runtime/vm/executable.cc | 12 +-
src/runtime/vm/profiler/vm.cc | 25 +-
src/runtime/vm/profiler/vm.h | 3 +-
src/runtime/vm/serialize_utils.h | 9 +-
src/runtime/vm/vm.cc | 2 +
src/runtime/vulkan/vulkan.cc | 41 +-
src/support/libinfo.cc | 9 +-
src/support/utils.h | 9 +
src/target/llvm/codegen_amdgpu.cc | 12 +
src/target/llvm/codegen_cpu.cc | 92 +-
src/target/llvm/codegen_cpu.h | 6 +
src/target/llvm/codegen_llvm.cc | 14 +
src/target/llvm/codegen_llvm.h | 1 +
src/target/llvm/codegen_nvptx.cc | 12 +
src/target/llvm/llvm_module.cc | 53 +
.../function.rs => src/target/llvm/llvm_module.h | 52 +-
src/target/metadata_module.cc | 140 ++
.../runtime.cc => src/target/metadata_module.h | 43 +-
src/target/source/codegen_c.cc | 11 +-
src/target/source/codegen_c.h | 1 +
src/target/source/codegen_c_host.cc | 1 +
src/target/source/codegen_cuda.cc | 257 +++-
src/target/source/codegen_cuda.h | 4 +-
src/target/source/codegen_metal.cc | 7 +-
src/target/source/codegen_source_base.h | 5 +-
src/target/source/intrin_rule_cuda.cc | 2 +
src/target/source/literal/cuda_half_t.h | 24 +
src/target/source/source_module.cc | 88 +-
.../target/source/source_module.h | 41 +-
src/target/spirv/codegen_spirv.cc | 52 +-
src/target/spirv/codegen_spirv.h | 1 +
src/target/spirv/intrin_rule_spirv.cc | 6 +
src/target/spirv/ir_builder.cc | 9 +-
src/target/target.cc | 29 +-
src/target/target_kind.cc | 1 -
src/te/operation/op_utils.cc | 8 +
src/te/operation/op_utils.h | 10 +-
src/te/operation/tensorize.cc | 6 +-
src/te/schedule/auto_inline_elem_wise.cc | 16 +-
src/te/tensor.cc | 2 +-
src/tir/ir/functor_common.h | 15 +-
src/tir/ir/stmt.cc | 251 ++++
src/tir/ir/stmt_functor.cc | 225 ++-
src/tir/transforms/coproc_sync.cc | 5 +
src/tir/transforms/hoist_if_then_else.cc | 2 +-
src/tir/transforms/inject_virtual_thread.cc | 7 +
src/tir/transforms/lift_attr_scope.cc | 6 +
src/tir/transforms/make_packed_api.cc | 2 +-
src/tir/transforms/storage_access.cc | 17 +
src/tir/transforms/storage_access.h | 1 +
src/tir/transforms/storage_rewrite.cc | 16 +-
src/tir/transforms/vectorize_loop.cc | 7 +-
tests/cpp/contrib/bnns.cc | 307 ++++
tests/cpp/ir_functor_test.cc | 94 ++
.../src/ir/function.rs => tests/cpp/profiling.cc | 43 +-
tests/lint/check_file_type.py | 13 +-
tests/micro/qemu/.gitignore | 2 -
tests/micro/qemu/zephyr-runtime/.gitignore | 3 -
{apps/microtvm => tests/micro/zephyr}/README.md | 28 +-
tests/micro/{qemu => zephyr}/conftest.py | 3 +
tests/micro/{qemu => zephyr}/test_zephyr.py | 69 +-
tests/micro/zephyr/testdata/digit-2.jpg | Bin 0 -> 572 bytes
tests/micro/zephyr/testdata/digit-9.jpg | Bin 0 -> 535 bytes
tests/micro/zephyr/testdata/mnist-8.onnx | Bin 0 -> 26454 bytes
tests/python/conftest.py | 42 +
.../contrib/test_bnns/__init__.py} | 7 +-
tests/python/contrib/test_bnns/infrastructure.py | 330 +++++
tests/python/contrib/test_bnns/test_conv2d.py | 177 +++
.../contrib/test_bnns/test_conv2d_patterns.py | 107 ++
tests/python/contrib/test_bnns/test_dense.py | 190 +++
tests/python/contrib/test_bnns/test_matmul.py | 113 ++
.../python/contrib/test_bnns/test_normalization.py | 201 +++
.../contrib/test_bnns/test_onnx_topologies.py | 140 ++
tests/python/contrib/test_bnns/test_pooling.py | 289 ++++
tests/python/contrib/test_ethosn/infrastructure.py | 9 +-
tests/python/contrib/test_ethosn/test_networks.py | 26 +
tests/python/contrib/test_ethosn/test_reshape.py | 4 +-
tests/python/contrib/test_tensorrt.py | 46 +-
tests/python/contrib/test_thrust.py | 149 +-
.../contrib/test_verilator/infrastructure.py | 6 +-
tests/python/driver/tvmc/test_compiler.py | 47 +-
tests/python/driver/tvmc/test_composite_target.py | 62 +
tests/python/driver/tvmc/test_frontends.py | 1 +
.../tvmc/{test_common.py => test_tvmc_common.py} | 106 ++
tests/python/frontend/mxnet/model_zoo/resnet.py | 2 +-
tests/python/frontend/mxnet/test_forward.py | 57 +-
tests/python/frontend/onnx/test_forward.py | 142 +-
tests/python/frontend/pytorch/qnn_test.py | 44 +-
tests/python/frontend/pytorch/test_forward.py | 158 ++-
tests/python/frontend/tensorflow/test_forward.py | 854 ++++++++++-
tests/python/integration/test_tuning.py | 244 ++--
tests/python/relay/dyn/test_dynamic_op_level3.py | 168 ++-
tests/python/relay/test_any.py | 43 +
...test_auto_scheduler_layout_rewrite_networks.py} | 0
tests/python/relay/test_autotvm_task_extraction.py | 21 +
tests/python/relay/test_backend_graph_runtime.py | 21 +
tests/python/relay/test_cpp_build_module.py | 4 +-
tests/python/relay/test_ir_parser.py | 39 +
tests/python/relay/test_op_grad_level3.py | 2 +-
tests/python/relay/test_op_level1.py | 14 +
tests/python/relay/test_op_level3.py | 687 +++++++--
tests/python/relay/test_op_level5.py | 151 +-
tests/python/relay/test_op_level6.py | 9 +-
tests/python/relay/test_op_qnn_dequantize.py | 2 +-
tests/python/relay/test_op_qnn_quantize.py | 2 +-
.../relay/test_op_qnn_simulated_dequantize.py | 177 +++
.../python/relay/test_op_qnn_simulated_quantize.py | 178 +++
tests/python/relay/test_param_dict.py | 8 +-
tests/python/relay/test_pass_auto_quantize.py | 34 +
tests/python/relay/test_pass_fold_constant.py | 26 +-
.../relay/test_pass_fold_explicit_padding.py | 102 ++
.../python/relay/test_pass_profiler.py | 37 +-
tests/python/relay/test_pass_simplify_expr.py | 62 +-
tests/python/relay/test_pass_unmatched_cases.py | 46 +
tests/python/relay/test_vm.py | 4 +
tests/python/topi/python/test_topi_broadcast.py | 2 +-
tests/python/topi/python/test_topi_cumsum.py | 7 +
tests/python/topi/python/test_topi_image.py | 20 +-
tests/python/topi/python/test_topi_qnn.py | 157 +++
tests/python/topi/python/test_topi_sort.py | 6 +-
tests/python/topi/python/test_topi_sparse.py | 28 +
tests/python/topi/python/test_topi_unique.py | 111 ++
tests/python/topi/python/test_topi_vision.py | 29 +-
.../unittest/test_auto_scheduler_cost_model.py | 13 +-
.../unittest/test_auto_scheduler_layout_rewrite.py | 5 +-
.../python/unittest/test_auto_scheduler_measure.py | 65 +-
.../unittest/test_auto_scheduler_search_task.py | 207 +++
tests/python/unittest/test_crt.py | 50 +-
tests/python/unittest/test_custom_datatypes.py | 15 +-
tests/python/unittest/test_link_params.py | 43 +-
tests/python/unittest/test_micro_artifact.py | 3 +
.../unittest/test_micro_model_library_format.py | 190 +++
tests/python/unittest/test_runtime_graph.py | 6 +-
.../test_runtime_module_based_interface.py | 10 +-
tests/python/unittest/test_runtime_rpc.py | 28 +-
tests/python/unittest/test_target_codegen_cuda.py | 80 +-
tests/python/unittest/test_target_codegen_llvm.py | 28 +-
tests/python/unittest/test_target_codegen_spirv.py | 109 ++
tests/python/unittest/test_target_codegen_x86.py | 21 +-
tests/python/unittest/test_target_target.py | 75 +-
tests/python/unittest/test_te_schedule_ops.py | 60 +-
.../python/unittest/test_te_schedule_tensorize.py | 57 +-
tests/python/unittest/test_tir_ir_builder.py | 328 +++++
tests/python/unittest/test_tir_nodes.py | 82 ++
.../unittest/test_tir_transform_storage_rewrite.py | 71 +
.../unittest/test_tir_transform_vectorize.py | 48 +
tests/scripts/setup-pytest-env.sh | 2 +-
tests/scripts/task_ci_setup.sh | 5 +
tests/scripts/task_config_build_arm.sh | 3 +-
tests/scripts/task_config_build_cpu.sh | 5 +-
tests/scripts/task_config_build_gpu.sh | 3 +-
tests/scripts/task_config_build_gpu_vulkan.sh | 3 +-
tests/scripts/task_config_build_i386.sh | 3 +-
tests/scripts/task_config_build_wasm.sh | 3 +-
tests/scripts/task_python_ethosn_tests.sh | 4 +
tests/scripts/task_python_integration.sh | 3 +
tests/scripts/task_python_microtvm.sh | 3 +-
tutorials/auto_scheduler/ci_logs/sparse_dense.json | 2 +
tutorials/auto_scheduler/tune_sparse_x86.py | 339 +++++
tutorials/frontend/deploy_sparse.py | 4 +-
tutorials/frontend/deploy_ssd_gluoncv.py | 4 +
tutorials/frontend/from_tflite.py | 2 +-
.../tune_matmul_x86.py | 136 +-
tutorials/get_started/tvmc_command_line_driver.py | 552 +++++---
tutorials/language/schedule_primitives.py | 14 +-
tutorials/micro/micro_onnx.py | 213 +++
tutorials/micro/micro_tflite.py | 26 +-
vta/python/vta/__init__.py | 1 +
vta/python/vta/autotvm.py | 52 +
vta/tutorials/autotvm/tune_relay_vta.py | 1 +
web/emcc/tvmjs_support.cc | 44 +-
web/emcc/webgpu_runtime.cc | 2 +
518 files changed, 23412 insertions(+), 5871 deletions(-)
delete mode 100644 DISCLAIMER
rename apps/microtvm/{reference-vm/zephyr => }/pyproject.toml (95%)
copy apps/microtvm/{ => zephyr}/README.md (63%)
rename {tests/micro/qemu/zephyr-runtime => apps/microtvm/zephyr/demo_runtime}/CMakeLists.txt (99%)
copy apps/microtvm/{ => zephyr/demo_runtime}/README.md (63%)
copy tests/scripts/task_python_ethosn_tests.sh => apps/microtvm/zephyr/demo_runtime/boards/nrf5340dk_nrf5340_cpuapp.conf (71%)
mode change 100755 => 100644
copy tests/scripts/task_python_ethosn_tests.sh => apps/microtvm/zephyr/demo_runtime/boards/nucleo_f746zg.conf (74%)
mode change 100755 => 100644
copy tests/scripts/task_python_microtvm.sh => apps/microtvm/zephyr/demo_runtime/boards/qemu_x86.conf (78%)
mode change 100755 => 100644
rename {tests/micro/qemu/zephyr-runtime => apps/microtvm/zephyr/demo_runtime}/crt/crt_config.h (98%)
rename {tests/micro/qemu/zephyr-runtime => apps/microtvm/zephyr/demo_runtime}/prj.conf (87%)
rename {tests/micro/qemu/zephyr-runtime => apps/microtvm/zephyr/demo_runtime}/qemu-hack/qemu-system-i386 (100%)
rename {tests/micro/qemu/zephyr-runtime => apps/microtvm/zephyr/demo_runtime}/src/main.c (56%)
copy tests/scripts/task_python_ethosn_tests.sh => cmake/modules/contrib/BNNS.cmake (61%)
mode change 100755 => 100644
create mode 100644 docs/deploy/bnns.rst
delete mode 100644 include/tvm/node/container.h
create mode 100644 include/tvm/runtime/profiling.h
create mode 100644 python/tvm/contrib/thrust.py
create mode 100644 python/tvm/driver/tvmc/composite_target.py
create mode 100644 python/tvm/micro/model_library_format.py
create mode 100644 python/tvm/relay/op/contrib/bnns.py
create mode 100644 python/tvm/relay/qnn/op/_qnn.py
copy python/tvm/{relay/param_dict.py => runtime/params.py} (76%)
create mode 100644 python/tvm/topi/cuda/sparse_reshape.py
create mode 100644 python/tvm/topi/cuda/unique.py
create mode 100644 python/tvm/topi/nn/qnn.py
create mode 100644 python/tvm/topi/sparse_fill_empty_rows.py
create mode 100644 python/tvm/topi/sparse_reshape.py
create mode 100644 python/tvm/topi/unique.py
delete mode 100644 rust/tvm-rt/src/value.rs
create mode 100644 rust/tvm/src/compiler/graph_rt.rs
copy rust/tvm/src/{ir/function.rs => compiler/mod.rs} (58%)
delete mode 100644 src/node/container.cc
create mode 100644 src/relay/backend/contrib/bnns/codegen.cc
create mode 100644 src/relay/qnn/op/simulated_dequantize.cc
create mode 100644 src/relay/qnn/op/simulated_quantize.cc
create mode 100644 src/relay/transforms/fold_explicit_padding.cc
create mode 100644 src/runtime/contrib/bnns/bnns_json_runtime.cc
create mode 100644 src/runtime/contrib/bnns/bnns_wrp.h
create mode 100644 src/runtime/contrib/verilator/verilator_runtime.h
create mode 100644 src/runtime/profiling.cc
copy rust/tvm/src/ir/function.rs => src/target/llvm/llvm_module.h (58%)
create mode 100644 src/target/metadata_module.cc
copy apps/bundle_deploy/runtime.cc => src/target/metadata_module.h (55%)
copy apps/bundle_deploy/runtime.cc => src/target/source/source_module.h (55%)
create mode 100644 tests/cpp/contrib/bnns.cc
copy rust/tvm/src/ir/function.rs => tests/cpp/profiling.cc (55%)
delete mode 100644 tests/micro/qemu/.gitignore
delete mode 100644 tests/micro/qemu/zephyr-runtime/.gitignore
copy {apps/microtvm => tests/micro/zephyr}/README.md (52%)
rename tests/micro/{qemu => zephyr}/conftest.py (94%)
rename tests/micro/{qemu => zephyr}/test_zephyr.py (81%)
create mode 100644 tests/micro/zephyr/testdata/digit-2.jpg
create mode 100644 tests/micro/zephyr/testdata/digit-9.jpg
create mode 100644 tests/micro/zephyr/testdata/mnist-8.onnx
create mode 100644 tests/python/conftest.py
rename tests/{micro/qemu/zephyr-runtime/sample.yaml => python/contrib/test_bnns/__init__.py} (88%)
create mode 100644 tests/python/contrib/test_bnns/infrastructure.py
create mode 100644 tests/python/contrib/test_bnns/test_conv2d.py
create mode 100644 tests/python/contrib/test_bnns/test_conv2d_patterns.py
create mode 100644 tests/python/contrib/test_bnns/test_dense.py
create mode 100644 tests/python/contrib/test_bnns/test_matmul.py
create mode 100644 tests/python/contrib/test_bnns/test_normalization.py
create mode 100644 tests/python/contrib/test_bnns/test_onnx_topologies.py
create mode 100644 tests/python/contrib/test_bnns/test_pooling.py
create mode 100644 tests/python/driver/tvmc/test_composite_target.py
rename tests/python/driver/tvmc/{test_common.py => test_tvmc_common.py} (64%)
rename tests/python/relay/{test_auto_scheduler_layout_rewrite.py => test_auto_scheduler_layout_rewrite_networks.py} (100%)
create mode 100644 tests/python/relay/test_op_qnn_simulated_dequantize.py
create mode 100644 tests/python/relay/test_op_qnn_simulated_quantize.py
create mode 100644 tests/python/relay/test_pass_fold_explicit_padding.py
copy docker/install/ubuntu_install_python.sh => tests/python/relay/test_pass_profiler.py (52%)
mode change 100755 => 100644
create mode 100644 tests/python/topi/python/test_topi_qnn.py
create mode 100644 tests/python/topi/python/test_topi_unique.py
create mode 100644 tests/python/unittest/test_auto_scheduler_search_task.py
create mode 100644 tests/python/unittest/test_micro_model_library_format.py
create mode 100644 tests/python/unittest/test_target_codegen_spirv.py
create mode 100644 tutorials/auto_scheduler/ci_logs/sparse_dense.json
create mode 100644 tutorials/auto_scheduler/tune_sparse_x86.py
rename tutorials/{auto_scheduler => get_started}/tune_matmul_x86.py (55%)
create mode 100755 tutorials/micro/micro_onnx.py
create mode 100644 vta/python/vta/autotvm.py
[tvm] 01/01: add ci-qemu-staging
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 f0796a6b126a334607e7242b086be463f6f4def9
Author: Andrew Reusch <ar...@octoml.ai>
AuthorDate: Thu Mar 18 17:22:08 2021 -0700
add ci-qemu-staging
---
3rdparty/dmlc-core | 2 +-
Jenkinsfile | 2 +-
docker/Dockerfile.ci_qemu | 4 ++
docker/install/ubuntu_install_zephyr.sh | 69 +--------------------------------
4 files changed, 8 insertions(+), 69 deletions(-)
diff --git a/3rdparty/dmlc-core b/3rdparty/dmlc-core
index 6c401e2..21cc7de 160000
--- a/3rdparty/dmlc-core
+++ b/3rdparty/dmlc-core
@@ -1 +1 @@
-Subproject commit 6c401e242c59a1f4c913918246591bb13fd714e7
+Subproject commit 21cc7de0dc9fd6acb796e1be6181fa8e6b6c8f41
diff --git a/Jenkinsfile b/Jenkinsfile
index 506dcab..c2e8a5e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -49,7 +49,7 @@ ci_gpu = "tlcpack/ci-gpu:v0.72"
ci_cpu = "tlcpack/ci-cpu:v0.72-t0"
ci_wasm = "tlcpack/ci-wasm:v0.70"
ci_i386 = "tlcpack/ci-i386:v0.72-t0"
-ci_qemu = "tlcpack/ci-qemu:v0.01"
+ci_qemu = "areusch1/ci-qemu-staging:v0.02"
ci_arm = "tlcpack/ci-arm:v0.02"
// <--- End of regex-scanned config.
diff --git a/docker/Dockerfile.ci_qemu b/docker/Dockerfile.ci_qemu
index 9120f91..04434b7 100644
--- a/docker/Dockerfile.ci_qemu
+++ b/docker/Dockerfile.ci_qemu
@@ -64,3 +64,7 @@ RUN bash /install/ubuntu_install_qemu.sh
COPY install/ubuntu_install_zephyr.sh /install/ubuntu_install_zephyr.sh
RUN bash /install/ubuntu_install_zephyr.sh
ENV ZEPHYR_BASE=/opt/zephyrproject/zephyr
+
+# Install ONNX
+COPY install/ubuntu_install_onnx.sh /install/ubuntu_install_onnx.sh
+RUN bash /install/ubuntu_install_onnx.sh
diff --git a/docker/install/ubuntu_install_zephyr.sh b/docker/install/ubuntu_install_zephyr.sh
index e10ff48..1654ab9 100644
--- a/docker/install/ubuntu_install_zephyr.sh
+++ b/docker/install/ubuntu_install_zephyr.sh
@@ -33,73 +33,8 @@ sudo apt-get install -y --no-install-recommends \
python3-dev python3-pip python3-setuptools python3-tk python3-wheel python3-venv \
xz-utils file make gcc gcc-multilib g++-multilib apt-transport-https
-cat <<EOF | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
------BEGIN PGP PUBLIC KEY BLOCK-----
-
-mQINBF0bjnMBEADVgQr04Lg258KpWi42rzGemFGkzHCx7SXDWVqHApx34HUxF63s
-RnknCTt42Thqcv78CJ9WQYjjvT5+FZOlxA+0kwkeatFoKNeVvBkyYFgU6gxSuVQ+
-a1ZEw2IYdqRH+vUC1AKGY88KlrteTAqtqYsaGimiF5ry3y3bLBySyxLHfltCaENy
-uKPJEHHvHxTZsZAD3iwVysNZkw2V/V4IS8wy8m9rq1U7OU40KMJ3EUan89DzD1qt
-8sroEThsjE9IG6QMf1H9pvNIIz/QhwqSKQkGqt8obdf0W+EB4cef6ka98a+E6slc
-Otw2AVB2B47ljnp5AyLwZPiYxeIXPZsO8cZbx1uBOkOZ1OkqHlk4tgJEqg+v6APO
-cm625fk4iftsB+U/3MZvm4QH4Y5xfAFb3aDL2zkxN/EUCWW5tUn+Z+RaegGaojTE
-N2laH91ncpeZh1M9GPvXGT/efDg3a/Nv9UNUtv9lhNn35VyVgBNaaYwNScq5+ApV
-pG8b/j18x8mQR8kk7bXvOXjc/4NdCrY7QcIExA9DTWemLsDVeDM62lBvOKZGED4X
-fgGehGGPtu862kf4vvCZKrrEeVkVBrTiOsxFMdHshnKqtQyyJQKXXVjl9//jhMGM
-cZHJ5+D9O4JNE/aZC4h2F7hL0NpO0AVGJ0Ly5N7B07yMBZGGJaH4QXCoHwARAQAB
-tEVLaXR3YXJlIEFwdCBBcmNoaXZlIEF1dG9tYXRpYyBTaWduaW5nIEtleSAoMjAy
-MCkgPGRlYmlhbkBraXR3YXJlLmNvbT6J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
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update