This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a change to branch script/canonical-parser-df
in repository https://gitbox.apache.org/repos/asf/tvm.git


    from ba14bdad12 [FR] Format builder examples and literal references
     new 6635065023 Simplify script parsing around native builder frames
     new cfda25480d Keep native module aliases and shared resolution direct
     new c553fe16c4 Declare portable symbolic shape variables in function bodies
     new c067f3967c Preserve lexical scopes and source locations in direct 
parser lowering
     new ff9d243dfc Keep forward scalar parameter names outside annotation scope
     new 203dcebb9d Quote symbolic shapes until their Python parameters are 
bound
     new 66f9c6f8ba Keep normalized call arguments on the standard AST traversal
     new 370ba142d6 Preserve dependent buffer metadata in printed signatures
     new 3bdd254a44 Declare the updated scalar explicitly in printer roundtrip 
coverage

The 9 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:
 .github/workflows/main.yml                         |    4 +-
 docs/arch/tvmscript.rst                            |   56 +-
 include/tvm/relax/script/builder/frame.h           |    3 +
 include/tvm/script/ir_builder/base.h               |   41 +-
 include/tvm/tirx/script/builder/frame.h            |    6 +
 include/tvm/tirx/script/builder/ir.h               |    5 +-
 python/tvm/relax/script/builder/__init__.py        |  106 +-
 python/tvm/relax/script/builder/frame.py           |   15 +-
 python/tvm/relax/script/builder/protocol.py        |   52 +-
 python/tvm/script/ir_builder/base.py               |  131 +-
 python/tvm/script/ir_builder/construction.py       |  333 ---
 python/tvm/script/ir_builder/ir/__init__.py        |    3 +-
 python/tvm/script/ir_builder/ir/frame.py           |   12 +-
 python/tvm/script/ir_builder/ir/protocol.py        |  199 ++
 python/tvm/script/ir_builder/parser_support.py     |   79 -
 python/tvm/script/ir_builder/type_var_frame.py     |  147 -
 python/tvm/script/parser/__init__.py               |   81 +-
 python/tvm/script/parser/call_args_policy.py       |  202 ++
 python/tvm/script/parser/diagnostics.py            |    9 +-
 python/tvm/script/parser/{frontend.py => entry.py} |  701 ++---
 python/tvm/script/parser/expression.py             |  283 --
 python/tvm/script/parser/ir.py                     |    2 +-
 python/tvm/script/parser/jit_support.py            |   97 +
 python/tvm/script/parser/prescan.py                |  368 +++
 python/tvm/script/parser/protocol.py               |   20 +-
 python/tvm/script/parser/transpile.py              | 2871 +++++++++-----------
 python/tvm/tirx/script/__init__.py                 |   18 +
 python/tvm/tirx/script/builder/__init__.py         |  201 +-
 python/tvm/tirx/script/builder/frame.py            |   46 +-
 python/tvm/tirx/script/builder/ir.py               |    9 +
 python/tvm/tirx/script/builder/protocol.py         |  198 +-
 python/tvm/{script/parser => tirx/script}/jit.py   |   10 +-
 src/relax/script/builder/frame.cc                  |   15 +-
 src/relax/script/builder/ir.cc                     |    7 +-
 src/script/ir_builder/base.cc                      |   19 +-
 src/script/printer/utils.h                         |   23 +-
 src/tirx/script/builder/frame.cc                   |   14 +-
 src/tirx/script/builder/ir.cc                      |    9 +-
 src/tirx/script/printer/buffer.cc                  |   68 +-
 src/tirx/script/printer/function.cc                |   45 +-
 src/tirx/script/printer/utils.h                    |    4 +-
 tests/parser/dummy_builder.py                      |  285 ++
 tests/parser/test_parser.py                        |  688 +++++
 .../relax}/test_parser_construction_regressions.py |    0
 .../relax}/test_parser_distributed_aliases.py      |    0
 .../relax}/test_parser_local_function_types.py     |    0
 .../relax}/test_parser_local_functions.py          |    0
 .../relax}/test_parser_scoped_symbols.py           |   53 +-
 tests/python/relax/test_tvmscript_parser.py        |    4 +-
 .../tirx}/test_parser_backend_namespaces.py        |    0
 .../tirx}/test_parser_buffer_views.py              |    0
 .../tirx}/test_parser_call_scopes.py               |   16 +-
 .../tirx}/test_parser_constexpr.py                 |   39 +-
 .../tirx}/test_parser_dtype_migrations.py          |    2 +-
 .../tirx}/test_parser_emitted_spans.py             |   42 +-
 .../tirx}/test_parser_helper_migrations.py         |    0
 .../tirx}/test_parser_jit_specialization.py        |    0
 tests/python/tirx/test_parser_printer.py           |   46 +-
 tests/python/tirx/test_parser_printer_type_vars.py |  135 +
 .../tirx}/test_parser_range_annotations.py         |   29 +-
 .../tirx}/test_parser_scope_id_identity.py         |   34 +-
 .../tirx}/test_parser_scope_id_names.py            |    9 +-
 .../tirx}/test_parser_self_bind.py                 |   11 +-
 .../tirx}/test_parser_tile_namespaces.py           |    0
 .../tvmscript/test_tvmscript_parser_evaluator.py   |    7 +-
 .../unittest}/test_parser_captured_constructors.py |    0
 .../unittest}/test_parser_class_source.py          |    0
 .../test_parser_comparison_source_order.py         |    0
 .../unittest}/test_parser_comparison_values.py     |    0
 .../unittest}/test_parser_definition_context.py    |    0
 .../unittest}/test_parser_emission_contract.py     |    4 +-
 .../unittest}/test_parser_frontend_regressions.py  |    0
 .../unittest}/test_parser_ir_namespace.py          |    0
 tests/python/unittest/test_parser_native_frames.py |  250 ++
 .../unittest}/test_parser_nonlocal.py              |    0
 tests/python/unittest/test_parser_support.py       |  156 ++
 tests/script/test_parser_args_policy.py            |  255 --
 tests/script/test_parser_support.py                |  104 -
 tests/scripts/task_python_unittest.sh              |    2 +-
 79 files changed, 4712 insertions(+), 3971 deletions(-)
 delete mode 100644 python/tvm/script/ir_builder/construction.py
 create mode 100644 python/tvm/script/ir_builder/ir/protocol.py
 delete mode 100644 python/tvm/script/ir_builder/parser_support.py
 delete mode 100644 python/tvm/script/ir_builder/type_var_frame.py
 create mode 100644 python/tvm/script/parser/call_args_policy.py
 rename python/tvm/script/parser/{frontend.py => entry.py} (56%)
 delete mode 100644 python/tvm/script/parser/expression.py
 create mode 100644 python/tvm/script/parser/jit_support.py
 create mode 100644 python/tvm/script/parser/prescan.py
 rename python/tvm/{script/parser => tirx/script}/jit.py (97%)
 create mode 100644 tests/parser/dummy_builder.py
 create mode 100644 tests/parser/test_parser.py
 rename tests/{script => python/relax}/test_parser_construction_regressions.py 
(100%)
 rename tests/{script => python/relax}/test_parser_distributed_aliases.py (100%)
 rename tests/{script => python/relax}/test_parser_local_function_types.py 
(100%)
 rename tests/{script => python/relax}/test_parser_local_functions.py (100%)
 rename tests/{script => python/relax}/test_parser_scoped_symbols.py (60%)
 rename tests/{script => python/tirx}/test_parser_backend_namespaces.py (100%)
 rename tests/{script => python/tirx}/test_parser_buffer_views.py (100%)
 rename tests/{script => python/tirx}/test_parser_call_scopes.py (89%)
 rename tests/{script => python/tirx}/test_parser_constexpr.py (84%)
 rename tests/{script => python/tirx}/test_parser_dtype_migrations.py (99%)
 rename tests/{script => python/tirx}/test_parser_emitted_spans.py (81%)
 rename tests/{script => python/tirx}/test_parser_helper_migrations.py (100%)
 rename tests/{script => python/tirx}/test_parser_jit_specialization.py (100%)
 create mode 100644 tests/python/tirx/test_parser_printer_type_vars.py
 rename tests/{script => python/tirx}/test_parser_range_annotations.py (78%)
 rename tests/{script => python/tirx}/test_parser_scope_id_identity.py (90%)
 rename tests/{script => python/tirx}/test_parser_scope_id_names.py (95%)
 rename tests/{script => python/tirx}/test_parser_self_bind.py (92%)
 rename tests/{script => python/tirx}/test_parser_tile_namespaces.py (100%)
 rename tests/{script => python/unittest}/test_parser_captured_constructors.py 
(100%)
 rename tests/{script => python/unittest}/test_parser_class_source.py (100%)
 rename tests/{script => 
python/unittest}/test_parser_comparison_source_order.py (100%)
 rename tests/{script => python/unittest}/test_parser_comparison_values.py 
(100%)
 rename tests/{script => python/unittest}/test_parser_definition_context.py 
(100%)
 rename tests/{script => python/unittest}/test_parser_emission_contract.py (96%)
 rename tests/{script => python/unittest}/test_parser_frontend_regressions.py 
(100%)
 rename tests/{script => python/unittest}/test_parser_ir_namespace.py (100%)
 create mode 100644 tests/python/unittest/test_parser_native_frames.py
 rename tests/{script => python/unittest}/test_parser_nonlocal.py (100%)
 create mode 100644 tests/python/unittest/test_parser_support.py
 delete mode 100644 tests/script/test_parser_args_policy.py
 delete mode 100644 tests/script/test_parser_support.py

Reply via email to