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 4289efa0d5 [REFACTOR][PYTHON] Phase out tvm._ffi and Limited API
support (#18020)
add cac6ff8cfb [TOPI] Support integer type input for log10 (#18015)
add 19395eedd4 [REFACTOR][FFI] Cleanup PackedFunc redirections (#18022)
add ac65e564af [FFI] More strict tuple constructor checking (#18023)
No new revisions were added by this update.
Summary of changes:
apps/hexagon_launcher/launcher_core.cc | 1 -
apps/hexagon_launcher/launcher_core.h | 2 +-
apps/ios_rpc/tvmrpc/RPCServer.mm | 1 -
docs/arch/runtime.rst | 2 +-
ffi/include/tvm/ffi/any.h | 6 +
ffi/include/tvm/ffi/c_api.h | 7 ++
ffi/include/tvm/ffi/container/container_details.h | 10 ++
ffi/include/tvm/ffi/container/tuple.h | 11 +-
ffi/include/tvm/ffi/function.h | 48 ++++++++
ffi/tests/cpp/test_tuple.cc | 28 +++++
include/tvm/ir/attrs.h | 2 +-
include/tvm/ir/env_func.h | 6 +-
include/tvm/ir/source_map.h | 1 -
include/tvm/meta_schedule/builder.h | 2 +-
include/tvm/meta_schedule/cost_model.h | 2 +-
include/tvm/meta_schedule/database.h | 2 +-
include/tvm/meta_schedule/feature_extractor.h | 2 +-
include/tvm/meta_schedule/measure_callback.h | 2 +-
include/tvm/meta_schedule/mutator.h | 2 +-
include/tvm/meta_schedule/postproc.h | 2 +-
include/tvm/meta_schedule/profiler.h | 2 +-
include/tvm/meta_schedule/runner.h | 2 +-
include/tvm/meta_schedule/schedule_rule.h | 2 +-
include/tvm/meta_schedule/search_strategy.h | 2 +-
include/tvm/meta_schedule/space_generator.h | 2 +-
include/tvm/meta_schedule/task_scheduler.h | 2 +-
include/tvm/meta_schedule/tune_context.h | 2 +-
include/tvm/node/reflection.h | 4 +-
include/tvm/node/script_printer.h | 3 +-
include/tvm/relax/dataflow_matcher.h | 2 +-
include/tvm/runtime/disco/disco_worker.h | 2 +-
include/tvm/runtime/disco/session.h | 7 +-
include/tvm/runtime/module.h | 77 +++++++++++-
include/tvm/runtime/packed_func.h | 137 +--------------------
include/tvm/runtime/profiling.h | 3 +-
include/tvm/runtime/relax_vm/executable.h | 2 +-
include/tvm/runtime/relax_vm/vm.h | 2 +-
include/tvm/script/printer/ir_docsifier_functor.h | 2 +-
include/tvm/support/span.h | 109 ----------------
include/tvm/target/codegen.h | 2 +-
include/tvm/tir/op_attr_types.h | 2 +-
include/tvm/topi/utils.h | 2 +-
python/tvm/relax/frontend/nn/extern.py | 6 +-
python/tvm/topi/math.py | 5 +-
src/ir/op.cc | 2 +-
src/node/attr_registry.h | 2 +-
src/node/serialization.cc | 1 -
src/relax/backend/contrib/codegen_c/codegen_c.h | 6 +-
src/relax/backend/contrib/cutlass/codegen.cc | 4 +-
src/relax/transform/fold_constant.cc | 1 +
src/relax/transform/run_codegen.cc | 1 +
src/runtime/const_loader_module.cc | 2 +-
src/runtime/contrib/amx/amx_config.cc | 1 -
src/runtime/contrib/coreml/coreml_runtime.h | 2 +-
src/runtime/contrib/cutlass/fp16_group_gemm.cu | 2 +-
.../contrib/cutlass/fp8_blockwise_scaled_gemm.cu | 2 +-
src/runtime/contrib/cutlass/fp8_gemm.cu | 2 +-
src/runtime/contrib/cutlass/fp8_group_gemm.cu | 2 +-
src/runtime/contrib/cutlass/weight_preprocess.cc | 1 -
src/runtime/contrib/mrvl/mrvl_sw_runtime_lib.h | 2 +-
src/runtime/contrib/mscclpp/allreduce.cu | 2 +-
src/runtime/contrib/nvshmem/init.cc | 1 -
src/runtime/contrib/nvshmem/memory_allocator.cc | 1 -
src/runtime/contrib/tflite/tflite_runtime.h | 3 +-
src/runtime/contrib/vllm/attention_kernels.cu | 2 +-
src/runtime/contrib/vllm/cache_kernels.cu | 2 +-
src/runtime/cuda/cuda_common.h | 2 +-
src/runtime/debug_compile.cc | 4 +-
src/runtime/device_api.cc | 7 +-
src/runtime/disco/bcast_session.cc | 5 +-
src/runtime/disco/bcast_session.h | 2 +-
src/runtime/disco/builtin.cc | 1 -
src/runtime/disco/disco_worker.cc | 15 ++-
src/runtime/disco/disco_worker_thread.h | 2 +-
src/runtime/disco/loader.cc | 5 +-
src/runtime/disco/message_queue.h | 4 +-
src/runtime/disco/process_session.cc | 7 +-
src/runtime/disco/protocol.h | 3 +-
src/runtime/disco/session.cc | 1 -
src/runtime/disco/threaded_session.cc | 4 +-
src/runtime/dso_library.cc | 1 -
src/runtime/hexagon/hexagon_buffer.h | 2 +-
src/runtime/hexagon/hexagon_common.h | 3 +-
src/runtime/hexagon/hexagon_thread_manager.h | 2 +-
src/runtime/hexagon/hexagon_vtcm_pool.h | 2 +-
src/runtime/hexagon/rpc/hexagon/rpc_server.cc | 1 -
src/runtime/hexagon/rpc/simulator/session.cc | 1 -
src/runtime/meta_data.h | 2 +-
src/runtime/metal/metal_common.h | 2 +-
src/runtime/metal/metal_module.h | 2 +-
src/runtime/module.cc | 1 -
src/runtime/opencl/opencl_common.h | 2 +-
src/runtime/opencl/opencl_module.h | 2 +-
src/runtime/pack_args.h | 2 +-
src/runtime/packed_func.cc | 32 -----
src/runtime/profiling.cc | 85 ++++++-------
src/runtime/relax_vm/attn_backend.h | 2 +-
src/runtime/relax_vm/builtin.cc | 50 ++++----
src/runtime/relax_vm/cuda/cuda_graph_builtin.cc | 1 -
src/runtime/relax_vm/hexagon/builtin.cc | 1 -
src/runtime/relax_vm/ndarray_cache_support.cc | 4 +-
src/runtime/relax_vm/paged_kv_cache.cc | 2 +-
src/runtime/relax_vm/vm.cc | 30 ++---
src/runtime/rocm/rocm_common.h | 2 +-
src/runtime/rpc/rpc_channel.cc | 2 +
src/runtime/rpc/rpc_channel.h | 2 +-
src/runtime/rpc/rpc_endpoint.cc | 1 -
src/runtime/rpc/rpc_endpoint.h | 2 +-
src/runtime/rpc/rpc_local_session.cc | 3 +-
src/runtime/rpc/rpc_local_session.h | 2 +-
src/runtime/rpc/rpc_session.cc | 8 +-
src/runtime/rpc/rpc_session.h | 4 +-
src/runtime/spirv/spirv_shader.h | 3 +-
src/runtime/static_library.cc | 1 -
src/runtime/thread_pool.cc | 1 -
src/runtime/thread_storage_scope.h | 2 +-
src/runtime/vulkan/vulkan_common.h | 1 -
src/target/datatype/registry.cc | 1 +
src/target/datatype/registry.h | 1 -
src/target/llvm/llvm_module.cc | 1 -
src/target/source/source_module.cc | 1 -
src/target/spirv/ir_builder.h | 2 +-
src/tir/transforms/make_packed_api.cc | 1 +
src/topi/broadcast.cc | 1 -
src/topi/elemwise.cc | 1 -
src/topi/nn.cc | 1 -
src/topi/reduction.cc | 1 -
src/topi/transform.cc | 1 -
src/topi/utils.cc | 1 -
src/topi/vision.cc | 1 -
tests/cpp-runtime/hexagon/run_all_tests.cc | 1 -
tests/cpp-runtime/hexagon/run_unit_tests.cc | 1 -
tests/cpp/llvm_codegen_registry_test.cc | 1 -
tests/python/relax/frontend_nn_extern_module.cc | 6 +-
134 files changed, 400 insertions(+), 515 deletions(-)
delete mode 100644 include/tvm/support/span.h
delete mode 100644 src/runtime/packed_func.cc