This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch unity-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git
omit 4ee1bdef6c [Unity][TVMScript] Use explicit `R.shape` in TVMScript
(#13979)
omit 780deef794 [Unity] e2e Relax minimum build flow (#13961)
omit b3a67fbf3e [Unity] Relax VM shape lowering pass (#13956)
omit 6885e7a2f0 [Unity] Relax VM codegen (#13954)
omit f6e7a1955e [Unity] Relax TVMScript Printer (#13944)
omit a4904c8275 [Unity] Relax TVMScript Parser. (#13932)
omit 58f12c4e43 [Unity] Relax BlockBuilder and ExprMutator (#13926)
omit 75da590129 [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
omit d30b77184a [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
omit b6462c95ca [Unity][IR] First-class StructInfo (#13907)
omit 747c7d0b4c [Unity] Relax expressions and types (#13901)
omit 70f3abadc9 [Unity] Relax VM (#13878)
add c6ce283fde [UX] Make T.prim_func typecheck as staticmethod (#13980)
add 50b9504a64 [Unity] Relax VM (#13878)
add 3806a2e348 [Unity] Relax expressions and types (#13901)
add f93d56ccbe [Unity][IR] First-class StructInfo (#13907)
add cd399ed507 [Unity][CI] Unity specific jenkins setup (do not upstream
to main) (#13910)
add 15f7d55839 [Unity] Basic StructInfo Analysis and Expr construction
(#13916)
add abe2677391 [Unity] Relax BlockBuilder and ExprMutator (#13926)
add 34f2a0df4e [Unity] Relax TVMScript Parser. (#13932)
add aae3011397 [Unity] Relax TVMScript Printer (#13944)
add 3561b631aa [Unity] Relax VM codegen (#13954)
add 0e24b127c3 [Unity] Relax VM shape lowering pass (#13956)
add 202caefb28 [Unity] e2e Relax minimum build flow (#13961)
add 895fb6cf21 [Unity][TVMScript] Use explicit `R.shape` in TVMScript
(#13979)
add 547d3ac357 [Unity] Relax op: index (#13987)
add 7ae3d773ed [Unity] Relax op: datatype (#13986)
add c35386efdc [Unity] Relax op: set (#13990)
add 3454010052 [Unity] Relax op: image (#13994)
add 7df7b048bf [Unity] Relax op: arithmetic, comparison (#13983)
add ac9af7ebc7 [Unity] Relax op: statistical (#13991)
add 9925df67e0 [Unity] Relax op: neural networks (#13993)
add d79b0682fa [Unity] Relax op: creation (#13984)
add 58bcc122cd [Unity] Relax op: linear algebra (#13988)
add dbc81a0d67 [Unity] Relax op: search (#13992)
add a62fcd4470 [Unity] Relax op: manipulation (#13989)
add e842690f8a [Unity] NestedMsg Support utility (#13995)
add 85b8a419ab [Unity][Pass] Operator Fusion Passes (#14001)
add ab43ba8ae4 [Unity][Pass] LambdaLift pass (#14012)
new a3f389b4ec [VM] Supporting "compiled" exec mode.
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 (4ee1bdef6c)
\
N -- N -- N refs/heads/unity-staging (a3f389b4ec)
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/analysis.h | 68 +
.../tvm/relax/attrs/create.h | 39 +-
.../utils.cc => include/tvm/relax/attrs/datatype.h | 31 +-
include/tvm/relax/attrs/image.h | 81 +
include/tvm/relax/attrs/index.h | 62 +
.../tvm/relax/attrs/linear_algebra.h | 31 +-
include/tvm/relax/attrs/manipulate.h | 108 +
include/tvm/relax/attrs/nn.h | 190 ++
include/tvm/relax/attrs/set.h | 62 +
.../tvm/relax/attrs/statistical.h | 33 +-
include/tvm/relax/nested_msg.h | 536 +++++
include/tvm/tir/buffer.h | 14 +-
include/tvm/tir/builtin.h | 44 +
python/tvm/relax/op/__init__.py | 23 +
python/tvm/relax/op/binary.py | 165 ++
python/tvm/relax/op/create.py | 209 ++
.../tir/__init__.py => relax/op/datatype.py} | 31 +-
python/tvm/relax/op/{ => image}/__init__.py | 12 +-
.../relax/op/{__init__.py => image/_ffi_api.py} | 11 +-
python/tvm/relax/op/image/image.py | 128 ++
python/tvm/relax/op/index.py | 90 +
python/tvm/relax/op/linear_algebra.py | 90 +
python/tvm/relax/op/manipulate.py | 207 +-
python/tvm/relax/op/{ => nn}/__init__.py | 12 +-
.../tvm/relax/op/{__init__.py => nn/_ffi_api.py} | 11 +-
python/tvm/relax/op/nn/nn.py | 524 +++++
python/tvm/relax/op/op_attrs.py | 129 ++
python/tvm/relax/op/search.py | 50 +
python/tvm/relax/op/set.py | 101 +
python/tvm/relax/op/statistical.py | 218 ++
.../parser/tir/__init__.py => relax/op/ternary.py} | 32 +-
python/tvm/relax/op/unary.py | 529 +++++
python/tvm/relax/transform/transform.py | 53 +
python/tvm/script/ir_builder/relax/ir.py | 140 ++
python/tvm/script/ir_builder/tir/ir.py | 8 +
python/tvm/script/parser/tir/__init__.py | 12 +-
python/tvm/tir/op.py | 68 +
src/relax/analysis/analysis.cc | 173 ++
src/relax/backend/vm/codegen_vm_tir.cc | 511 +++++
src/relax/op/image/resize.cc | 113 +
.../op/{tensor/manipulate.h => image/resize.h} | 26 +-
src/relax/op/nn/convolution.cc | 146 ++
src/relax/op/nn/convolution.h | 63 +
src/relax/op/nn/nn.cc | 245 ++
src/relax/op/nn/nn.h | 81 +
src/relax/op/nn/pooling.cc | 184 ++
src/relax/op/{tensor/manipulate.h => nn/pooling.h} | 29 +-
src/relax/op/op.cc | 2 +-
src/relax/op/op_common.cc | 17 +-
src/relax/op/op_common.h | 21 +-
src/relax/op/tensor/binary.cc | 12 +
src/relax/op/tensor/binary.h | 29 +
src/relax/op/tensor/create.cc | 264 +++
src/relax/op/tensor/create.h | 90 +
src/relax/op/tensor/datatype.cc | 60 +
src/relax/op/tensor/{manipulate.h => datatype.h} | 22 +-
src/relax/op/tensor/index.cc | 195 ++
src/relax/op/tensor/index.h | 65 +
src/relax/op/tensor/linear_algebra.cc | 123 +
.../op/tensor/{manipulate.h => linear_algebra.h} | 28 +-
src/relax/op/tensor/manipulate.cc | 688 +++++-
src/relax/op/tensor/manipulate.h | 73 +
src/relax/op/tensor/search.cc | 99 +
src/relax/op/tensor/{manipulate.h => search.h} | 20 +-
src/relax/op/tensor/set.cc | 103 +
src/relax/op/tensor/{manipulate.h => set.h} | 27 +-
src/relax/op/tensor/statistical.cc | 96 +
src/relax/op/tensor/statistical.h | 92 +
src/relax/op/tensor/ternary.cc | 108 +
src/relax/op/tensor/{manipulate.h => ternary.h} | 24 +-
src/relax/op/tensor/unary.cc | 91 +
src/relax/op/tensor/unary.h | 144 ++
src/relax/transform/annotate_tir_op_pattern.cc | 55 +
src/relax/transform/fuse_ops.cc | 909 ++++++++
src/relax/transform/fuse_tir.cc | 728 ++++++
src/relax/transform/lambda_lift.cc | 266 +++
src/relax/utils.cc | 45 +
src/runtime/library_module.cc | 5 +-
src/target/llvm/codegen_cpu.cc | 6 +-
src/tir/op/builtin.cc | 12 +
src/{relax/utils.cc => tir/op/runtime.cc} | 32 +-
src/tir/transforms/lower_tvm_builtin.cc | 169 +-
tests/cpp/nested_msg_test.cc | 318 +++
tests/python/relax/test_op_binary.py | 209 ++
tests/python/relax/test_op_create.py | 638 ++++++
tests/python/relax/test_op_datatype.py | 105 +
tests/python/relax/test_op_image.py | 245 ++
tests/python/relax/test_op_index.py | 593 +++++
tests/python/relax/test_op_linear_algebra.py | 244 ++
tests/python/relax/test_op_manipulate.py | 2373 ++++++++++++++++++++
tests/python/relax/test_op_nn.py | 929 ++++++++
tests/python/relax/test_op_nn_convolution.py | 429 ++++
tests/python/relax/test_op_nn_pooling.py | 429 ++++
tests/python/relax/test_op_search.py | 278 +++
tests/python/relax/test_op_set.py | 862 +++++++
tests/python/relax/test_op_statistical.py | 204 ++
tests/python/relax/test_op_ternary.py | 162 ++
tests/python/relax/test_op_unary.py | 203 ++
.../test_transform_annotate_tir_op_pattern.py | 360 +++
tests/python/relax/test_transform_fuse_ops.py | 759 +++++++
tests/python/relax/test_transform_fuse_tir.py | 563 +++++
tests/python/relax/test_transform_lambda_lift.py | 304 +++
tests/python/relax/test_tvmscript_parser.py | 8 +-
.../relax/test_tvmscript_parser_op_arith_cmp.py | 179 ++
.../relax/test_tvmscript_parser_op_create.py | 162 ++
.../relax/test_tvmscript_parser_op_datatype.py | 54 +
.../python/relax/test_tvmscript_parser_op_image.py | 54 +
.../python/relax/test_tvmscript_parser_op_index.py | 82 +
.../test_tvmscript_parser_op_linear_algebra.py | 80 +
.../relax/test_tvmscript_parser_op_manipulate.py | 314 +++
tests/python/relax/test_tvmscript_parser_op_nn.py | 193 ++
.../relax/test_tvmscript_parser_op_search.py | 60 +
tests/python/relax/test_tvmscript_parser_op_set.py | 68 +
.../relax/test_tvmscript_parser_op_statistical.py | 174 ++
tests/python/relax/test_vm_build.py | 2 +-
tests/python/relax/test_vm_codegen_only.py | 2 +-
tests/python/relax/test_vm_codegen_tir.py | 224 ++
117 files changed, 21971 insertions(+), 335 deletions(-)
copy src/relax/op/tensor/manipulate.h => include/tvm/relax/attrs/create.h (50%)
copy src/relax/utils.cc => include/tvm/relax/attrs/datatype.h (58%)
create mode 100644 include/tvm/relax/attrs/image.h
create mode 100644 include/tvm/relax/attrs/index.h
copy src/relax/utils.cc => include/tvm/relax/attrs/linear_algebra.h (58%)
create mode 100644 include/tvm/relax/attrs/manipulate.h
create mode 100644 include/tvm/relax/attrs/nn.h
create mode 100644 include/tvm/relax/attrs/set.h
copy src/relax/op/tensor/manipulate.h => include/tvm/relax/attrs/statistical.h
(54%)
create mode 100644 include/tvm/relax/nested_msg.h
create mode 100644 python/tvm/relax/op/create.py
copy python/tvm/{script/parser/tir/__init__.py => relax/op/datatype.py} (60%)
copy python/tvm/relax/op/{ => image}/__init__.py (79%)
copy python/tvm/relax/op/{__init__.py => image/_ffi_api.py} (79%)
create mode 100644 python/tvm/relax/op/image/image.py
create mode 100644 python/tvm/relax/op/index.py
create mode 100644 python/tvm/relax/op/linear_algebra.py
copy python/tvm/relax/op/{ => nn}/__init__.py (79%)
copy python/tvm/relax/op/{__init__.py => nn/_ffi_api.py} (79%)
create mode 100644 python/tvm/relax/op/nn/nn.py
create mode 100644 python/tvm/relax/op/op_attrs.py
create mode 100644 python/tvm/relax/op/search.py
create mode 100644 python/tvm/relax/op/set.py
create mode 100644 python/tvm/relax/op/statistical.py
copy python/tvm/{script/parser/tir/__init__.py => relax/op/ternary.py} (53%)
create mode 100644 python/tvm/relax/op/unary.py
create mode 100644 src/relax/analysis/analysis.cc
create mode 100644 src/relax/backend/vm/codegen_vm_tir.cc
create mode 100644 src/relax/op/image/resize.cc
copy src/relax/op/{tensor/manipulate.h => image/resize.h} (59%)
create mode 100644 src/relax/op/nn/convolution.cc
create mode 100644 src/relax/op/nn/convolution.h
create mode 100644 src/relax/op/nn/nn.cc
create mode 100644 src/relax/op/nn/nn.h
create mode 100644 src/relax/op/nn/pooling.cc
copy src/relax/op/{tensor/manipulate.h => nn/pooling.h} (57%)
create mode 100644 src/relax/op/tensor/create.cc
create mode 100644 src/relax/op/tensor/create.h
create mode 100644 src/relax/op/tensor/datatype.cc
copy src/relax/op/tensor/{manipulate.h => datatype.h} (62%)
create mode 100644 src/relax/op/tensor/index.cc
create mode 100644 src/relax/op/tensor/index.h
create mode 100644 src/relax/op/tensor/linear_algebra.cc
copy src/relax/op/tensor/{manipulate.h => linear_algebra.h} (54%)
create mode 100644 src/relax/op/tensor/search.cc
copy src/relax/op/tensor/{manipulate.h => search.h} (59%)
create mode 100644 src/relax/op/tensor/set.cc
copy src/relax/op/tensor/{manipulate.h => set.h} (51%)
create mode 100644 src/relax/op/tensor/statistical.cc
create mode 100644 src/relax/op/tensor/statistical.h
create mode 100644 src/relax/op/tensor/ternary.cc
copy src/relax/op/tensor/{manipulate.h => ternary.h} (59%)
create mode 100644 src/relax/op/tensor/unary.cc
create mode 100644 src/relax/op/tensor/unary.h
create mode 100644 src/relax/transform/annotate_tir_op_pattern.cc
create mode 100644 src/relax/transform/fuse_ops.cc
create mode 100644 src/relax/transform/fuse_tir.cc
create mode 100644 src/relax/transform/lambda_lift.cc
copy src/{relax/utils.cc => tir/op/runtime.cc} (56%)
create mode 100644 tests/cpp/nested_msg_test.cc
create mode 100644 tests/python/relax/test_op_binary.py
create mode 100644 tests/python/relax/test_op_create.py
create mode 100644 tests/python/relax/test_op_datatype.py
create mode 100644 tests/python/relax/test_op_image.py
create mode 100644 tests/python/relax/test_op_index.py
create mode 100644 tests/python/relax/test_op_linear_algebra.py
create mode 100644 tests/python/relax/test_op_manipulate.py
create mode 100644 tests/python/relax/test_op_nn.py
create mode 100644 tests/python/relax/test_op_nn_convolution.py
create mode 100644 tests/python/relax/test_op_nn_pooling.py
create mode 100644 tests/python/relax/test_op_search.py
create mode 100644 tests/python/relax/test_op_set.py
create mode 100644 tests/python/relax/test_op_statistical.py
create mode 100644 tests/python/relax/test_op_ternary.py
create mode 100644 tests/python/relax/test_op_unary.py
create mode 100644 tests/python/relax/test_transform_annotate_tir_op_pattern.py
create mode 100644 tests/python/relax/test_transform_fuse_ops.py
create mode 100644 tests/python/relax/test_transform_fuse_tir.py
create mode 100644 tests/python/relax/test_transform_lambda_lift.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_arith_cmp.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_create.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_datatype.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_image.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_index.py
create mode 100644
tests/python/relax/test_tvmscript_parser_op_linear_algebra.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_manipulate.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_nn.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_search.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_set.py
create mode 100644 tests/python/relax/test_tvmscript_parser_op_statistical.py
create mode 100644 tests/python/relax/test_vm_codegen_tir.py