This is an automated email from the ASF dual-hosted git repository.
github-actions[bot] pushed a change to branch nightly
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 527fbf58a7 [Relax] Fix deprecation warning (#19424)
add 21993a5c27 [Backend][Relax] Add NPU BYOC backend example (#19425)
add d7282a32c2 [BugFix][LLVM] Fix `insertDeclare` API mismatch for
ROCm-bundled LLVM 20 (#19390)
No new revisions were added by this update.
Summary of changes:
CMakeLists.txt | 3 +
cmake/modules/LibInfo.cmake | 2 +
.../contrib/{NNAPI.cmake => ExampleNPU.cmake} | 30 +-
cmake/utils/FindLLVM.cmake | 38 ++
docs/how_to/tutorials/byoc_npu_example.py | 193 ++++++
.../relax/backend/contrib/example_npu/README.md | 243 ++++++++
.../backend/contrib/example_npu}/__init__.py | 21 +-
.../relax/backend/contrib/example_npu/patterns.py | 503 ++++++++++++++++
.../contrib/{dnnl => example_npu}/codegen.cc | 39 +-
.../contrib/example_npu/example_npu_runtime.cc | 650 +++++++++++++++++++++
src/support/libinfo.cc | 10 +
src/target/llvm/codegen_llvm.cc | 11 +-
tests/python/contrib/test_example_npu.py | 277 +++++++++
tests/scripts/task_config_build_cpu.sh | 2 +
14 files changed, 1968 insertions(+), 54 deletions(-)
copy cmake/modules/contrib/{NNAPI.cmake => ExampleNPU.cmake} (52%)
create mode 100644 docs/how_to/tutorials/byoc_npu_example.py
create mode 100644 python/tvm/relax/backend/contrib/example_npu/README.md
copy python/tvm/{s_tir/meta_schedule/database =>
relax/backend/contrib/example_npu}/__init__.py (61%)
create mode 100644 python/tvm/relax/backend/contrib/example_npu/patterns.py
copy src/relax/backend/contrib/{dnnl => example_npu}/codegen.cc (66%)
create mode 100644 src/runtime/contrib/example_npu/example_npu_runtime.cc
create mode 100644 tests/python/contrib/test_example_npu.py