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 2022/08/09 19:06:06 UTC

[tvm] branch last-successful updated (0c3c08372a -> 4c4fcee4c2)

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch last-successful
in repository https://gitbox.apache.org/repos/asf/tvm.git


    from 0c3c08372a [hexagon][topi] add sliced max_pool2 (#12169)
     add 4c4fcee4c2 [UMA] UMA v1.0 (#12087)

No new revisions were added by this update.

Summary of changes:
 CMakeLists.txt                                     |   2 +
 .../vta/exec => apps/uma/_template}/__init__.py    |   6 +-
 apps/uma/_template/backend.py                      |  45 ++++
 .../conftest.py => apps/uma/_template/codegen.py   |  17 +-
 apps/uma/_template/conv2dnchw.cc                   |  96 +++++++
 apps/uma/_template/passes.py                       | 136 ++++++++++
 .../read_results.py => uma/_template/patterns.py}  |  17 +-
 apps/uma/_template/run.py                          |  82 ++++++
 .../_template/strategies.py}                       |  37 +--
 apps/uma/uma_cli.py                                |  98 +++++++
 cmake/config.cmake                                 |   3 +
 cmake/modules/LibInfo.cmake                        |   1 +
 .../modules/contrib/{CODEGENC.cmake => UMA.cmake}  |   8 +-
 docs/conf.py                                       |   1 +
 gallery/tutorial/uma.py                            | 292 ++++++++++++++++++++
 .../backend/contrib/uma}/__init__.py               |   8 +-
 .../tvm/relay/backend/contrib/uma/api/__init__.py  |  14 +-
 .../contrib/{ethosu => uma/api}/_ffi_api.py        |   3 +-
 .../tvm/relay/backend/contrib/uma/api/codegen.py   |  64 +++++
 python/tvm/relay/backend/contrib/uma/api/lower.py  | 165 ++++++++++++
 .../relay/backend/contrib/uma/api/partitioner.py   | 122 +++++++++
 python/tvm/relay/backend/contrib/uma/api/utils.py  |  73 +++++
 python/tvm/relay/backend/contrib/uma/backend.py    | 293 +++++++++++++++++++++
 python/tvm/relay/op/contrib/dnnl.py                |   2 +
 python/tvm/testing/aot.py                          |  12 +-
 src/relay/backend/contrib/uma/relay_to_tir.cc      | 175 ++++++++++++
 src/relay/backend/contrib/uma/targets.cc           |  80 ++++++
 .../tir_to_runtime.cc                              |  51 ++--
 src/support/libinfo.cc                             |   1 +
 tests/python/contrib/test_uma/test_partition.py    |  97 +++++++
 tests/python/contrib/test_uma/test_target.py       |  85 ++++++
 .../test_uma/test_uma_lowering_with_umalower.py    | 121 +++++++++
 tests/python/contrib/test_uma/test_uma_pipeline.py | 136 ++++++++++
 tests/python/contrib/test_uma/test_uma_utils.py    |  87 ++++++
 .../test_uma/test_uma_vanilla_accelerator.py       |  56 ++++
 tests/scripts/task_config_build_arm.sh             |   1 +
 tests/scripts/task_config_build_cortexm.sh         |   2 +
 tests/scripts/task_config_build_cpu.sh             |   1 +
 tests/scripts/task_config_build_i386.sh            |   1 +
 39 files changed, 2406 insertions(+), 85 deletions(-)
 copy {vta/python/vta/exec => apps/uma/_template}/__init__.py (94%)
 create mode 100644 apps/uma/_template/backend.py
 copy tests/python/contrib/test_opencl/conftest.py => apps/uma/_template/codegen.py (77%)
 create mode 100644 apps/uma/_template/conv2dnchw.cc
 create mode 100644 apps/uma/_template/passes.py
 copy apps/{sgx/read_results.py => uma/_template/patterns.py} (74%)
 create mode 100644 apps/uma/_template/run.py
 copy apps/{microtvm/reference-vm/base-box/base_box_test.sh => uma/_template/strategies.py} (54%)
 mode change 100755 => 100644
 create mode 100644 apps/uma/uma_cli.py
 copy cmake/modules/contrib/{CODEGENC.cmake => UMA.cmake} (82%)
 create mode 100644 gallery/tutorial/uma.py
 copy python/tvm/{topi/cpp/vision => relay/backend/contrib/uma}/__init__.py (84%)
 copy tests/python/contrib/test_opencl/conftest.py => python/tvm/relay/backend/contrib/uma/api/__init__.py (78%)
 copy python/tvm/relay/backend/contrib/{ethosu => uma/api}/_ffi_api.py (89%)
 create mode 100644 python/tvm/relay/backend/contrib/uma/api/codegen.py
 create mode 100644 python/tvm/relay/backend/contrib/uma/api/lower.py
 create mode 100644 python/tvm/relay/backend/contrib/uma/api/partitioner.py
 create mode 100644 python/tvm/relay/backend/contrib/uma/api/utils.py
 create mode 100644 python/tvm/relay/backend/contrib/uma/backend.py
 create mode 100644 src/relay/backend/contrib/uma/relay_to_tir.cc
 create mode 100644 src/relay/backend/contrib/uma/targets.cc
 copy src/relay/backend/contrib/{example_target_hooks => uma}/tir_to_runtime.cc (58%)
 create mode 100644 tests/python/contrib/test_uma/test_partition.py
 create mode 100644 tests/python/contrib/test_uma/test_target.py
 create mode 100644 tests/python/contrib/test_uma/test_uma_lowering_with_umalower.py
 create mode 100644 tests/python/contrib/test_uma/test_uma_pipeline.py
 create mode 100644 tests/python/contrib/test_uma/test_uma_utils.py
 create mode 100644 tests/python/contrib/test_uma/test_uma_vanilla_accelerator.py