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 83e7e9b2eb [Debug] Improve error messages in LiftTransformParams
(#16802)
add 4c45b828be [Relax] Unit-test for structural equal of recursive
function (#16796)
add cb31cb3e4f [Debug] Improve error message in VMShapeLower (#16806)
add eb5458e0e9 [Relax] Allow R.Prim('bool') in relax::If and assert_op
(#16642)
add 8ee8d0d0b8 [Runtime] Add "TVM_DLL" to NVTX header (#16809)
No new revisions were added by this update.
Summary of changes:
include/tvm/runtime/nvtx.h | 6 +-
include/tvm/tir/analysis.h | 15 +-
python/tvm/error.py | 1 +
python/tvm/relax/op/base.py | 44 +++--
python/tvm/relax/pipeline.py | 1 +
python/tvm/relax/transform/__init__.py | 1 +
python/tvm/relax/transform/transform.py | 19 ++
python/tvm/script/ir_builder/relax/ir.py | 15 +-
python/tvm/script/parser/tir/parser.py | 33 +++-
python/tvm/tir/analysis/analysis.py | 10 ++
src/relax/analysis/struct_info_analysis.cc | 6 +-
src/relax/backend/vm/vm_shape_lower.cc | 9 +-
src/relax/op/tensor/inspect.cc | 4 +-
src/relax/transform/compute_prim_value.cc | 94 ++++++++++
src/relax/transform/dataflow_inplace.cc | 45 ++---
src/relax/utils.cc | 17 +-
src/tir/analysis/is_pure_function.cc | 97 ++++++++++
src/tir/ir/function.cc | 43 +++++
src/tir/ir/specialize.cc | 10 +-
src/tir/transforms/renew_defs.cc | 6 +-
tests/python/relax/test_analysis_well_formed.py | 46 +++++
.../relax/test_backend_transform_shape_lower.py | 84 +++++++++
tests/python/relax/test_relax_operators.py | 195 ++++++++++++++++-----
tests/python/relax/test_transform.py | 12 +-
.../relax/test_transform_compute_prim_value.py | 104 +++++++++++
tests/python/relax/test_tvmscript_parser.py | 147 +++++++++++++++-
tests/python/relax/test_utils.py | 65 +++++++
tests/python/relax/test_vm_codegen_tir.py | 2 +-
.../test_tir_analysis_is_pure_function.py | 104 +++++++++++
tests/python/tir-base/test_tir_specialize.py | 27 ++-
.../python/tvmscript/test_tvmscript_parser_tir.py | 109 ++++++++++++
31 files changed, 1230 insertions(+), 141 deletions(-)
create mode 100644 src/relax/transform/compute_prim_value.cc
create mode 100644 src/tir/analysis/is_pure_function.cc
create mode 100644 tests/python/relax/test_transform_compute_prim_value.py
create mode 100644
tests/python/tir-analysis/test_tir_analysis_is_pure_function.py