You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by gi...@apache.org on 2023/01/07 05:02:37 UTC
[tvm] branch nightly updated (21d7968b61 -> 088bc118c7)
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 21d7968b61 [microTVM] Fix MacOS build with USE_MICRO=ON (#13711)
add 123f1f5e2c [tir] Add line level debug info (#13012)
add 52d8485e48 [microTVM][Zephyr]Add project files for mlperftiny submission (#13690)
add 30abbe9832 [docs] Add "Open with Colab" button to documentation (#13627)
add 088bc118c7 [TIR] Fix dtype mismatch error due to LetStmt (#13710)
No new revisions were added by this update.
Summary of changes:
.gitignore | 6 +
3rdparty/mlperftiny/README.md | 2 +
3rdparty/mlperftiny/api/internally_implemented.cpp | 325 +++++++++++++++++++++
3rdparty/mlperftiny/api/internally_implemented.h | 62 ++++
3rdparty/mlperftiny/api/submitter_implemented.h | 85 ++++++
.../template_project/CMakeLists.txt.template | 13 +-
.../zephyr/template_project/microtvm_api_server.py | 9 +-
.../template_project/src/mlperftiny}/README.md | 6 +-
.../zephyr/template_project/src/mlperftiny/main.cc | 27 +-
.../src/mlperftiny/submitter_implemented.cc | 218 ++++++++++++++
.../template_project/src/mlperftiny/tvmruntime.cc | 164 +++++++++++
.../template_project/src/mlperftiny/tvmruntime.h | 62 ++++
.../zephyr_uart.c => mlperftiny/zephyr_uart.cc} | 30 +-
.../zephyr_uart.h | 13 +-
cmake/modules/Zephyr.cmake | 3 +
docs/README.md | 39 +++
docs/conf.py | 210 ++++++++++++-
gallery/how_to/compile_models/from_coreml.py | 7 +-
gallery/how_to/compile_models/from_darknet.py | 5 +-
gallery/how_to/compile_models/from_keras.py | 7 +-
gallery/how_to/compile_models/from_mxnet.py | 10 +-
gallery/how_to/compile_models/from_oneflow.py | 4 +-
gallery/how_to/compile_models/from_onnx.py | 9 +-
gallery/how_to/compile_models/from_paddle.py | 6 +-
gallery/how_to/compile_models/from_pytorch.py | 12 +-
gallery/how_to/compile_models/from_tensorflow.py | 5 +
gallery/how_to/compile_models/from_tflite.py | 5 +-
.../how_to/deploy_models/deploy_model_on_adreno.py | 1 +
.../how_to/deploy_models/deploy_model_on_nano.py | 1 +
.../deploy_object_detection_pytorch.py | 4 +-
.../how_to/extend_tvm/bring_your_own_datatypes.py | 2 +-
gallery/how_to/optimize_operators/opt_conv_cuda.py | 1 +
.../optimize_operators/opt_conv_tensorcore.py | 1 +
.../tune_conv2d_layer_cuda.py | 1 +
.../how_to/tune_with_autotvm/tune_conv2d_cuda.py | 1 +
.../how_to/tune_with_autotvm/tune_relay_cuda.py | 1 +
.../how_to/work_with_microtvm/install_cmsis.rst | 35 +++
.../work_with_microtvm/install_dependencies.rst | 26 +-
.../how_to/work_with_microtvm/install_zephyr.rst | 52 ++++
gallery/how_to/work_with_microtvm/micro_aot.py | 31 +-
.../how_to/work_with_microtvm/micro_autotune.py | 26 +-
gallery/how_to/work_with_microtvm/micro_pytorch.py | 6 +-
gallery/how_to/work_with_microtvm/micro_tflite.py | 128 ++------
gallery/how_to/work_with_microtvm/micro_train.py | 15 +-
gallery/how_to/work_with_pytorch/using_as_torch.py | 8 +
.../work_with_pytorch/using_optimized_torch.py | 10 +-
gallery/how_to/work_with_relay/build_gcn.py | 8 +-
gallery/how_to/work_with_relay/using_relay_viz.py | 7 +
gallery/how_to/work_with_schedules/reduction.py | 1 +
gallery/how_to/work_with_schedules/scan.py | 1 +
gallery/tutorial/intro_topi.py | 1 +
gallery/tutorial/relay_quick_start.py | 1 +
gallery/tutorial/tensor_ir_blitz_course.py | 1 +
include/tvm/tir/data_type_rewriter.h | 5 +-
include/tvm/tir/transform.h | 7 +
python/tvm/tir/transform/transform.py | 12 +
src/driver/driver_api.cc | 8 +
src/ir/transform.cc | 1 +
src/printer/text_printer.h | 40 +--
src/printer/tir_text_printer.cc | 53 ++--
src/printer/tir_text_printer_debug.cc | 97 ++++++
src/printer/tir_text_printer_debug.h | 70 +++++
src/target/llvm/codegen_cpu.cc | 84 +++---
src/target/llvm/codegen_cpu.h | 2 +
src/target/llvm/codegen_llvm.cc | 55 +++-
src/target/llvm/codegen_llvm.h | 10 +-
src/tir/ir/data_type_rewriter.cc | 43 ++-
src/tir/transforms/install_debug_spans.cc | 150 ++++++++++
src/tir/transforms/install_debug_spans.h | 132 +++++++++
src/tir/transforms/narrow_datatype.cc | 11 +-
tests/lint/check_request_hook.py | 35 ++-
tests/python/tir/test_debug_info.py | 124 ++++++++
tests/python/unittest/test_te_create_primfunc.py | 55 +++-
73 files changed, 2385 insertions(+), 323 deletions(-)
create mode 100644 3rdparty/mlperftiny/README.md
create mode 100644 3rdparty/mlperftiny/api/internally_implemented.cpp
create mode 100644 3rdparty/mlperftiny/api/internally_implemented.h
create mode 100644 3rdparty/mlperftiny/api/submitter_implemented.h
copy {3rdparty/picojson => apps/microtvm/zephyr/template_project/src/mlperftiny}/README.md (81%)
copy src/contrib/rust_extension.cc => apps/microtvm/zephyr/template_project/src/mlperftiny/main.cc (64%)
create mode 100644 apps/microtvm/zephyr/template_project/src/mlperftiny/submitter_implemented.cc
create mode 100644 apps/microtvm/zephyr/template_project/src/mlperftiny/tvmruntime.cc
create mode 100644 apps/microtvm/zephyr/template_project/src/mlperftiny/tvmruntime.h
copy apps/microtvm/zephyr/template_project/src/{aot_standalone_demo/zephyr_uart.c => mlperftiny/zephyr_uart.cc} (80%)
copy apps/microtvm/zephyr/template_project/src/{aot_standalone_demo => mlperftiny}/zephyr_uart.h (75%)
create mode 100644 gallery/how_to/work_with_microtvm/install_cmsis.rst
copy docs/reference/api/python/relay/backend.rst => gallery/how_to/work_with_microtvm/install_dependencies.rst (54%)
create mode 100644 gallery/how_to/work_with_microtvm/install_zephyr.rst
create mode 100644 src/printer/tir_text_printer_debug.cc
create mode 100644 src/printer/tir_text_printer_debug.h
create mode 100644 src/tir/transforms/install_debug_spans.cc
create mode 100644 src/tir/transforms/install_debug_spans.h
create mode 100644 tests/python/tir/test_debug_info.py