You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by gi...@apache.org on 2025/03/08 05:02:45 UTC
(tvm) branch nightly updated (ec548eb614 -> 59d4077842)
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 ec548eb614 [Relax][PyTorch] Add support for gather, flip and take ops (#17707)
add e7c04f554b [Refactor] Introduce base Executable class and `tvm.compile` interface (#17710)
add 85ab5ba143 Fix the get_target_compute_version for sm >= 100 (#17716)
add 59d4077842 [FFI] Phase out ctypes fallback in favor of cython (#17714)
No new revisions were added by this update.
Summary of changes:
docs/how_to/tutorials/optimize_llm.py | 2 +-
include/tvm/relax/exec_builder.h | 6 +-
include/tvm/runtime/relax_vm/executable.h | 30 +-
include/tvm/runtime/relax_vm/vm.h | 2 +-
python/tvm/__init__.py | 2 +-
python/tvm/_ffi/_ctypes/__init__.py | 17 -
python/tvm/_ffi/_ctypes/ndarray.py | 151 ---------
python/tvm/_ffi/_ctypes/object.py | 189 -----------
python/tvm/_ffi/_ctypes/packed_func.py | 354 ---------------------
python/tvm/_ffi/_ctypes/types.py | 116 -------
python/tvm/_ffi/_cy2/__init__.py | 17 -
python/tvm/_ffi/base.py | 3 +
python/tvm/_ffi/registry.py | 23 +-
python/tvm/contrib/hexagon/session.py | 38 +--
python/tvm/contrib/nvcc.py | 12 +-
python/tvm/driver/__init__.py | 4 +-
python/tvm/driver/build_module.py | 85 ++++-
python/tvm/meta_schedule/relax_integration.py | 6 +-
.../meta_schedule/testing/custom_builder_runner.py | 17 +-
python/tvm/meta_schedule/testing/tune_utils.py | 4 +-
python/tvm/relax/__init__.py | 2 +-
python/tvm/relax/exec_builder.py | 6 +-
python/tvm/relax/frontend/nn/core.py | 2 +-
python/tvm/relax/pipeline.py | 1 +
.../transform/tuning_api/default_functions.py | 2 +-
python/tvm/relax/vm_build.py | 136 ++------
python/tvm/runtime/__init__.py | 5 +-
python/tvm/runtime/executable.py | 166 ++++++++++
python/tvm/runtime/ndarray.py | 29 +-
python/tvm/runtime/object.py | 25 +-
python/tvm/runtime/packed_func.py | 20 +-
python/tvm/runtime/relax_vm.py | 17 +-
python/tvm/tir/build.py | 2 +-
python/tvm/tir/pipeline.py | 4 +-
src/relax/backend/vm/codegen_vm.cc | 6 +-
src/relax/backend/vm/exec_builder.cc | 10 +-
src/runtime/relax_vm/executable.cc | 56 ++--
src/runtime/relax_vm/vm.cc | 6 +-
tests/lint/pylintrc | 3 +-
tests/python/driver/test_compile.py | 121 +++++++
tests/python/runtime/test_executable.py | 263 +++++++++++++++
tests/python/runtime/test_runtime_module_load.py | 1 -
tests/python/tvmscript/test_tvmscript_roundtrip.py | 1 +
tests/scripts/task_python_unittest.sh | 7 +-
44 files changed, 806 insertions(+), 1163 deletions(-)
delete mode 100644 python/tvm/_ffi/_ctypes/__init__.py
delete mode 100644 python/tvm/_ffi/_ctypes/ndarray.py
delete mode 100644 python/tvm/_ffi/_ctypes/object.py
delete mode 100644 python/tvm/_ffi/_ctypes/packed_func.py
delete mode 100644 python/tvm/_ffi/_ctypes/types.py
delete mode 100644 python/tvm/_ffi/_cy2/__init__.py
create mode 100644 python/tvm/runtime/executable.py
create mode 100644 tests/python/driver/test_compile.py
create mode 100644 tests/python/runtime/test_executable.py