This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch tvmscript-ast-only-transpiler
in repository https://gitbox.apache.org/repos/asf/tvm.git
discard 78291ea37b Complete missing Relax value annotations before
normalization
discard c4ede00b36 Route global calls through ordinary callable overloads
discard c6ba25159f Resolve named outputs through explicit completed builder
frames
discard f7de503247 Remove redundant import lint suppression
discard 063ba1330b Build keyword expressions eagerly with conditional runtime
evaluation
discard e073ec33b6 Share source metadata and make span instrumentation optional
discard 801caf7498 Collect registered declarations in the shared source prescan
discard a72f369da1 Register parameter declarations in the parser protocol
discard 5b7969b327 Own syntax registration in the parser protocol
discard 1a23bc7059 Lower TVMScript syntax through explicit builder programs
new c86de02152 [TVMScript] Stage an opt-in AST-only parser with
builder-owned construction
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 (78291ea37b)
\
N -- N -- N refs/heads/tvmscript-ast-only-transpiler (c86de02152)
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:
include/tvm/relax/script/builder/ir.h | 18 +-
python/tvm/ir/__init__.py | 11 +-
python/tvm/ir/expr.py | 33 +-
python/tvm/ir/type.py | 11 -
python/tvm/relax/script/__init__.py | 2 +-
python/tvm/relax/script/builder/__init__.py | 249 +--
python/tvm/relax/script/builder/v2.py | 1615 ++++++++++++++++++
python/tvm/s_tir/tensor_intrin/rocm.py | 11 +-
python/tvm/script/__init__.py | 6 +-
python/tvm/script/ir_builder/__init__.py | 7 +-
python/tvm/script/ir_builder/base.py | 142 +-
python/tvm/script/ir_builder/construction.py | 447 ++++-
python/tvm/script/ir_builder/ir/__init__.py | 3 +-
python/tvm/script/ir_builder/protocol.py | 374 ++--
python/tvm/script/ir_builder/type_var_frame.py | 307 +++-
python/tvm/script/parser/__init__.py | 38 +-
python/tvm/script/parser/annotations.py | 622 +++++++
python/tvm/script/parser/diagnostics.py | 31 +-
python/tvm/script/parser/frontend.py | 676 +++++---
python/tvm/script/parser/functions.py | 237 +++
python/tvm/script/{ => parser}/ir.py | 6 +-
python/tvm/script/parser/protocol.py | 225 ---
python/tvm/script/parser/transform.py | 782 +++++++++
.../tvm/script/{parser => parser_v2}/__init__.py | 27 +
.../script/{parser => parser_v2}/diagnostics.py | 0
.../tvm/script/{parser => parser_v2}/expression.py | 36 +-
.../tvm/script/{parser => parser_v2}/frontend.py | 445 +++--
python/tvm/script/parser_v2/protocol.py | 394 +++++
.../tvm/script/{parser => parser_v2}/transpile.py | 300 +++-
python/tvm/tirx/script/builder/__init__.py | 390 +----
python/tvm/tirx/script/builder/comparison.py | 82 +
python/tvm/tirx/script/builder/ir.py | 80 +-
python/tvm/tirx/script/builder/v2.py | 1805 ++++++++++++++++++++
src/relax/analysis/type_analysis.cc | 12 +-
src/relax/backend/vm/vm_shape_lower.cc | 17 +-
src/relax/ir/block_builder.cc | 6 +-
src/relax/ir/dependent_type.cc | 9 +-
src/relax/ir/expr.cc | 9 +-
src/relax/script/builder/ir.cc | 49 +-
src/relax/script/printer/tir.cc | 6 +-
src/relax/transform/static_plan_block_memory.cc | 20 +-
src/script/printer/ir/ir.cc | 3 +-
src/script/printer/utils.h | 42 +-
src/tirx/script/printer/expr.cc | 7 +-
src/tirx/transform/lower_tvm_builtin.cc | 59 +-
tests/python/relax/test_analysis_well_formed.py | 2 +-
.../relax/test_backend_dispatch_sort_scan.py | 2 -
.../relax/test_backend_transform_shape_lower.py | 1 -
tests/python/relax/test_blockbuilder_core.py | 3 +-
tests/python/relax/test_builder_annotations.py | 199 ---
tests/python/relax/test_expr.py | 5 +-
tests/python/relax/test_shape_i32.py | 147 --
tests/python/relax/test_tvmscript_parser.py | 73 +-
tests/python/relax/test_tvmscript_type_vars.py | 40 -
.../python/tvmscript/test_builder_short_circuit.py | 246 ---
tests/python/tvmscript/test_parser.py | 352 +---
.../python/tvmscript/test_tvmscript_parser_tir.py | 23 +-
.../python/tvmscript/test_tvmscript_printer_tir.py | 4 +-
58 files changed, 7723 insertions(+), 3025 deletions(-)
create mode 100644 python/tvm/relax/script/builder/v2.py
create mode 100644 python/tvm/script/parser/annotations.py
create mode 100644 python/tvm/script/parser/functions.py
rename python/tvm/script/{ => parser}/ir.py (87%)
delete mode 100644 python/tvm/script/parser/protocol.py
create mode 100644 python/tvm/script/parser/transform.py
copy python/tvm/script/{parser => parser_v2}/__init__.py (69%)
copy python/tvm/script/{parser => parser_v2}/diagnostics.py (100%)
rename python/tvm/script/{parser => parser_v2}/expression.py (87%)
copy python/tvm/script/{parser => parser_v2}/frontend.py (53%)
create mode 100644 python/tvm/script/parser_v2/protocol.py
rename python/tvm/script/{parser => parser_v2}/transpile.py (86%)
create mode 100644 python/tvm/tirx/script/builder/comparison.py
create mode 100644 python/tvm/tirx/script/builder/v2.py
delete mode 100644 tests/python/relax/test_builder_annotations.py
delete mode 100644 tests/python/relax/test_shape_i32.py
delete mode 100644 tests/python/tvmscript/test_builder_short_circuit.py