This is an automated email from the ASF dual-hosted git repository. jroesch pushed a change to branch ci-docker-staging in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git.
discard d4001e5 Turn on Rust docs and MxNet based ResNet discard 9ea627b Merge branch 'master' of https://github.com/apache/incubator-tvm discard 44a785c Fix rebase issues discard 7ae6990 Kill dead doc comment discard 2952d3c Fix documentation comment omit f0f9999 More lint omit 328afd6 Fix format omit e61d7e8 Fix lint omit d1a6bfe Fix cpplint omit d6bbc29 Fix test_ir_parser and formatting omit eaceca9 Fix up Python interface for diagnostics omit 997692e Apply Bobs suggestions omit 1a5e328 CR feedback omit 2419435 Clean up parser omit dd0c616 Apply suggestions from code review omit 9565d30 Apply suggestions from code review omit ed70dca Refactor the type checker to use diagnostics new 2e52c67 Turn on Rust docs and MxNet based ResNet 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 (d4001e5) \ N -- N -- N refs/heads/ci-docker-staging (2e52c67) 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: CMakeLists.txt | 1 - Makefile | 5 - include/tvm/ir/diagnostic.h | 262 ------ include/tvm/ir/module.h | 12 +- include/tvm/ir/span.h | 2 +- include/tvm/ir/transform.h | 14 +- include/tvm/ir/type.h | 15 +- include/tvm/ir/type_relation.h | 13 +- include/tvm/parser/parser.h | 3 +- include/tvm/parser/source_map.h | 69 +- include/tvm/relay/analysis.h | 9 +- include/tvm/relay/transform.h | 12 + include/tvm/runtime/container.h | 14 - include/tvm/runtime/object.h | 2 +- include/tvm/tir/op.h | 1 - pyproject.toml | 2 +- python/tvm/__init__.py | 9 +- python/tvm/ir/__init__.py | 1 - python/tvm/ir/diagnostics/__init__.py | 109 --- python/tvm/ir/diagnostics/_ffi_api.py | 21 - python/tvm/ir/module.py | 16 +- python/tvm/parser/__init__.py | 14 +- python/tvm/relay/backend/graph_runtime_factory.py | 4 +- python/tvm/relay/backend/interpreter.py | 4 +- python/tvm/relay/build_module.py | 2 - python/tvm/relay/dataflow_pattern/__init__.py | 2 +- python/tvm/relay/prelude.py | 578 ++++++------- .../tvm/relay/quantize/_partition_conversions.py | 8 +- python/tvm/relay/quantize/quantize.py | 2 +- python/tvm/relay/std/nat.rly | 78 -- python/tvm/relay/std/prelude.rly | 5 +- python/tvm/relay/testing/__init__.py | 3 +- python/tvm/relay/testing/nat.py | 149 +++- python/tvm/relay/testing/py_converter.py | 27 +- python/tvm/relay/transform/memory_alloc.py | 2 - python/tvm/relay/transform/transform.py | 14 - src/driver/driver_api.cc | 22 +- src/ir/diagnostic.cc | 282 ------- src/ir/module.cc | 114 +-- src/ir/span.cc | 6 +- src/ir/transform.cc | 26 +- src/ir/type.cc | 18 +- src/parser/diagnostic.h | 179 ++++ src/parser/parser.cc | 807 +++++++----------- src/parser/source_map.cc | 90 +- src/parser/span_check.cc | 109 --- src/parser/span_check.h | 80 -- src/parser/token.h | 15 - src/parser/tokenizer.h | 64 +- src/printer/relay_text_printer.cc | 15 +- src/relay/analysis/kind_check.cc | 53 +- src/relay/analysis/type_solver.cc | 107 +-- src/relay/analysis/type_solver.h | 23 +- src/relay/analysis/well_formed.cc | 43 +- src/relay/backend/build_module.cc | 5 - src/relay/backend/compile_engine.h | 2 +- src/relay/backend/graph_runtime_codegen.cc | 4 +- src/relay/backend/interpreter.cc | 4 +- src/relay/backend/vm/compiler.cc | 1 - src/relay/ir/transform.cc | 32 +- src/relay/op/nn/convolution.h | 90 +- src/relay/transforms/partition_graph.cc | 4 - src/relay/transforms/type_infer.cc | 280 +++--- src/runtime/contrib/random/mt_random_engine.cc | 2 +- src/tir/transforms/split_host_device.cc | 3 +- tests/cpp/relay_build_module_test.cc | 2 - tests/python/relay/test_adt.py | 938 ++++++++++++++++++--- .../relay/test_analysis_get_calibration_data.py | 3 - tests/python/relay/test_any.py | 7 +- tests/python/relay/test_backend_graph_runtime.py | 2 - tests/python/relay/test_backend_interpreter.py | 9 +- tests/python/relay/test_diagnostic.py | 51 -- tests/python/relay/test_error_reporting.py | 68 ++ tests/python/relay/test_expr_functor.py | 3 +- tests/python/relay/test_ir_module.py | 20 +- tests/python/relay/test_ir_parser.py | 47 +- .../python/relay/test_ir_structural_equal_hash.py | 35 +- tests/python/relay/test_ir_text_printer.py | 15 +- tests/python/relay/test_ir_well_formed.py | 7 +- tests/python/relay/test_op_qnn_add.py | 7 - tests/python/relay/test_op_qnn_concatenate.py | 4 - tests/python/relay/test_op_qnn_dense.py | 1 - tests/python/relay/test_op_qnn_mul.py | 5 - tests/python/relay/test_op_qnn_subtract.py | 1 - tests/python/relay/test_pass_alter_op_layout.py | 5 - tests/python/relay/test_pass_annotate_target.py | 2 - .../test_pass_combine_parallel_batch_matmul.py | 1 - .../relay/test_pass_combine_parallel_conv2d.py | 1 - .../relay/test_pass_combine_parallel_dense.py | 1 - tests/python/relay/test_pass_eta_expand.py | 4 +- tests/python/relay/test_pass_fold_constant.py | 4 +- tests/python/relay/test_pass_fuse_ops.py | 17 +- tests/python/relay/test_pass_gradient.py | 9 +- tests/python/relay/test_pass_inline.py | 5 +- tests/python/relay/test_pass_lazy_gradient_init.py | 20 +- tests/python/relay/test_pass_mac_count.py | 1 - tests/python/relay/test_pass_manager.py | 5 +- .../relay/test_pass_merge_compiler_regions.py | 2 - tests/python/relay/test_pass_partial_eval.py | 91 +- tests/python/relay/test_pass_partition_graph.py | 40 +- tests/python/relay/test_pass_qnn_legalize.py | 4 - .../relay/test_pass_remove_unused_functions.py | 26 +- tests/python/relay/test_pass_simplify_inference.py | 4 +- tests/python/relay/test_pass_to_a_normal_form.py | 11 +- .../relay/test_pass_to_basic_block_normal_form.py | 20 +- tests/python/relay/test_pass_to_cps.py | 9 +- tests/python/relay/test_pass_unmatched_cases.py | 82 +- tests/python/relay/test_pass_vars.py | 13 +- tests/python/relay/test_py_converter.py | 54 +- tests/python/relay/test_tensor_array.py | 784 ----------------- tests/python/relay/test_type_infer.py | 142 ++-- tests/python/relay/test_vm.py | 65 +- tests/python/relay/test_vm_serialization.py | 19 +- tests/python/relay/util/assert_diagnostic.py | 69 -- 114 files changed, 2545 insertions(+), 4154 deletions(-) delete mode 100644 include/tvm/ir/diagnostic.h delete mode 100644 python/tvm/ir/diagnostics/__init__.py delete mode 100644 python/tvm/ir/diagnostics/_ffi_api.py delete mode 100644 python/tvm/relay/std/nat.rly delete mode 100644 src/ir/diagnostic.cc create mode 100644 src/parser/diagnostic.h delete mode 100644 src/parser/span_check.cc delete mode 100644 src/parser/span_check.h delete mode 100644 tests/python/relay/test_diagnostic.py create mode 100644 tests/python/relay/test_error_reporting.py delete mode 100644 tests/python/relay/test_tensor_array.py delete mode 100644 tests/python/relay/util/assert_diagnostic.py
