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 ba994d32f9 [FFI][REFACTOR] Migrate the Save/Load JSON to the new
reflection (#18188)
add a3ee59253e [FFI][REFACTOR] Phase out getattr based attribute handling
(#18189)
add a40a1407b6 [FFI][REFACTOR] Refactor AccessPath to enable full tree
repr (#18191)
add 16300ce374 [FFI] Phase out ObjectPath in favor of AccessPath (#18192)
add 49e519ecef Bump cutlass_fpA_intB_gemm to latest commit (#18193)
No new revisions were added by this update.
Summary of changes:
3rdparty/cutlass_fpA_intB_gemm | 2 +-
docs/reference/api/python/relax/op.rst | 1 +
docs/reference/api/python/tir/transform.rst | 1 +
ffi/CMakeLists.txt | 2 +-
ffi/include/tvm/ffi/c_api.h | 2 +-
ffi/include/tvm/ffi/container/tuple.h | 4 -
ffi/include/tvm/ffi/reflection/access_path.h | 297 +++++++++++++++++-
ffi/include/tvm/ffi/reflection/registry.h | 24 +-
ffi/src/ffi/extra/reflection_extra.cc | 144 +++++++++
ffi/src/ffi/extra/serialization.cc | 13 +-
ffi/src/ffi/extra/structural_equal.cc | 15 +-
ffi/src/ffi/object.cc | 80 -----
ffi/src/ffi/reflection/access_path.cc | 34 --
ffi/tests/cpp/extra/test_structural_equal_hash.cc | 72 ++---
ffi/tests/cpp/test_reflection.cc | 104 +++++++
include/tvm/node/object_path.h | 287 -----------------
include/tvm/node/repr_printer.h | 46 +++
include/tvm/node/script_printer.h | 8 +-
include/tvm/node/structural_equal.h | 24 +-
include/tvm/relax/attrs/op.h | 30 +-
include/tvm/script/printer/doc.h | 26 +-
include/tvm/script/printer/ir_docsifier.h | 13 +-
include/tvm/script/printer/ir_docsifier_functor.h | 2 +-
python/tvm/arith/iter_affine_map.py | 6 +
python/tvm/contrib/msc/core/ir/graph.py | 4 +-
python/tvm/ffi/__init__.py | 5 +
python/tvm/ffi/access_path.py | 181 +++++++++++
python/tvm/ffi/cython/function.pxi | 15 +-
python/tvm/ffi/cython/object.pxi | 74 ++---
python/tvm/ffi/serialization.py | 67 ++++
python/tvm/ir/attrs.py | 14 +-
python/tvm/ir/base.py | 17 +-
python/tvm/relax/dpl/pattern.py | 2 +-
python/tvm/relax/expr.py | 5 +
python/tvm/relax/op/_op_gradient.py | 4 +-
python/tvm/relax/op/manipulate.py | 1 +
python/tvm/relax/op/op_attrs.py | 155 +++++++++
python/tvm/runtime/__init__.py | 1 -
python/tvm/runtime/_ffi_node_api.py | 8 -
python/tvm/runtime/object.py | 11 -
python/tvm/runtime/object_path.py | 144 ---------
python/tvm/runtime/script_printer.py | 34 +-
python/tvm/script/printer/doc.py | 40 +--
python/tvm/script/printer/doc_printer.py | 6 +-
python/tvm/te/tensor.py | 20 --
python/tvm/testing/__init__.py | 1 +
.../ir_builder/ir/frame.py => testing/attrs.py} | 14 +-
python/tvm/tir/transform/transform.py | 42 +++
src/contrib/msc/core/ir/graph_builder.cc | 6 +-
src/node/object_path.cc | 345 ---------------------
src/node/reflection.cc | 74 +----
src/node/repr_printer.cc | 10 +
src/node/script_printer.cc | 6 +-
src/node/structural_equal.cc | 80 +----
src/node/structural_hash.cc | 2 +-
src/relax/ir/emit_te.h | 2 +-
src/script/printer/doc.cc | 4 +-
src/script/printer/doc_printer/base_doc_printer.cc | 16 +-
src/script/printer/doc_printer/base_doc_printer.h | 6 +-
src/script/printer/ir/distributed.cc | 4 +-
src/script/printer/ir/ir.cc | 18 +-
src/script/printer/ir/misc.cc | 10 +-
src/script/printer/ir_docsifier.cc | 2 +-
src/script/printer/relax/binding.cc | 8 +-
src/script/printer/relax/call.cc | 53 ++--
src/script/printer/relax/distributed.cc | 10 +-
src/script/printer/relax/expr.cc | 26 +-
src/script/printer/relax/function.cc | 12 +-
src/script/printer/relax/region.cc | 18 +-
src/script/printer/relax/struct_info.cc | 30 +-
src/script/printer/relax/tir.cc | 10 +-
src/script/printer/relax/type.cc | 20 +-
src/script/printer/relax/utils.h | 6 +-
src/script/printer/tir/block.cc | 28 +-
src/script/printer/tir/buffer.cc | 42 +--
src/script/printer/tir/expr.cc | 56 ++--
src/script/printer/tir/for_loop.cc | 2 +-
src/script/printer/tir/function.cc | 18 +-
src/script/printer/tir/ir.cc | 14 +-
src/script/printer/tir/stmt.cc | 40 +--
src/script/printer/tir/utils.h | 10 +-
src/script/printer/utils.h | 2 +-
src/tir/analysis/deep_equal.cc | 1 -
src/tir/analysis/is_pure_function.cc | 8 +-
src/tir/analysis/verify_well_formed.cc | 22 +-
src/tir/ir/tir_visitor_with_path.cc | 111 +++----
src/tir/ir/tir_visitor_with_path.h | 165 +++++-----
src/tir/transforms/hoist_expression.cc | 4 +-
tests/python/ffi/test_access_path.py | 133 ++++++++
tests/python/ffi/test_container.py | 7 +
tests/python/ir/test_container_structural_equal.py | 30 +-
tests/python/ir/test_ir_attrs.py | 4 +-
tests/python/ir/test_object_path.py | 159 ----------
.../test_transform_legalize_ops_manipulate.py | 7 +-
tests/python/runtime/test_runtime_rpc.py | 1 -
.../tir-base/test_tir_structural_equal_hash.py | 28 +-
.../tvmscript/test_tvmscript_printer_annotation.py | 12 +-
.../python/tvmscript/test_tvmscript_printer_doc.py | 5 +-
.../test_tvmscript_printer_structural_equal.py | 30 +-
.../test_tvmscript_printer_underlining.py | 14 +-
100 files changed, 1865 insertions(+), 1968 deletions(-)
create mode 100644 ffi/src/ffi/extra/reflection_extra.cc
delete mode 100644 ffi/src/ffi/reflection/access_path.cc
delete mode 100644 include/tvm/node/object_path.h
create mode 100644 python/tvm/ffi/access_path.py
create mode 100644 python/tvm/ffi/serialization.py
delete mode 100644 python/tvm/runtime/object_path.py
copy python/tvm/{script/ir_builder/ir/frame.py => testing/attrs.py} (73%)
delete mode 100644 src/node/object_path.cc
create mode 100644 tests/python/ffi/test_access_path.py
delete mode 100644 tests/python/ir/test_object_path.py