This is an automated email from the ASF dual-hosted git repository.
jroesch pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git.
from 7a08ae4 [CI] Split Integration tests out of first phase of pipeline
(#9128)
add 86ce111 Arm(R) Ethos(TM)-U NPU codegen integration (#8849)
No new revisions were added by this update.
Summary of changes:
.../tvm/relay/backend/contrib/ethosu/__init__.py | 1 +
python/tvm/relay/backend/contrib/ethosu/codegen.py | 83 ++++++
.../tvm/relay/backend/contrib/ethosu/legalize.py | 6 +
python/tvm/relay/backend/contrib/ethosu/util.py | 12 +
src/relay/backend/aot_executor_codegen.cc | 1 -
src/relay/backend/contrib/ethosu/source_module.cc | 320 +++++++++++++++++++++
.../python/contrib/test_ethosu}/__init__.py | 2 +-
tests/python/contrib/test_ethosu/infra.py | 228 +++++++++++++++
.../reference_system/arm-none-eabi-gcc.cmake | 79 +++++
.../test_ethosu/reference_system/ethosu_55.h | 20 +-
.../test_ethosu/reference_system/ethosu_mod.h | 59 ++++
.../test_ethosu/reference_system/hard_fault.h | 53 ++++
tests/python/contrib/test_ethosu/test_codegen.py | 174 +++++++++++
.../contrib/test_ethosu/test_encode_constants.py | 2 +-
tests/python/contrib/test_ethosu/test_legalize.py | 3 +-
tests/python/contrib/test_ethosu/test_networks.py | 65 +++++
.../contrib/test_ethosu/test_replace_conv2d.py | 2 +-
.../contrib/test_ethosu/test_replace_copy.py | 2 +-
tests/python/contrib/test_ethosu/test_scheduler.py | 2 +-
tests/python/relay/aot/aot_test_utils.py | 201 +++++++++----
tests/python/relay/aot/corstone300.ld | 8 +
tests/python/relay/aot/corstone300.mk | 23 +-
tests/python/relay/aot/test_crt_aot.py | 21 +-
23 files changed, 1279 insertions(+), 88 deletions(-)
create mode 100644 python/tvm/relay/backend/contrib/ethosu/codegen.py
create mode 100644 src/relay/backend/contrib/ethosu/source_module.cc
copy {python/tvm/_ffi/_ctypes => tests/python/contrib/test_ethosu}/__init__.py
(92%)
create mode 100644
tests/python/contrib/test_ethosu/reference_system/arm-none-eabi-gcc.cmake
copy apps/ios_rpc/tvmrpc/main.m =>
tests/python/contrib/test_ethosu/reference_system/ethosu_55.h (71%)
create mode 100644
tests/python/contrib/test_ethosu/reference_system/ethosu_mod.h
create mode 100644
tests/python/contrib/test_ethosu/reference_system/hard_fault.h
create mode 100644 tests/python/contrib/test_ethosu/test_codegen.py
create mode 100644 tests/python/contrib/test_ethosu/test_networks.py