You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ha...@apache.org on 2020/09/03 16:47:14 UTC
[incubator-tvm] branch master updated (12d66d4 -> 1224d56)
This is an automated email from the ASF dual-hosted git repository.
haichen pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
from 12d66d4 [DOCS] Fix the docker binary cache location (#6390)
add 1224d56 [RELAY][VM] Enable heterogeneous execution for Relay VM (#6337)
No new revisions were added by this update.
Summary of changes:
include/tvm/relay/analysis.h | 11 +
include/tvm/runtime/vm/bytecode.h | 23 +-
include/tvm/runtime/vm/executable.h | 2 +
include/tvm/runtime/vm/vm.h | 16 +-
python/tvm/ir/module.py | 14 +
python/tvm/relay/analysis/analysis.py | 15 +
python/tvm/relay/backend/vm.py | 7 -
python/tvm/relay/op/_tensor.py | 2 +
python/tvm/relay/transform/memory_alloc.py | 130 +++-
python/tvm/relay/transform/memory_plan.py | 7 +
python/tvm/runtime/vm.py | 15 +-
src/ir/module.cc | 3 +
src/relay/analysis/context_analysis.cc | 720 ++++++++++++++++++++++
src/relay/backend/vm/compiler.cc | 158 ++++-
src/relay/backend/vm/compiler.h | 22 +-
src/relay/op/device_copy.cc | 8 +-
src/relay/transforms/fold_constant.cc | 4 +-
src/runtime/vm/bytecode.cc | 37 +-
src/runtime/vm/executable.cc | 40 +-
src/runtime/vm/profiler/vm.cc | 16 +-
src/runtime/vm/serialize_util.h | 13 +-
src/runtime/vm/vm.cc | 87 ++-
tests/python/relay/benchmarking/benchmark_vm.py | 19 +-
tests/python/relay/dyn/test_dynamic_op_level10.py | 11 +-
tests/python/relay/dyn/test_dynamic_op_level2.py | 1 -
tests/python/relay/dyn/test_dynamic_op_level3.py | 2 -
tests/python/relay/dyn/test_dynamic_op_level5.py | 1 -
tests/python/relay/test_adt.py | 16 +-
tests/python/relay/test_any.py | 214 ++-----
tests/python/relay/test_pass_annotation.py | 115 ++--
tests/python/relay/test_pass_context_analysis.py | 205 ++++++
tests/python/relay/test_vm_serialization.py | 15 +
tests/python/unittest/test_runtime_vm_profiler.py | 20 +-
33 files changed, 1631 insertions(+), 338 deletions(-)
create mode 100644 src/relay/analysis/context_analysis.cc
create mode 100644 tests/python/relay/test_pass_context_analysis.py