Brings the `v0.25.0` release branch up to `main` as of 383c4465 (#19752) by cherry-picking, in order, the 47 commits that landed after rc0. Each commit keeps its original authorship and a `(cherry picked from commit …)` line, and the resulting tree is identical to `main@383c4465`.
Motivation: rc0 is missing recent changes we want in the release — notably the out-of-tree backend autoload (#19727), the tvm-ffi object/JSON migrations and per-backend runtime DSOs, and a batch of LLVM-version test gates that keep CI green. Notes: - History is linear (no merge commits). Please use **"Rebase and merge"** so the branch stays linear. - The rc1 version bump (version.py / web/package.json / base.h) and tagging will follow as a separate step. You can view, comment on, or merge this pull request online at: https://github.com/apache/tvm/pull/19774 -- Commit Summary -- * [Relax][PyTorch] Cast non-bool inputs to bool in logical_and converter (#19679) * [CI] Remove PyPI-only tag ref guard from wheel publishing (#19685) * [Web] Bump tvmjs version to 0.25.0-dev1 (#19687) * [Fix] CommReduce could handle 0-dim data (#19683) * [CI] Pin actions by version tag, trim wheel perms (#19703) * [Tests] Fix s_tir tests using removed T.block API in TIRx script (#19706) * [CI] Fix release verification script (#19700) * [Refactor][Meta-schedule] Remove meta-schedule as_string mechanism in favor of default representation (#19709) * [Relax][CoreML] Fix CoreML partition pass (#19711) * [Tests] Skip test modules cleanly when optional deps are missing (#19704) * [CI] Merge PR against its target branch instead of main (#19712) * [CI] Fix CI script test subprocess environment (#19713) * [Codegen][LLVM] Accept splat form in VLA broadcast test (#19716) * [DOCS] Clarify loading serialized artifacts requires a trusted source (#19720) * [REFACTOR][PYTHON] Slim tvm.libinfo to info-only helpers (#19719) * [Codegen][NVPTX] Skip runtime execution in Vulkan codegen tests (#19717) * [REFACTOR][PYTHON] Remove tvm.ffi shim; import tvm_ffi directly (#19721) * [Runtime][Tests] Fix contrib wheel tests (#19714) * [Tests][Disco] Skip CCL tests when runtime support is absent (#19724) * [Tests][Relax] Gate multi-GPU VM test on three devices (#19725) * [REFACTOR][IR] Phase out diagnostic.h for visit-context-aware pass errors (#19722) * [Tests][Hexagon] Lazily import pytest plugin dependencies (#19726) * [Python] Refactor pyproject.toml dependencies (#19723) * [Tests][NNAPI] Skip tests cleanly when remote environment is unavailable (#19730) * [Tests][S-TIR] Fix stale MetaSchedule sketch expectations and migrate let binds to T.let (#19729) * [Tests] Remove test_runtime_ndarray (covered by tvm-ffi) (#19715) * [TIRx] Preserve Triton call_kernel compile options (#19728) * [Relax][PyTorch][DLight] Fix exported-program CUDA test failures (#19732) * [PYTHON] Autoload backends; simplify library loading; remove TVMError for native errors (#19727) * [Script][Tests] Fix dialect redirect module re-execution and stray category-less tirx.intrin_test op (#19731) * [S-TIR][Tests] Fix transform test failures after TIRx bringup (#19735) * [TIRx] Use canonical PTX async script API in s_tir test (#19739) * [Tests] Check WebGPU volatile allreduce annotation structurally (#19740) * [S-TIR] Fix software pipeline offsets for legacy MMA intrinsics (#19742) * [Tests] Fix flaky popen pool executor test (#19746) * [Hexagon][Tests] Clean up stale hexagon tests (#19747) * [Runtime][Disco] Fix session attribute storage, NVSHMEM build, and test gating (#19736) * [CI] Align cuda-python with PyTorch cuda-bindings (#19738) * [Codegen][LLVM][Tests] Gate +v9a vscale_range expectation on LLVM version (#19744) * [Runtime][Tests] Drop int4 from random_fill test, fix dtype error message (#19748) * [Tests][LLVM] Gate stepvector intrinsic rename on LLVM 20 (#19745) * [S-TIR][Tests] Mark test_cp_async_in_if_then_else as xfail (#19751) * [CI] Run s_tir/transform tests in the python-unittest stage (#19737) * [CI] Updated cibw to 4.1.0 (#19754) * [TIRX][Tests] Fix LLVM version gate for vectorized lround (#19753) * [S-TIR][CUDA] Fix legacy predicated cp.async zero fill (#19741) * [Tests][AArch64] Make SVE codegen assertions robust across LLVM versions (#19752) -- File Changes -- M .github/actions/build-wheel-for-publish/action.yml (8) M .github/actions/setup/action.yml (6) M .github/workflows/cc_bot.yml (2) M .github/workflows/lint.yml (4) M .github/workflows/main.yml (4) M .github/workflows/nightly_docker_update.yml (2) M .github/workflows/ping_reviewers.yml (2) M .github/workflows/publish_wheel.yml (43) M .github/workflows/tag_teams.yml (2) M .github/workflows/tvmbot.yml (2) M .github/workflows/update_last_successful_branch.yml (2) M .github/workflows/update_nightly_branch.yml (2) M ci/jenkins/generated/arm_jenkinsfile.groovy (24) M ci/jenkins/generated/cpu_jenkinsfile.groovy (24) M ci/jenkins/generated/docker_jenkinsfile.groovy (24) M ci/jenkins/generated/gpu_jenkinsfile.groovy (24) M ci/jenkins/generated/wasm_jenkinsfile.groovy (24) M ci/jenkins/templates/utils/Prepare.groovy.j2 (22) M ci/scripts/package/manylinux_build_libtvm_runtime_cuda.sh (24) M docker/install/ubuntu_install_cuda_python.sh (2) M docs/contribute/error_handling.rst (2) M docs/install/from_source.rst (4) M docs/reference/api/python/ir.rst (6) M docs/reference/security.rst (3) M include/tvm/arith/iter_affine_map.h (1) D include/tvm/ir/diagnostic.h (268) M include/tvm/ir/transform.h (31) M include/tvm/relax/analysis.h (25) M include/tvm/relax/block_builder.h (7) M include/tvm/s_tir/meta_schedule/cost_model.h (22) M include/tvm/s_tir/meta_schedule/feature_extractor.h (13) M include/tvm/s_tir/meta_schedule/measure_callback.h (13) M include/tvm/s_tir/meta_schedule/mutator.h (12) M include/tvm/s_tir/meta_schedule/postproc.h (13) M include/tvm/s_tir/meta_schedule/schedule_rule.h (13) M include/tvm/topi/reduction.h (5) M pyproject.toml (15) M python/tvm/__init__.py (12) A python/tvm/_autoload_backends.py (50) M python/tvm/base.py (102) M python/tvm/contrib/hexagon/build.py (11) M python/tvm/contrib/hexagon/pytest_plugin.py (44) M python/tvm/contrib/hexagon/session.py (2) M python/tvm/contrib/tvmjs.py (7) M python/tvm/error.py (12) D python/tvm/ffi.py (21) M python/tvm/ir/__init__.py (2) M python/tvm/ir/base.py (2) D python/tvm/ir/diagnostics/__init__.py (121) D python/tvm/ir/diagnostics/_ffi_api.py (21) M python/tvm/ir/module.py (2) M python/tvm/ir/utils.py (6) M python/tvm/libinfo.py (311) M python/tvm/relax/analysis/__init__.py (1) M python/tvm/relax/analysis/analysis.py (37) M python/tvm/relax/backend/adreno/transform/_ffi_api.py (4) M python/tvm/relax/backend/contrib/example_npu/README.md (2) M python/tvm/relax/backend/contrib/example_npu/patterns.py (11) M python/tvm/relax/backend/metal/coreml.py (12) M python/tvm/relax/binding_rewrite.py (2) M python/tvm/relax/distributed/struct_info.py (3) M python/tvm/relax/expr.py (4) M python/tvm/relax/frontend/nn/exporter.py (2) M python/tvm/relax/frontend/onnx/onnx_frontend.py (17) M python/tvm/relax/frontend/tflite/tflite_frontend.py (4) M python/tvm/relax/frontend/torch/base_fx_graph_translator.py (36) M python/tvm/relax/frontend/torch/exported_program_translator.py (26) M python/tvm/relax/frontend/torch/fx_translator.py (1) M python/tvm/relax/ir/instrument.py (2) M python/tvm/relax/op/_op_gradient.py (5) M python/tvm/relax/training/setup_trainer.py (7) M python/tvm/relax/training/trainer.py (6) M python/tvm/rpc/base.py (4) M python/tvm/rpc/client.py (5) M python/tvm/rpc/minrpc.py (14) M python/tvm/rpc/proxy.py (3) M python/tvm/rpc/server.py (16) M python/tvm/rpc/tracker.py (3) M python/tvm/runtime/disco/session.py (15) M python/tvm/runtime/module.py (10) M python/tvm/s_tir/dlight/gpu/fallback.py (33) M python/tvm/s_tir/meta_schedule/cost_model/cost_model.py (15) M python/tvm/s_tir/meta_schedule/cost_model/mlp_model.py (3) M python/tvm/s_tir/meta_schedule/feature_extractor/feature_extractor.py (9) M python/tvm/s_tir/meta_schedule/measure_callback/measure_callback.py (9) M python/tvm/s_tir/meta_schedule/mutator/mutator.py (15) M python/tvm/s_tir/meta_schedule/postproc/postproc.py (15) M python/tvm/s_tir/meta_schedule/schedule_rule/schedule_rule.py (15) M python/tvm/s_tir/meta_schedule/utils.py (34) M python/tvm/s_tir/schedule/schedule.py (4) M python/tvm/s_tir/transform/transform.py (3) M python/tvm/script/__init__.py (33) M python/tvm/script/parser/core/diagnostics.py (126) M python/tvm/script/parser/core/entry.py (6) M python/tvm/script/parser/core/parser.py (3) M python/tvm/support/cc.py (15) M python/tvm/support/clang.py (3) M python/tvm/support/emcc.py (49) M python/tvm/support/ndk.py (7) M python/tvm/support/nvcc.py (9) M python/tvm/support/rocm.py (5) M python/tvm/support/tar.py (5) M python/tvm/support/xcode.py (5) M python/tvm/testing/utils.py (18) M python/tvm/tirx/operator/intrinsics/cuda/cp_async.py (14) M python/tvm/tirx/script/builder/triton.py (25) M python/tvm/tirx/transform/transform.py (3) D src/ir/diagnostic.cc (368) M src/ir/transform.cc (115) M src/relax/analysis/struct_info_analysis.cc (22) M src/relax/analysis/well_formed.cc (207) M src/relax/ir/block_builder.cc (11) M src/relax/ir/transform.cc (58) M src/relax/op/ccl/ccl.cc (10) M src/relax/op/distributed/binary.h (5) M src/relax/op/distributed/distributed.cc (33) M src/relax/op/distributed/linear_algebra.cc (24) M src/relax/op/distributed/manipulate.cc (40) M src/relax/op/distributed/nn.cc (11) M src/relax/op/distributed/op.cc (8) M src/relax/op/distributed/statistical.cc (7) M src/relax/op/distributed/unary.h (7) M src/relax/op/image/resize.cc (107) M src/relax/op/memory/view.cc (13) M src/relax/op/nn/attention.cc (38) M src/relax/op/nn/convolution.cc (107) M src/relax/op/nn/nn.cc (210) M src/relax/op/op.cc (106) M src/relax/op/op_common.cc (49) M src/relax/op/op_common.h (82) M src/relax/op/tensor/binary.cc (5) M src/relax/op/tensor/create.cc (88) M src/relax/op/tensor/grad.cc (9) M src/relax/op/tensor/index.cc (25) M src/relax/op/tensor/linear_algebra.cc (49) M src/relax/op/tensor/manipulate.cc (522) M src/relax/op/tensor/qdq.cc (69) M src/relax/op/tensor/sampling.cc (71) M src/relax/op/tensor/search.cc (14) M src/relax/op/tensor/ternary.cc (18) M src/relax/op/vision/multibox_transform_loc.cc (80) M src/relax/op/vision/nms.cc (99) M src/relax/op/vision/roi_align.cc (47) M src/relax/op/vision/roi_pool.cc (43) M src/runtime/extra/contrib/nvshmem/dist_gemm.cu (18) M src/runtime/extra/contrib/random/mt_random_engine.cc (28) M src/s_tir/meta_schedule/cost_model/cost_model.cc (10) M src/s_tir/meta_schedule/feature_extractor/feature_extractor.cc (4) M src/s_tir/meta_schedule/measure_callback/measure_callback.cc (6) M src/s_tir/meta_schedule/mutator/mutator.cc (4) M src/s_tir/meta_schedule/postproc/postproc.cc (4) M src/s_tir/meta_schedule/schedule_rule/schedule_rule.cc (4) M src/s_tir/transform/inject_permuted_layout.cc (28) M src/s_tir/transform/inject_software_pipeline.cc (17) M src/s_tir/transform/memhammer_coalesce.cc (1) M src/tirx/transform/common_subexpr_elim.cc (26) D tests/python/all-platform-minimal-test/test_runtime_ndarray.py (77) M tests/python/arith/test_arith_analyzer_object.py (2) M tests/python/arith/test_arith_rewrite_simplify.py (8) M tests/python/arith/test_arith_simplify.py (4) M tests/python/ci/test_utils.py (4) M tests/python/codegen/test_target_codegen.py (8) M tests/python/codegen/test_target_codegen_aarch64.py (27) M tests/python/codegen/test_target_codegen_blob.py (3) M tests/python/codegen/test_target_codegen_cross_llvm.py (2) M tests/python/codegen/test_target_codegen_cuda.py (2) M tests/python/codegen/test_target_codegen_llvm.py (8) M tests/python/codegen/test_target_codegen_llvm_vla.py (7) M tests/python/codegen/test_target_codegen_vulkan.py (76) M tests/python/contrib/test_android/test_meta_schedule.py (2) M tests/python/contrib/test_cblas.py (2) M tests/python/contrib/test_hexagon/conftest.py (12) D tests/python/contrib/test_hexagon/test_2d_physical_buffers.py (355) M tests/python/contrib/test_hexagon/test_benchmark_maxpool2d.py (2) D tests/python/contrib/test_hexagon/test_fixed_point_conversion.py (70) M tests/python/contrib/test_hexagon/test_meta_schedule.py (2) M tests/python/contrib/test_hexagon/test_relax_integration.py (2) M tests/python/contrib/test_hexagon/test_take.py (6) M tests/python/contrib/test_hexagon/test_vtcm.py (2) M tests/python/contrib/test_memoize.py (8) M tests/python/contrib/test_random.py (3) M tests/python/contrib/test_rpc_tracker.py (2) M tests/python/contrib/test_tir_triton_integration.py (10) M tests/python/disco/test_ccl.py (5) M tests/python/disco/test_custom_allreduce.py (5) M tests/python/disco/test_loader.py (10) M tests/python/disco/test_nvshmem.py (206) M tests/python/disco/test_session.py (109) M tests/python/ir/test_roundtrip_runtime_module.py (1) M tests/python/nightly/test_nnapi/conftest.py (24) M tests/python/nightly/test_nnapi/test_network.py (5) M tests/python/relax/backend/adreno/test_texture_network.py (5) M tests/python/relax/distributed/test_distributed_dtensor_sinfo.py (3) M tests/python/relax/nvshmem/test_runtime_builtin_kv_cache_transfer.py (3) M tests/python/relax/test_analysis_struct_info_analysis.py (8) M tests/python/relax/test_analysis_suggest_layout_transforms.py (4) M tests/python/relax/test_analysis_well_formed.py (142) M tests/python/relax/test_bind_params.py (4) M tests/python/relax/test_bind_symbolic_vars.py (10) M tests/python/relax/test_binding_rewrite.py (3) M tests/python/relax/test_blockbuilder_core.py (14) M tests/python/relax/test_codegen_coreml.py (48) M tests/python/relax/test_codegen_cublas.py (3) M tests/python/relax/test_codegen_cudnn.py (3) M tests/python/relax/test_codegen_cutlass.py (3) M tests/python/relax/test_codegen_hipblas.py (3) M tests/python/relax/test_e2e_op_dynamic.py (3) M tests/python/relax/test_expr.py (2) M tests/python/relax/test_fast_math_transform.py (2) M tests/python/relax/test_frontend_from_exported_program.py (274) M tests/python/relax/test_frontend_from_fx.py (28) M tests/python/relax/test_frontend_nn_extern_module.py (16) M tests/python/relax/test_frontend_onnx.py (6) M tests/python/relax/test_frontend_onnx_backend.py (4) M tests/python/relax/test_meta_schedule_relax_integration.py (2) M tests/python/relax/test_op_binary.py (4) M tests/python/relax/test_op_ccl.py (2) M tests/python/relax/test_op_create.py (74) M tests/python/relax/test_op_datatype.py (6) M tests/python/relax/test_op_distributed.py (5) M tests/python/relax/test_op_grad.py (9) M tests/python/relax/test_op_image.py (75) M tests/python/relax/test_op_index.py (54) M tests/python/relax/test_op_linear_algebra.py (18) M tests/python/relax/test_op_manipulate.py (362) M tests/python/relax/test_op_nn.py (168) M tests/python/relax/test_op_nn_convolution.py (176) M tests/python/relax/test_op_nn_pooling.py (164) M tests/python/relax/test_op_search.py (30) M tests/python/relax/test_op_set.py (12) M tests/python/relax/test_op_sort.py (6) M tests/python/relax/test_op_statistical.py (24) M tests/python/relax/test_op_ternary.py (14) M tests/python/relax/test_op_unary.py (10) M tests/python/relax/test_op_view.py (18) M tests/python/relax/test_op_vision.py (69) M tests/python/relax/test_relax_operators.py (3) M tests/python/relax/test_runtime_builtin_paged_attention_kv_cache_cpu.py (3) M tests/python/relax/test_runtime_builtin_paged_attention_kv_cache_flashinfer.py (3) M tests/python/relax/test_runtime_builtin_rnn_state.py (2) M tests/python/relax/test_struct_info.py (6) M tests/python/relax/test_training_append_loss.py (15) M tests/python/relax/test_training_setup_trainer.py (4) M tests/python/relax/test_training_trainer_numeric.py (6) M tests/python/relax/test_transform_bind_symbolic_vars.py (2) M tests/python/relax/test_transform_bundle_model_params.py (4) M tests/python/relax/test_transform_codegen_pass.py (4) A tests/python/relax/test_transform_error_enrichment.py (103) M tests/python/relax/test_transform_fold_constant.py (2) M tests/python/relax/test_transform_fuse_ops_by_pattern.py (6) M tests/python/relax/test_transform_fuse_tir.py (2) M tests/python/relax/test_transform_gradient.py (31) M tests/python/relax/test_transform_gradient_te_register.py (2) M tests/python/relax/test_transform_lambda_lift.py (2) M tests/python/relax/test_transform_legalize_ops_manipulate.py (2) M tests/python/relax/test_transform_legalize_ops_search_statistical.py (32) M tests/python/relax/test_transform_lift_transform_params.py (9) M tests/python/relax/test_transform_normalize_global_var.py (8) M tests/python/relax/test_transform_operator_specific_normalization.py (6) M tests/python/relax/test_transform_rewrite_cuda_graph.py (4) M tests/python/relax/test_transform_static_plan_block_memory.py (6) M tests/python/relax/test_tvmscript_parser.py (4) M tests/python/relax/test_vm_build.py (9) M tests/python/relax/test_vm_builtin_lower.py (2) M tests/python/relax/test_vm_cuda_graph.py (2) M tests/python/relax/test_vm_execbuilder.py (4) M tests/python/relax/test_vm_multi_device.py (4) M tests/python/runtime/test_runtime_module_load.py (4) M tests/python/runtime/test_runtime_rpc.py (4) M tests/python/s_tir/dlight/test_benchmark.py (2) M tests/python/s_tir/dlight/test_gpu_general_reduction.py (16) M tests/python/s_tir/meta_schedule/test_meta_schedule_builder.py (1) M tests/python/s_tir/meta_schedule/test_meta_schedule_cost_model.py (37) M tests/python/s_tir/meta_schedule/test_meta_schedule_feature_extractor.py (17) M tests/python/s_tir/meta_schedule/test_meta_schedule_measure_callback.py (20) M tests/python/s_tir/meta_schedule/test_meta_schedule_post_order_apply.py (3) M tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_layout.py (4) M tests/python/s_tir/meta_schedule/test_meta_schedule_postproc_rewrite_parallel_vectorize_unroll.py (14) M tests/python/s_tir/meta_schedule/test_meta_schedule_runner.py (2) M tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_add_rfactor.py (28) M tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_auto_inline.py (4) M tests/python/s_tir/meta_schedule/test_meta_schedule_schedule_rule_cross_thread_reduction.py (36) M tests/python/s_tir/meta_schedule/test_meta_schedule_space_cuda.py (18) M tests/python/s_tir/meta_schedule/test_meta_schedule_space_cuda_async.py (2) M tests/python/s_tir/meta_schedule/test_meta_schedule_space_generator.py (3) M tests/python/s_tir/meta_schedule/test_meta_schedule_tune_tir.py (2) M tests/python/s_tir/schedule/test_tir_schedule_compute_inline.py (8) M tests/python/s_tir/schedule/test_tir_schedule_rfactor.py (2) M tests/python/s_tir/schedule/test_tir_schedule_transform_layout.py (4) M tests/python/s_tir/schedule/test_tir_schedule_utilities.py (4) M tests/python/s_tir/transform/test_s_tir_transform_compact_buffer_region.py (18) M tests/python/s_tir/transform/test_s_tir_transform_convert_blocks_to_opaque.py (2) M tests/python/s_tir/transform/test_s_tir_transform_default_gpu_schedule.py (4) M tests/python/s_tir/transform/test_s_tir_transform_hoist_expression.py (10) M tests/python/s_tir/transform/test_s_tir_transform_inject_ptx_async_copy.py (216) M tests/python/s_tir/transform/test_s_tir_transform_inject_software_pipeline.py (2) M tests/python/s_tir/transform/test_s_tir_transform_lower_cross_thread_reduction.py (30) M tests/python/s_tir/transform/test_s_tir_transform_lower_match_buffer.py (7) M tests/python/s_tir/transform/test_s_tir_transform_lower_opaque_block.py (41) M tests/python/s_tir/transform/test_s_tir_transform_lower_thread_all_reduce.py (14) -- Patch Links -- https://github.com/apache/tvm/pull/19774.patch https://github.com/apache/tvm/pull/19774.diff -- Reply to this email directly or view it on GitHub: https://github.com/apache/tvm/pull/19774 You are receiving this because you are subscribed to this thread. Message ID: <apache/tvm/pull/[email protected]>
