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 44fac51d3c [Relax][ONNX] Replace deprecated 
`mapping.TENSOR_TYPE_TO_NP_TYPE` usage (#18016)
     add bcae402e6c Fix FLOP estimation for EvaluateNode by implementing 
VisitStmt_ handler (#17974)
     add 29de9ab2e3 Add op support for slice_scatter (#18019)
     add 4289efa0d5 [REFACTOR][PYTHON] Phase out tvm._ffi and Limited API 
support (#18020)

No new revisions were added by this update.

Summary of changes:
 docs/arch/pass_infra.rst                           |   2 +-
 include/tvm/relax/attrs/manipulate.h               |   9 ++
 python/setup.py                                    |  14 +-
 python/tvm/__init__.py                             |   5 +-
 python/tvm/_ffi/__init__.py                        |  31 -----
 python/tvm/_ffi/_pyversion.py                      |  26 ----
 python/tvm/_ffi/registry.py                        |  29 ----
 python/tvm/arith/_ffi_api.py                       |   4 +-
 python/tvm/arith/analyzer.py                       |   6 +-
 python/tvm/arith/int_set.py                        |   6 +-
 python/tvm/arith/int_solver.py                     |   8 +-
 python/tvm/arith/iter_affine_map.py                |  10 +-
 python/tvm/{_ffi => }/base.py                      |  17 +--
 python/tvm/contrib/cc.py                           |   2 +-
 python/tvm/contrib/clang.py                        |   2 +-
 python/tvm/contrib/coreml_runtime.py               |   4 +-
 python/tvm/contrib/cudnn.py                        |   4 +-
 python/tvm/contrib/cutlass/_ffi_api.py             |   4 +-
 python/tvm/contrib/cutlass/build.py                |   2 +-
 python/tvm/contrib/cutlass/gen_tensor_op.py        |   4 +-
 python/tvm/contrib/emcc.py                         |   4 +-
 python/tvm/contrib/hexagon/build.py                |   2 +-
 python/tvm/contrib/hexagon/tools.py                |   2 +-
 python/tvm/contrib/miopen.py                       |   4 +-
 python/tvm/contrib/mrvl.py                         |  22 +--
 python/tvm/contrib/msc/core/_ffi_api.py            |   4 +-
 python/tvm/contrib/msc/core/ir/graph.py            |  12 +-
 .../contrib/msc/framework/tensorflow/_ffi_api.py   |   4 +-
 .../tvm/contrib/msc/framework/tensorrt/_ffi_api.py |   4 +-
 python/tvm/contrib/msc/framework/torch/_ffi_api.py |   4 +-
 python/tvm/contrib/msc/framework/tvm/_ffi_api.py   |   4 +-
 python/tvm/contrib/msc/plugin/_ffi_api.py          |   4 +-
 python/tvm/contrib/msc/plugin/op/_ffi_api.py       |   4 +-
 python/tvm/contrib/ndk.py                          |   4 +-
 python/tvm/contrib/nnpack.py                       |   4 +-
 python/tvm/contrib/nvcc.py                         |  16 +--
 python/tvm/contrib/pickle_memoize.py               |   3 +-
 python/tvm/contrib/random.py                       |   4 +-
 python/tvm/contrib/rocm.py                         |  10 +-
 python/tvm/contrib/spirv.py                        |   2 +-
 python/tvm/contrib/tar.py                          |   2 +-
 python/tvm/contrib/tflite_runtime.py               |   4 +-
 python/tvm/contrib/thrust.py                       |   2 +-
 python/tvm/contrib/tvmjs.py                        |   2 +-
 python/tvm/contrib/xcode.py                        |   2 +-
 python/tvm/dlight/analysis/common_analysis.py      |   2 +-
 python/tvm/driver/_ffi_api.py                      |   4 +-
 python/tvm/exec/disco_worker.py                    |   2 +-
 python/tvm/generic.py                              |  19 ---
 python/tvm/ir/_ffi_analysis_api.py                 |   4 +-
 python/tvm/ir/_ffi_api.py                          |   4 +-
 python/tvm/ir/_ffi_instrument_api.py               |   4 +-
 python/tvm/ir/_ffi_transform_api.py                |   4 +-
 python/tvm/ir/attrs.py                             |   6 +-
 python/tvm/ir/base.py                              |   4 +-
 python/tvm/ir/diagnostics/__init__.py              |   8 +-
 python/tvm/ir/diagnostics/_ffi_api.py              |   4 +-
 python/tvm/ir/expr.py                              |   6 +-
 python/tvm/ir/instrument.py                        |   6 +-
 python/tvm/ir/module.py                            |  11 +-
 python/tvm/ir/op.py                                |   4 +-
 python/tvm/ir/supply.py                            |   4 +-
 python/tvm/ir/transform.py                         |  12 +-
 python/tvm/ir/type.py                              |  10 +-
 python/tvm/ir/type_relation.py                     |   6 +-
 python/tvm/{_ffi => }/libinfo.py                   |   4 +-
 python/tvm/meta_schedule/_ffi_api.py               |   2 +-
 python/tvm/meta_schedule/arg_info.py               |   2 +-
 python/tvm/meta_schedule/builder/builder.py        |   2 +-
 python/tvm/meta_schedule/builder/local_builder.py  |   2 +-
 python/tvm/meta_schedule/cost_model/cost_model.py  |   2 +-
 python/tvm/meta_schedule/cost_model/mlp_model.py   |   2 +-
 python/tvm/meta_schedule/database/database.py      |   2 +-
 python/tvm/meta_schedule/database/json_database.py |   2 +-
 .../tvm/meta_schedule/database/memory_database.py  |   2 +-
 .../database/ordered_union_database.py             |   2 +-
 .../meta_schedule/database/schedule_fn_database.py |   2 +-
 .../tvm/meta_schedule/database/union_database.py   |   2 +-
 python/tvm/meta_schedule/extracted_task.py         |   2 +-
 .../feature_extractor/feature_extractor.py         |   2 +-
 .../feature_extractor/per_store_feature.py         |   2 +-
 .../measure_callback/add_to_database.py            |   2 +-
 .../measure_callback/measure_callback.py           |   2 +-
 .../measure_callback/remove_build_artifact.py      |   2 +-
 .../measure_callback/update_cost_model.py          |   2 +-
 .../mutator/mutate_compute_location.py             |   2 +-
 .../tvm/meta_schedule/mutator/mutate_parallel.py   |   2 +-
 .../meta_schedule/mutator/mutate_thread_binding.py |   2 +-
 .../tvm/meta_schedule/mutator/mutate_tile_size.py  |   2 +-
 python/tvm/meta_schedule/mutator/mutate_unroll.py  |   2 +-
 python/tvm/meta_schedule/mutator/mutator.py        |   4 +-
 .../postproc/disallow_async_strided_mem_copy.py    |   2 +-
 .../postproc/disallow_dynamic_loop.py              |   2 +-
 python/tvm/meta_schedule/postproc/postproc.py      |   2 +-
 .../postproc/rewrite_cooperative_fetch.py          |   2 +-
 .../tvm/meta_schedule/postproc/rewrite_layout.py   |   2 +-
 .../postproc/rewrite_parallel_vectorize_unroll.py  |   2 +-
 .../postproc/rewrite_reduction_block.py            |   2 +-
 .../meta_schedule/postproc/rewrite_tensorize.py    |   2 +-
 .../postproc/rewrite_unbound_block.py              |   2 +-
 .../tvm/meta_schedule/postproc/verify_gpu_code.py  |   2 +-
 .../meta_schedule/postproc/verify_vtcm_limit.py    |   2 +-
 python/tvm/meta_schedule/profiler.py               |   2 +-
 python/tvm/meta_schedule/relax_integration.py      |   2 +-
 python/tvm/meta_schedule/runner/runner.py          |   2 +-
 .../tvm/meta_schedule/schedule_rule/add_rfactor.py |   2 +-
 .../schedule_rule/apply_custom_rule.py             |   2 +-
 .../tvm/meta_schedule/schedule_rule/auto_bind.py   |   2 +-
 .../tvm/meta_schedule/schedule_rule/auto_inline.py |   2 +-
 .../schedule_rule/cross_thread_reduction.py        |   2 +-
 .../schedule_rule/multi_level_tiling.py            |   2 +-
 .../schedule_rule/parallel_vectorize_unroll.py     |   2 +-
 .../schedule_rule/random_compute_location.py       |   2 +-
 .../meta_schedule/schedule_rule/schedule_rule.py   |   2 +-
 .../search_strategy/evolutionary_search.py         |   2 +-
 .../meta_schedule/search_strategy/replay_func.py   |   2 +-
 .../meta_schedule/search_strategy/replay_trace.py  |   2 +-
 .../search_strategy/search_strategy.py             |   2 +-
 .../space_generator/post_order_apply.py            |   2 +-
 .../meta_schedule/space_generator/schedule_fn.py   |   2 +-
 .../space_generator/space_generator.py             |   2 +-
 .../space_generator/space_generator_union.py       |   2 +-
 .../meta_schedule/task_scheduler/gradient_based.py |   2 +-
 .../meta_schedule/task_scheduler/round_robin.py    |   2 +-
 .../meta_schedule/task_scheduler/task_scheduler.py |   2 +-
 .../tvm/meta_schedule/testing/validate_database.py |   8 +-
 python/tvm/meta_schedule/tir_integration.py        |   2 +-
 python/tvm/meta_schedule/tune_context.py           |   2 +-
 python/tvm/meta_schedule/utils.py                  |   2 +-
 python/tvm/relax/_ffi_api.py                       |   4 +-
 python/tvm/relax/analysis/_ffi_api.py              |   4 +-
 python/tvm/relax/backend/_ffi_api.py               |   4 +-
 python/tvm/relax/backend/metal/coreml.py           |   6 +-
 python/tvm/relax/binding_rewrite.py                |   4 +-
 python/tvm/relax/block_builder.py                  |   2 +-
 python/tvm/relax/distributed/_ffi_api.py           |   4 +-
 python/tvm/relax/distributed/global_info.py        |   2 +-
 python/tvm/relax/distributed/struct_info.py        |   6 +-
 python/tvm/relax/distributed/transform/_ffi_api.py |   4 +-
 python/tvm/relax/dpl/_ffi.py                       |   4 +-
 python/tvm/relax/dpl/pattern.py                    |   2 +-
 python/tvm/relax/dpl/rewrite.py                    |   2 +-
 python/tvm/relax/exec_builder.py                   |   2 +-
 python/tvm/relax/expr.py                           |  45 +++---
 python/tvm/relax/expr_functor.py                   |   4 +-
 .../frontend/torch/base_fx_graph_translator.py     |  13 ++
 .../frontend/torch/exported_program_translator.py  |   1 +
 python/tvm/relax/frontend/torch/fx_translator.py   |   1 +
 python/tvm/relax/op/__init__.py                    |   1 +
 python/tvm/relax/op/_ffi_api.py                    |   4 +-
 python/tvm/relax/op/_op_gradient.py                |   4 +-
 python/tvm/relax/op/builtin/_ffi_api.py            |   4 +-
 python/tvm/relax/op/ccl/_ffi_api.py                |   4 +-
 python/tvm/relax/op/distributed/_ffi_api.py        |   4 +-
 python/tvm/relax/op/grad/_ffi_api.py               |   4 +-
 python/tvm/relax/op/image/_ffi_api.py              |   4 +-
 python/tvm/relax/op/manipulate.py                  |  38 +++++
 python/tvm/relax/op/memory/_ffi_api.py             |   4 +-
 python/tvm/relax/op/nn/_ffi_api.py                 |   4 +-
 python/tvm/relax/op/op_attrs.py                    |  72 +++++-----
 python/tvm/relax/op/vm/_ffi_api.py                 |   4 +-
 python/tvm/relax/struct_info.py                    |  14 +-
 python/tvm/relax/testing/transform.py              |   2 +-
 python/tvm/relax/training/_ffi_api.py              |   4 +-
 python/tvm/relax/training/utils.py                 |   2 +-
 python/tvm/relax/transform/_ffi_api.py             |   4 +-
 .../tvm/relax/transform/legalize_ops/manipulate.py |  14 ++
 python/tvm/relax/transform/transform.py            |   8 +-
 python/tvm/relax/transform/tuning_api/_ffi_api.py  |   4 +-
 python/tvm/relax/transform/tuning_api/database.py  |   2 +-
 .../transform/tuning_api/default_functions.py      |   2 +-
 .../tvm/relax/transform/tuning_api/primitives.py   |   2 +-
 python/tvm/relax/ty.py                             |  10 +-
 python/tvm/rpc/_ffi_api.py                         |   4 +-
 python/tvm/rpc/base.py                             |   2 +-
 python/tvm/rpc/client.py                           |   6 +-
 python/tvm/rpc/minrpc.py                           |   2 +-
 python/tvm/rpc/proxy.py                            |   2 +-
 python/tvm/rpc/server.py                           |  12 +-
 python/tvm/rpc/tracker.py                          |   2 +-
 python/tvm/runtime/_ffi_api.py                     |   4 +-
 python/tvm/runtime/_ffi_node_api.py                |   4 +-
 python/tvm/runtime/disco/_ffi_api.py               |   2 +-
 python/tvm/runtime/disco/process_pool.py           |   2 +-
 python/tvm/runtime/disco/session.py                |   2 +-
 python/tvm/runtime/module.py                       |   4 +-
 python/tvm/runtime/ndarray.py                      |   2 +-
 python/tvm/runtime/object_path.py                  |  20 +--
 python/tvm/runtime/profiling/__init__.py           |   2 +-
 python/tvm/runtime/profiling/_ffi_api.py           |   4 +-
 python/tvm/runtime/relax_vm.py                     |   8 +-
 python/tvm/runtime/script_printer.py               |   2 +-
 python/tvm/runtime/support.py                      |   4 +-
 python/tvm/script/_ffi_api.py                      |   4 +-
 python/tvm/script/ir_builder/_ffi_api.py           |   4 +-
 python/tvm/script/ir_builder/base.py               |   2 +-
 python/tvm/script/ir_builder/ir/_ffi_api.py        |   4 +-
 python/tvm/script/ir_builder/ir/frame.py           |   2 +-
 python/tvm/script/ir_builder/relax/_ffi_api.py     |   4 +-
 .../ir_builder/relax/distributed/_ffi_api.py       |   4 +-
 .../tvm/script/ir_builder/relax/distributed/ir.py  |   5 +-
 python/tvm/script/ir_builder/relax/frame.py        |   2 +-
 python/tvm/script/ir_builder/relax/ir.py           |   2 +
 python/tvm/script/ir_builder/tir/_ffi_api.py       |   4 +-
 python/tvm/script/ir_builder/tir/frame.py          |   2 +-
 python/tvm/script/parser/core/parser.py            |   2 +-
 python/tvm/script/printer/_ffi_api.py              |   4 +-
 python/tvm/script/printer/doc.py                   |   2 +-
 python/tvm/support.py                              |   4 +-
 python/tvm/target/_ffi_api.py                      |   4 +-
 python/tvm/target/datatype.py                      |   4 +-
 python/tvm/target/detect_target.py                 |   2 +-
 python/tvm/target/target.py                        |   8 +-
 python/tvm/target/virtual_device.py                |   2 +-
 python/tvm/target/x86.py                           |   2 +-
 python/tvm/te/_ffi_api.py                          |   4 +-
 python/tvm/te/operation.py                         |   7 +-
 python/tvm/te/tensor.py                            |  14 +-
 python/tvm/testing/_ffi_api.py                     |   4 +-
 python/tvm/testing/popen_pool.py                   |   6 +-
 python/tvm/testing/utils.py                        |   2 +-
 python/tvm/tir/_ffi_api.py                         |   4 +-
 python/tvm/tir/analysis/_ffi_api.py                |   4 +-
 python/tvm/tir/block_dependence_info.py            |   2 +-
 python/tvm/tir/block_scope.py                      |   2 +-
 python/tvm/tir/buffer.py                           |   9 +-
 python/tvm/tir/data_layout.py                      |   6 +-
 python/tvm/tir/expr.py                             |  72 +++++-----
 python/tvm/tir/function.py                         |   8 +-
 python/tvm/tir/ir_builder.py                       |   5 +-
 python/tvm/tir/op.py                               |   4 +-
 python/tvm/tir/schedule/_ffi_api.py                |   4 +-
 python/tvm/tir/schedule/analysis.py                |   6 +-
 python/tvm/tir/schedule/instruction.py             |   2 +-
 python/tvm/tir/schedule/schedule.py                |   2 +-
 python/tvm/tir/schedule/state.py                   |   2 +-
 python/tvm/tir/schedule/trace.py                   |   2 +-
 python/tvm/tir/stmt.py                             |  42 +++---
 python/tvm/tir/tensor_intrin/cuda.py               |   2 +-
 python/tvm/tir/transform/_ffi_api.py               |   4 +-
 python/tvm/tir/transform/function_pass.py          |   4 +-
 python/tvm/topi/__init__.py                        |   3 +-
 python/tvm/topi/cpp/cuda.py                        |   4 +-
 python/tvm/topi/cpp/generic.py                     |   4 +-
 python/tvm/topi/cpp/impl.py                        |   4 +-
 python/tvm/topi/cpp/nn.py                          |   4 +-
 python/tvm/topi/cpp/rocm.py                        |   4 +-
 python/tvm/topi/cpp/utils.py                       |   4 +-
 python/tvm/topi/cpp/vision/__init__.py             |   4 +-
 python/tvm/topi/cpp/vision/yolo.py                 |   4 +-
 python/tvm/topi/cpp/x86.py                         |   4 +-
 python/tvm/topi/generic_op_impl.py                 |   2 +-
 python/tvm/topi/slice_scatter.py                   |  74 ++++++++++
 src/relax/op/tensor/manipulate.cc                  | 155 +++++++++++++++++++++
 src/relax/op/tensor/manipulate.h                   |  12 ++
 src/tir/analysis/estimate_flops.cc                 |   1 +
 tests/python/codegen/test_gpu_codegen_allreduce.py |   2 +-
 tests/python/contrib/test_hexagon/test_vtcm.py     |   2 +-
 tests/python/disco/test_loader.py                  |   2 +-
 .../meta_schedule/test_meta_schedule_builder.py    |   4 +-
 .../test_meta_schedule_post_order_apply.py         |   2 +-
 .../meta_schedule/test_meta_schedule_runner.py     |   2 +-
 .../test_meta_schedule_space_generator.py          |   4 +-
 tests/python/relax/test_binding_rewrite.py         |   2 +-
 .../relax/test_frontend_from_exported_program.py   |  45 ++++++
 tests/python/relax/test_frontend_from_fx.py        |  45 ++++++
 .../python/relax/test_frontend_nn_extern_module.py |   4 +-
 tests/python/relax/test_op_distributed.py          |   2 +-
 tests/python/relax/test_op_grad.py                 |   2 +-
 tests/python/relax/test_relax_operators.py         |   2 +-
 tests/python/relax/test_transform_gradient.py      |   2 +-
 tests/python/runtime/test_runtime_error.py         |   2 +-
 tests/python/runtime/test_runtime_rpc.py           |   2 +-
 tests/python/te/test_te_verify_compute.py          |  12 +-
 tests/python/tir-base/test_tir_base.py             |   2 +-
 .../test_tir_transform_inject_ptx_async_copy.py    |   2 +-
 version.py                                         |   4 +-
 277 files changed, 1020 insertions(+), 708 deletions(-)
 delete mode 100644 python/tvm/_ffi/__init__.py
 delete mode 100644 python/tvm/_ffi/_pyversion.py
 delete mode 100644 python/tvm/_ffi/registry.py
 rename python/tvm/{_ffi => }/base.py (86%)
 delete mode 100644 python/tvm/generic.py
 rename python/tvm/{_ffi => }/libinfo.py (98%)
 create mode 100644 python/tvm/topi/slice_scatter.py

Reply via email to