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 d5371954d4 [chore] cleanup unsed legacy backtrac code in logging
(#18781)
add c1b6e50411 [REFACTOR][RUNTIME] Transition metadata into ffi (#18784)
add 7e36a1ed8b [DOC] Fix PYTHONPATH in "Install from Source" (#18770)
add 8e59a56e18 [CONTRIB] Cache the shape and dtype array in json access
(#18786)
add 2030db36e4 [REFACTOR][TARGET] Phase out legacy target string in favor
of json (#18785)
add c6b3feac48 [CI] Update images to `20260214-152058-2a448ce4` (#18775)
No new revisions were added by this update.
Summary of changes:
apps/android_rpc/tests/android_rpc_test.py | 2 +-
apps/ios_rpc/tests/ios_rpc_test.py | 2 +-
ci/jenkins/docker-images.ini | 11 +-
docs/how_to/tutorials/cross_compilation_and_rpc.py | 32 +-
.../how_to/tutorials/export_and_load_executable.py | 2 +-
docs/install/from_source.rst | 2 +-
include/tvm/runtime/serializer.h | 34 -
include/tvm/support/serializer.h | 79 ++
include/tvm/target/target.h | 5 +-
python/tvm/contrib/hexagon/pytest_plugin.py | 20 +-
python/tvm/exec/gpu_memory_bandwidth.py | 2 +-
python/tvm/relax/frontend/torch/dynamo.py | 4 +-
python/tvm/relax/pipeline.py | 2 +-
python/tvm/runtime/module.py | 17 +-
python/tvm/s_tir/dlight/benchmark/bench.py | 10 +-
python/tvm/s_tir/dlight/benchmark/extract.py | 19 +-
.../meta_schedule/testing/validate_database.py | 2 +-
python/tvm/target/target.py | 519 +++++++------
python/tvm/testing/plugin.py | 18 +-
python/tvm/testing/utils.py | 56 +-
src/contrib/msc/core/codegen/codegen_json.cc | 7 +-
src/relax/backend/contrib/clml/codegen.cc | 36 +-
.../backend/contrib/codegen_json/codegen_json.h | 139 ++--
src/relax/backend/contrib/cublas/codegen.cc | 5 +-
src/relax/backend/contrib/cudnn/codegen.cc | 13 +-
src/relax/backend/contrib/nnapi/codegen.cc | 91 +--
src/relax/backend/contrib/tensorrt/codegen.cc | 28 +-
src/relax/backend/vm/codegen_vm.cc | 1 +
src/runtime/contrib/arm_compute_lib/acl_runtime.cc | 47 +-
src/runtime/contrib/arm_compute_lib/acl_utils.cc | 24 +-
src/runtime/contrib/arm_compute_lib/acl_utils.h | 5 +-
src/runtime/contrib/bnns/bnns_json_runtime.cc | 52 +-
src/runtime/contrib/clml/clml_runtime.cc | 89 ++-
src/runtime/contrib/clml/clml_utils.cc | 4 +-
src/runtime/contrib/cublas/cublas_json_runtime.cc | 2 +-
src/runtime/contrib/cudnn/cudnn_json_runtime.cc | 30 +-
src/runtime/contrib/dnnl/dnnl_json_runtime.cc | 59 +-
src/runtime/contrib/json/json_node.h | 212 ++----
src/runtime/contrib/msc/tensorrt_runtime.cc | 6 +-
src/runtime/contrib/nnapi/nnapi_ops.cc | 58 +-
src/runtime/contrib/nnapi/nnapi_runtime.cc | 3 +-
src/runtime/contrib/tensorrt/tensorrt_builder.cc | 2 +-
src/runtime/contrib/tensorrt/tensorrt_ops.cc | 380 +++++-----
src/runtime/contrib/tensorrt/tensorrt_ops.h | 4 +-
src/runtime/contrib/tensorrt/tensorrt_runtime.cc | 7 +-
src/runtime/cuda/cuda_module.cc | 29 +-
src/runtime/cuda/cuda_module.h | 6 +-
src/runtime/file_utils.cc | 94 ++-
src/runtime/file_utils.h | 11 +-
src/runtime/hexagon/hexagon_module.cc | 10 +-
src/runtime/hexagon/hexagon_module.h | 16 +-
src/runtime/{meta_data.h => metadata.h} | 67 +-
src/runtime/metal/metal_module.h | 4 +-
src/runtime/metal/metal_module.mm | 59 +-
src/runtime/opencl/opencl_common.h | 8 +-
src/runtime/opencl/opencl_module.cc | 28 +-
src/runtime/opencl/opencl_module.h | 8 +-
src/runtime/opencl/opencl_module_spirv.cc | 5 +-
src/runtime/pack_args.h | 26 +-
src/runtime/rocm/rocm_module.cc | 31 +-
src/runtime/rocm/rocm_module.h | 7 +-
src/runtime/rpc/rpc_endpoint.cc | 2 +-
src/runtime/thread_storage_scope.h | 6 +-
src/runtime/vulkan/vulkan_module.cc | 9 +-
src/runtime/vulkan/vulkan_module.h | 5 +-
src/runtime/vulkan/vulkan_wrapped_func.cc | 23 +-
src/runtime/vulkan/vulkan_wrapped_func.h | 8 +-
src/target/build_common.h | 25 +-
src/target/llvm/llvm_instance.cc | 90 ++-
src/target/opt/build_cuda_off.cc | 3 +-
src/target/opt/build_hexagon_off.cc | 5 +-
src/target/opt/build_metal_off.cc | 2 +-
src/target/opt/build_opencl_off.cc | 5 +-
src/target/opt/build_rocm_off.cc | 4 +-
src/target/source/codegen_source_base.h | 4 +-
src/target/source/codegen_webgpu.cc | 30 +-
src/target/source/source_module.cc | 8 +-
src/target/target.cc | 420 +----------
tests/cpp-runtime/opencl/opencl_compile_to_bin.cc | 18 +-
tests/cpp/target/virtual_device_test.cc | 8 +-
tests/cpp/target_test.cc | 130 ++--
tests/python/arith/test_arith_rewrite_simplify.py | 2 +-
tests/python/arith/test_arith_simplify.py | 7 +-
tests/python/codegen/test_target_codegen.py | 8 +-
.../python/codegen/test_target_codegen_aarch64.py | 30 +-
tests/python/codegen/test_target_codegen_arm.py | 14 +-
.../codegen/test_target_codegen_cross_llvm.py | 4 +-
tests/python/codegen/test_target_codegen_device.py | 11 +-
.../codegen/test_target_codegen_gpu_common.py | 4 +-
tests/python/codegen/test_target_codegen_llvm.py | 11 +-
.../python/codegen/test_target_codegen_llvm_vla.py | 50 +-
tests/python/codegen/test_target_codegen_opencl.py | 8 +-
tests/python/codegen/test_target_codegen_riscv.py | 48 +-
tests/python/codegen/test_target_codegen_vulkan.py | 26 +-
tests/python/codegen/test_target_codegen_x86.py | 22 +-
.../python/contrib/test_android/infrastructure.py | 4 +-
tests/python/nightly/test_nnapi/infrastructure.py | 2 +-
.../adreno/test_transform_annotate_custom_scope.py | 2 +-
tests/python/relax/backend/clml/conftest.py | 2 +-
tests/python/relax/backend/clml/utils.py | 4 +-
.../relax/test_backend_dispatch_sort_scan.py | 8 +-
tests/python/relax/test_frontend_dynamo.py | 6 +-
.../relax/test_frontend_from_exported_program.py | 839 ++++++++++-----------
tests/python/relax/test_frontend_nn_op.py | 6 +-
tests/python/relax/test_frontend_onnx.py | 4 +
.../relax/test_meta_schedule_relax_integration.py | 2 +-
.../python/relax/test_transform_few_shot_tuning.py | 2 +-
.../test_transform_meta_schedule_apply_database.py | 2 +-
.../relax/test_transform_meta_schedule_tuning.py | 2 +-
.../python/relax/test_transform_realize_vdevice.py | 14 +-
.../python/relax/test_transform_update_vdevice.py | 4 +-
tests/python/relax/test_tvmscript_parser.py | 10 +-
tests/python/relax/texture/adreno_utils.py | 2 +-
tests/python/relax/texture/test_texture_nd.py | 7 +-
tests/python/runtime/test_runtime_module_load.py | 2 +-
tests/python/runtime/test_runtime_rpc.py | 4 +-
tests/python/s_tir/dlight/test_benchmark.py | 8 +-
tests/python/s_tir/dlight/test_gpu_gemv.py | 4 +-
tests/python/s_tir/dlight/test_gpu_matmul.py | 4 +-
.../meta_schedule/test_meta_schedule_cost_model.py | 2 +-
.../test_meta_schedule_measure_callback.py | 4 +-
.../test_meta_schedule_mutator_mutate_parallel.py | 2 +-
.../test_meta_schedule_mutator_mutate_tile_size.py | 4 +-
.../test_meta_schedule_mutator_mutate_unroll.py | 2 +-
.../test_meta_schedule_post_order_apply.py | 34 +-
...est_meta_schedule_postproc_rewrite_tensorize.py | 2 +-
...meta_schedule_postproc_rewrite_unbound_block.py | 2 +-
...test_meta_schedule_schedule_rule_add_rfactor.py | 4 +-
...eta_schedule_schedule_rule_apply_custom_rule.py | 2 +-
.../test_meta_schedule_schedule_rule_mlt_intrin.py | 8 +-
.../test_meta_schedule_schedule_rule_mlt_tc.py | 22 +-
...dule_schedule_rule_parallel_vectorize_unroll.py | 4 +-
.../test_meta_schedule_space_post_opt.py | 2 +-
.../test_meta_schedule_trace_apply.py | 2 +-
.../meta_schedule/test_meta_schedule_tune_tir.py | 4 +-
.../s_tir/schedule/test_tir_schedule_split_fuse.py | 6 +-
tests/python/target/test_arm_target.py | 76 +-
tests/python/target/test_llvm_features_info.py | 4 +-
tests/python/target/test_riscv_features.py | 20 +-
tests/python/target/test_target_parser_mprofile.py | 8 +-
tests/python/target/test_target_target.py | 76 +-
tests/python/target/test_x86_features.py | 161 ++--
tests/python/testing/test_tvm_testing_features.py | 23 +-
tests/python/tir-base/test_tir_intrin.py | 2 +-
.../tir-transform/test_tir_transform_helpers.py | 21 +-
.../test_tir_transform_split_host_device.py | 12 +-
.../tir-transform/test_tir_transform_vectorize.py | 16 +-
tests/scripts/task_python_integration_gpuonly.sh | 4 +-
tests/scripts/task_python_unittest_gpuonly.sh | 7 +-
web/emcc/webgpu_runtime.cc | 22 +-
web/tests/python/prepare_test_libs.py | 6 +-
web/tests/python/relax_rpc_test.py | 4 +-
web/tests/python/webgpu_rpc_test.py | 4 +-
153 files changed, 2468 insertions(+), 2649 deletions(-)
delete mode 100644 include/tvm/runtime/serializer.h
rename src/runtime/{meta_data.h => metadata.h} (52%)