This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from b7c85e3a53 [REFACTOR] Use FFI types in runtime inline module-create
wrapper signatures (#19449)
add 216be63e57 [REFACTOR][CODEGEN] Phase out tvm_global_barrier_state and
tvm_prepare_global_barrier (#19454)
add e55e3c3a5d [BugFix][Relax][ONNX] Honor auto_pad in ConvTranspose
converter (#19450)
add 57cbc5eeed [REFACTOR] Phase out unreachable contrib/rust_extension.cc
(#19458)
add f42a279b56 [REFACTOR] Move source_utils.h into runtime/opencl (#19456)
add 200f4fd5cd [REFACTOR][NODE] Migrate ReprPrinter to tvm-ffi
__ffi_repr__ mechanism (#19461)
add 410b4cf931 [REFACTOR] Phase out src/support/ffi_testing.cc (#19459)
add b915cac0bf [Relax][Frontend][TFLite] Add soft-NMS support for TFLite
NON_MAX_SUPPRESSION_V5 (#19426)
add 70cfd9907d [REFACTOR][S-TIR] Minimize src/support/ by relocating
s_tir-private headers (#19460)
add 97a34a9a04 [REFACTOR][RUNTIME] Macro cleanup — TVM_DLL alignment,
[[maybe_unused]], logging.h legacy macros (#19457)
add 4e5b869c27 [REFACTOR][RUNTIME] Phase out profiling.h heavy types,
rename to timer.h (#19455)
add 11ac2ad97c [REFACTOR][NODE] Use fn_repr inside kRepr lambdas, not
ffi::ReprPrint (#19462)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 1 -
apps/android_rpc/app/src/main/jni/Application.mk | 2 +-
apps/android_rpc/app/src/main/jni/tvm_runtime.h | 5 +-
apps/ios_rpc/tvmrpc.xcodeproj/project.pbxproj | 2 -
cmake/modules/LibInfo.cmake | 1 -
docs/arch/relax_vm.rst | 18 +-
docs/reference/api/python/index.rst | 1 -
docs/reference/api/python/runtime/profiling.rst | 21 -
include/tvm/ir/expr.h | 2 +-
include/tvm/ir/op.h | 2 +-
include/tvm/ir/transform.h | 2 +-
include/tvm/node/functor.h | 30 +-
include/tvm/node/{repr_printer.h => repr.h} | 56 +-
include/tvm/node/repr_printer.h | 116 +--
include/tvm/node/script_printer.h | 2 +-
include/tvm/relax/attrs/vision.h | 8 +-
include/tvm/relax/exec_builder.h | 2 +-
include/tvm/runtime/base.h | 76 +-
include/tvm/runtime/device_api.h | 4 -
include/tvm/runtime/disco/session.h | 2 +-
include/tvm/runtime/logging.h | 79 +-
include/tvm/runtime/profiling.h | 590 -------------
include/tvm/runtime/timer.h | 195 +++++
include/tvm/runtime/vm/executable.h | 2 -
include/tvm/runtime/vm/vm.h | 9 -
include/tvm/s_tir/meta_schedule/mutator.h | 2 +
include/tvm/s_tir/schedule/instruction.h | 2 +-
include/tvm/support/parallel_for.h | 93 --
include/tvm/target/tag.h | 2 +-
include/tvm/target/target_kind.h | 2 +-
include/tvm/tirx/builtin.h | 6 -
python/tvm/relax/frontend/onnx/onnx_frontend.py | 58 +-
.../tvm/relax/frontend/tflite/tflite_frontend.py | 39 +-
python/tvm/relax/op/vision/nms.py | 24 +-
python/tvm/relax/training/trainer.py | 47 --
python/tvm/relax/transform/legalize_ops/vision.py | 2 +
python/tvm/runtime/__init__.py | 1 -
python/tvm/runtime/profiling/__init__.py | 272 ------
python/tvm/runtime/profiling/_ffi_api.py | 21 -
python/tvm/runtime/vm.py | 32 +-
python/tvm/s_tir/backend/adreno/pipeline.py | 2 -
python/tvm/s_tir/pipeline.py | 2 -
python/tvm/support.py | 24 -
python/tvm/testing/__init__.py | 18 -
python/tvm/testing/attrs.py | 30 -
python/tvm/testing/popen_pool.py | 43 +-
python/tvm/topi/testing/nms_python.py | 78 +-
python/tvm/topi/vision/nms.py | 326 ++++---
src/arith/canonical_simplify.cc | 35 +-
src/arith/const_int_bound.cc | 10 +-
src/arith/int_constraints.cc | 22 +-
src/arith/int_set.cc | 7 +-
src/arith/iter_affine_map.cc | 19 +-
src/arith/modular_set.cc | 8 +-
src/arith/presburger_set.cc | 10 +-
src/arith/rewrite_simplify.cc | 11 +-
src/contrib/rust_extension.cc | 31 -
src/ir/env_func.cc | 6 +-
src/ir/expr.cc | 10 +-
src/ir/instrument.cc | 8 +-
src/ir/op.cc | 6 +-
src/ir/source_map.cc | 60 +-
src/ir/structural_equal.cc | 2 +-
src/ir/structural_hash.cc | 84 +-
src/ir/transform.cc | 57 +-
src/node/container_printing.cc | 52 +-
src/node/repr.cc | 97 +++
src/node/repr_printer.cc | 189 +----
src/node/script_printer.cc | 9 +-
src/relax/analysis/layout_transformation.cc | 19 +-
src/relax/ir/dataflow_pattern.cc | 34 +-
src/relax/ir/emit_te.cc | 7 +-
src/relax/ir/expr.cc | 2 -
src/relax/ir/transform.cc | 18 +-
src/relax/op/vision/nms.cc | 29 +-
src/relax/op/vision/nms.h | 4 +-
src/relax/transform/fold_constant.cc | 2 +-
src/relax/transform/utils.h | 6 +-
src/runtime/contrib/clml/clml_runtime.cc | 154 +---
src/runtime/contrib/clml/clml_runtime.h | 1 -
src/runtime/contrib/json/json_runtime.h | 36 -
src/runtime/cuda/cuda_device_api.cc | 4 +-
src/runtime/cuda/cuda_module.cc | 53 --
src/runtime/disco/bcast_session.cc | 4 +-
src/runtime/hexagon/hexagon_common.cc | 6 +-
src/runtime/memory/pooled_allocator.h | 2 +-
src/runtime/metal/metal_device_api.mm | 4 +-
src/runtime/minrpc/minrpc_server.h | 2 +-
src/runtime/opencl/opencl_common.h | 2 +-
src/runtime/opencl/opencl_device_api.cc | 6 +-
src/runtime/opencl/opencl_module.cc | 2 +-
src/runtime/opencl/opencl_module_spirv.cc | 2 +-
.../{source_utils.cc => opencl/source_utils.h} | 23 +-
src/runtime/profiling.cc | 937 ---------------------
src/runtime/rocm/rocm_device_api.cc | 4 +-
src/runtime/rpc/rpc_device_api.cc | 2 +-
src/runtime/rpc/rpc_endpoint.cc | 4 +-
src/runtime/rpc/rpc_module.cc | 20 +-
src/runtime/rpc/rpc_session.h | 2 +-
src/runtime/rpc/testing.cc | 5 +-
src/runtime/source_utils.h | 44 -
src/runtime/timer.cc | 176 ++++
src/runtime/vm/executable.cc | 7 -
src/runtime/vm/module_utils.h | 8 +-
src/runtime/vm/vm.cc | 127 +--
src/s_tir/data_layout.cc | 26 +-
src/s_tir/meta_schedule/arg_info.cc | 24 +-
src/s_tir/meta_schedule/cost_model/cost_model.cc | 15 +-
.../feature_extractor/feature_extractor.cc | 10 +-
.../measure_callback/measure_callback.cc | 10 +-
src/s_tir/meta_schedule/mutator/mutator.cc | 9 +-
src/s_tir/meta_schedule/postproc/postproc.cc | 9 +-
.../meta_schedule/schedule_rule/add_rfactor.cc | 2 +-
.../schedule_rule/multi_level_tiling.h | 2 +-
.../meta_schedule/schedule_rule/schedule_rule.cc | 9 +-
src/s_tir/meta_schedule/utils.h | 10 +-
src/s_tir/schedule/error.h | 6 +-
src/s_tir/schedule/instruction.cc | 17 +-
src/s_tir/schedule/instruction_traits.h | 22 +-
src/s_tir/schedule/primitive/compute_at.cc | 4 +-
src/s_tir/schedule/primitive/compute_inline.cc | 4 +-
src/s_tir/schedule/primitive/decompose_padding.cc | 2 +-
.../schedule/primitive/loop_transformation.cc | 10 +-
src/s_tir/schedule/trace.cc | 12 +-
src/s_tir/schedule/transform.cc | 2 +-
src/s_tir/schedule/utils.h | 4 +-
.../array.h => s_tir/support/array_utils.h} | 6 +-
src/{ => s_tir}/support/nd_int_set.h | 6 +-
.../support/parallel_for.h} | 72 +-
src/{ => s_tir}/support/table_printer.h | 6 +-
src/s_tir/transform/compact_buffer_region.cc | 2 +-
src/s_tir/transform/thread_storage_sync.cc | 139 +--
src/script/printer/ir/utils.h | 2 +-
src/script/printer/relax/utils.h | 2 +-
src/script/printer/tirx/utils.h | 2 +-
src/script/printer/utils.h | 28 +-
src/support/arena.h | 151 +++-
src/support/ffi_testing.cc | 271 ------
src/support/generic_arena.h | 183 ----
src/support/hexdump.h | 82 --
src/support/libinfo.cc | 1 -
src/support/{scalars.h => limits.h} | 37 +-
src/support/scalars.cc | 192 -----
src/target/llvm/codegen_hexagon.cc | 2 +-
src/target/source/codegen_cuda.cc | 56 +-
src/target/source/codegen_cuda.h | 7 -
src/target/target.cc | 13 +-
src/target/target_kind.cc | 11 +-
src/target/virtual_device.cc | 63 +-
src/te/operation/compute_op.cc | 8 +-
src/te/operation/create_primfunc.cc | 1 -
src/te/operation/extern_op.cc | 7 +-
src/te/operation/placeholder_op.cc | 7 +-
src/te/operation/scan_op.cc | 6 +-
src/te/tensor.cc | 6 +-
src/tirx/ir/expr.cc | 11 +-
src/tirx/ir/transform.cc | 10 +-
src/tirx/op/builtin.cc | 3 -
tests/cpp/ir_functor_test.cc | 2 +-
tests/cpp/parallel_for_test.cc | 159 ----
tests/cpp/support_test.cc | 19 -
tests/cpp/target_test.cc | 2 +-
.../test_runtime_packed_func.py | 159 ----
tests/python/contrib/test_popen_pool.py | 12 +-
tests/python/ir/test_ir_attrs.py | 24 -
tests/python/ir/test_ir_container.py | 25 -
tests/python/ir/test_node_reflection.py | 24 -
tests/python/relax/test_codegen_coreml.py | 4 +-
tests/python/relax/test_frontend_onnx.py | 31 +
tests/python/relax/test_frontend_tflite.py | 129 ++-
tests/python/relax/test_op_vision.py | 124 +++
.../python/relax/test_training_trainer_numeric.py | 3 +-
.../relax/test_tvmscript_parser_op_vision.py | 70 ++
tests/python/relax/test_vm_profiler.py | 129 ---
tests/python/runtime/test_runtime_container.py | 175 ----
tests/python/runtime/test_runtime_error.py | 124 ---
.../tirx-base/test_tir_structural_equal_hash.py | 14 -
.../tirx-transform/test_tir_transform_vectorize.py | 2 +-
web/emcc/tvmjs_support.cc | 1 -
web/emcc/wasm_runtime.cc | 3 +-
web/emcc/webgpu_runtime.cc | 1 -
181 files changed, 1990 insertions(+), 5693 deletions(-)
delete mode 100644 docs/reference/api/python/runtime/profiling.rst
copy include/tvm/node/{repr_printer.h => repr.h} (69%)
delete mode 100644 include/tvm/runtime/profiling.h
create mode 100644 include/tvm/runtime/timer.h
delete mode 100644 include/tvm/support/parallel_for.h
delete mode 100644 python/tvm/runtime/profiling/__init__.py
delete mode 100644 python/tvm/runtime/profiling/_ffi_api.py
delete mode 100644 python/tvm/testing/attrs.py
delete mode 100644 src/contrib/rust_extension.cc
create mode 100644 src/node/repr.cc
rename src/runtime/{source_utils.cc => opencl/source_utils.h} (69%)
delete mode 100644 src/runtime/profiling.cc
delete mode 100644 src/runtime/source_utils.h
create mode 100644 src/runtime/timer.cc
rename src/{support/array.h => s_tir/support/array_utils.h} (98%)
rename src/{ => s_tir}/support/nd_int_set.h (97%)
rename src/{support/parallel_for.cc => s_tir/support/parallel_for.h} (59%)
rename src/{ => s_tir}/support/table_printer.h (97%)
delete mode 100644 src/support/ffi_testing.cc
delete mode 100644 src/support/generic_arena.h
delete mode 100644 src/support/hexdump.h
rename src/support/{scalars.h => limits.h} (62%)
delete mode 100644 src/support/scalars.cc
delete mode 100644 tests/cpp/parallel_for_test.cc
delete mode 100644
tests/python/all-platform-minimal-test/test_runtime_packed_func.py
delete mode 100644 tests/python/relax/test_vm_profiler.py
delete mode 100644 tests/python/runtime/test_runtime_container.py