This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch nightly in repository https://gitbox.apache.org/repos/asf/tvm.git
from 49849c8c3e Extend the USE_LIBBACKTRACE option (#13816) add f0ea9e461a [RUNTIME] Fix the manual determination of cores in FillDataForMeasure (#13849) add 9008ec21ba [VM][DMLC] Lower memory usage when loading and dumping weights (#13877) add 7aecc1a44d [Torch] Fix advanced indexing with NoneType index arguments (#13826) add 37e1a6862c [QNN][Relay][Topi] Add qnn.dense with weight layout (#13854) add ea34e6eb0b [TOPHUB] use keys as a keyword for searching of existing statistics (#13874) add 099ed94951 [OpenCL] Implement save/load pre-compiled programs (#13868) add a89ff3e62f [tir] fix buffer_decl buffer allocation (#13906) add 666006e926 [Doc] fix doc for tvm.te.const() (#13904) No new revisions were added by this update. Summary of changes: apps/cpp_rtvm/README.md | 14 ++ apps/cpp_rtvm/main.cc | 9 + apps/cpp_rtvm/tvm_runner.cc | 29 ++- apps/cpp_rtvm/tvm_runner.h | 4 + python/tvm/autotvm/tophub.py | 10 + python/tvm/relay/frontend/pytorch.py | 40 +++- python/tvm/relay/qnn/op/_qnn.py | 11 +- python/tvm/relay/qnn/op/legalizations.py | 134 ++++++++++++- python/tvm/relay/qnn/op/qnn.py | 64 ++++++ python/tvm/relay/qnn/strategy/generic.py | 6 + python/tvm/relay/qnn/strategy/hexagon.py | 18 ++ python/tvm/te/operation.py | 14 +- python/tvm/topi/hexagon/qnn/__init__.py | 1 + .../tvm/topi/hexagon/qnn/dense_alter_op.py | 24 +-- python/tvm/topi/hexagon/qnn/nn.py | 216 +++++++++++++++++---- python/tvm/topi/nn/qnn.py | 19 ++ src/relay/backend/te_compiler_cache.cc | 20 +- src/relay/op/nn/nn.h | 5 + src/relay/qnn/op/dense.cc | 105 +++++++++- src/runtime/contrib/random/mt_random_engine.cc | 10 +- src/runtime/file_utils.h | 37 ++++ src/runtime/opencl/opencl_common.h | 2 + src/runtime/opencl/opencl_device_api.cc | 4 +- src/runtime/opencl/opencl_module.cc | 77 ++++++++ .../opencl/opencl_wrapper/opencl_wrapper.cc | 12 ++ src/runtime/vm/executable.cc | 22 +-- .../plan_update_buffer_allocation_location.cc | 7 + tests/cpp-runtime/opencl/opencl_compile_to_bin.cc | 208 ++++++++++++++++++++ .../contrib/test_arm_compute_lib/test_dense.py | 6 +- .../test_hexagon/test_wo_qnn_canonicalization.py | 172 +++++++++++----- tests/python/contrib/test_random.py | 28 +++ tests/python/frontend/pytorch/test_forward.py | 35 ++++ tests/python/relay/test_pass_qnn_legalize.py | 92 +++++++++ .../unittest/test_autotvm_dispatch_context.py | 16 ++ ...sform_plan_update_buffer_allocation_location.py | 18 ++ 35 files changed, 1336 insertions(+), 153 deletions(-) copy tests/python/relay/test_change_batch.py => python/tvm/topi/hexagon/qnn/dense_alter_op.py (60%) create mode 100644 tests/cpp-runtime/opencl/opencl_compile_to_bin.cc