This is an automated email from the ASF dual-hosted git repository.
masahi pushed a change to branch ci-docker-staging
in repository https://gitbox.apache.org/repos/asf/tvm.git.
discard bc23fe2 Validating tlcpackstaging 20211217-183440-bd61d18c1 for
ci_cpu and ci_arm.
add 9ee0007 [M3c][MetaScheduler] Add ScheduleRule class & PostOrderApply
space generator. (#9761)
add 7b9538f [community] @lunderberg -> Committer (#9773)
add 7fac08b Clarify error message for missing libraries (#9710)
add 8352f2f [TE][TensorIR] fix tensor attr in create_prim_func (#9764)
add 5cb5c5b Fix GLOBAL_SCOPE Shallow copy bug (#9718)
add f4af81c [TIRScript] fix parse StringImm value in for loop annotations
(#9755)
add 72ff7c8 Include \0 terminating character in strncpy (#9775)
add 0274b95 fix int set analysis on negative scale (#9776)
add 7456b1a [microNPU] Added checks for out of range shifts (#9707)
add f93b0c2 [Hexagon] Account for objects being smaller than the
allocated space (#9769)
add 5aea9bc [microNPU] Fix incorrect comparison in schedulers (#9706)
add 124813f [microNPU] Upgrade to 21.11 version of Arm(R) Ethos(TM)-U55
NPU driver (#9777)
add 5a06d55 [Bugfix] fix the bug that occurs when the
test_pass_ctx_exception() is (#9774)
add 541f7d0 Improve the frontend tflite _test_abs test to support tflite
2.6 (#9783)
add 8fa5464 [AMP] Disallow converting layer norm to fp16 (#9782)
add 4e0bf23 [Autoscheduler] Task Extraction Raises Exception on Lowering
(#9750)
add d026d06 [CodeGen] avoid crash if an exception is raised during llvm
cpu codegen (#9786)
add b35fc83 [M3c][MetaScheduler] Add More Measure Callbacks. (#9780)
add b29a443 [Docker] Update to Torch 1.10.1 (#9781)
add 1afcf36 [CUTLASS] Conv2d activation fusion, part 2: Sigmoid fp16,
SiLU and HardSwish (#9795)
add 0b8bb96 Update README.md (#9798)
add 85e27c1 [microNPU] Re-enable LayoutOptimizer pass (#9793)
add 0c1422a Redundant batch_flatten removed for 2D input matrix in
Dense layer. (#9792)
add 4af2a66 [Target] Fix device mask issue and typos (#9768)
add d486e21 [CMAKE] Automatically detect newly added source files (#9611)
add 066b417 [TE] Support varargs in te.compute (#9796)
add e2dcba2 [TIR] Affine utility support iter lowerbound and diagnostics
(#9699)
add 218d291 Update CONTRIBUTORS.md (#9804)
add 2c654b57 [BugFix][TensorIR] Non-positive constant input factors for
`split` (#9805)
add 0f3441a fix a bug of instance norm. (#9806)
new c0cecc9 validating ci-gpu 20211226-225913-218d2919f
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (bc23fe2)
\
N -- N -- N refs/heads/ci-docker-staging (c0cecc9)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
3rdparty/cutlass | 2 +-
CMakeLists.txt | 38 +-
CONTRIBUTORS.md | 3 +
Jenkinsfile | 6 +-
apps/microtvm/ethosu/Makefile | 11 +-
apps/microtvm/ethosu/include/ethosu_mod.h | 6 +-
cmake/libs/Libbacktrace.cmake | 2 +-
cmake/modules/CUDA.cmake | 10 +-
cmake/modules/Hexagon.cmake | 12 +-
cmake/modules/HexagonSDK.cmake | 2 +-
cmake/modules/LLVM.cmake | 2 +-
cmake/modules/Metal.cmake | 4 +-
cmake/modules/Micro.cmake | 2 +-
cmake/modules/OpenCL.cmake | 6 +-
cmake/modules/ROCM.cmake | 6 +-
cmake/modules/StandaloneCrt.cmake | 6 +-
cmake/modules/VTA.cmake | 16 +-
cmake/modules/Vulkan.cmake | 4 +-
cmake/modules/contrib/ArmComputeLib.cmake | 6 +-
cmake/modules/contrib/BNNS.cmake | 4 +-
cmake/modules/contrib/CMSISNN.cmake | 2 +-
cmake/modules/contrib/CODEGENC.cmake | 2 +-
cmake/modules/contrib/CUTLASS.cmake | 2 +-
cmake/modules/contrib/CoreML.cmake | 2 +-
cmake/modules/contrib/DNNL.cmake | 8 +-
cmake/modules/contrib/EthosN.cmake | 10 +-
cmake/modules/contrib/EthosU.cmake | 12 +-
cmake/modules/contrib/ExampleTargetHooks.cmake | 2 +-
cmake/modules/contrib/HybridDump.cmake | 2 +-
cmake/modules/contrib/MicroStandaloneRuntime.cmake | 2 +-
cmake/modules/contrib/NNPack.cmake | 2 +-
cmake/modules/contrib/ONNX.cmake | 2 +-
cmake/modules/contrib/PT_TVMDSOOP.cmake | 2 +-
cmake/modules/contrib/Random.cmake | 2 +-
cmake/modules/contrib/Sort.cmake | 2 +-
cmake/modules/contrib/TFLite.cmake | 4 +-
cmake/modules/contrib/TF_TVMDSOOP.cmake | 2 +-
cmake/modules/contrib/TensorRT.cmake | 6 +-
cmake/modules/contrib/Verilator.cmake | 4 +-
cmake/modules/contrib/VitisAI.cmake | 8 +-
cmake/utils/Utils.cmake | 18 +
.../install/ubuntu_install_ethosu_driver_stack.sh | 2 +-
docker/install/ubuntu_install_onnx.sh | 11 +-
include/tvm/arith/iter_affine_map.h | 8 +-
include/tvm/meta_schedule/measure_callback.h | 146 +++++++
include/tvm/meta_schedule/schedule_rule.h | 195 +++++++++
include/tvm/meta_schedule/search_strategy.h | 6 +-
include/tvm/meta_schedule/space_generator.h | 16 +-
include/tvm/meta_schedule/task_scheduler.h | 6 +
include/tvm/meta_schedule/tune_context.h | 6 +
include/tvm/tir/schedule/schedule.h | 20 +-
python/tvm/_ffi/libinfo.py | 30 +-
python/tvm/_ffi/runtime_ctypes.py | 5 +-
python/tvm/auto_scheduler/relay_integration.py | 13 +-
python/tvm/autotvm/env.py | 11 +-
python/tvm/contrib/cutlass/build.py | 30 +-
python/tvm/contrib/cutlass/gen_conv2d.py | 12 +-
python/tvm/contrib/cutlass/library.py | 6 +-
python/tvm/driver/tvmc/compiler.py | 2 +-
python/tvm/meta_schedule/__init__.py | 1 +
.../{database => measure_callback}/__init__.py | 10 +-
.../measure_callback/add_to_database.py} | 21 +-
.../measure_callback/echo_statistics.py} | 21 +-
.../measure_callback/measure_callback.py | 104 +++++
.../measure_callback/remove_build_artifact.py} | 21 +-
.../measure_callback/update_cost_model.py | 24 +-
.../schedule_rule}/__init__.py | 10 +-
.../meta_schedule/schedule_rule/schedule_rule.py | 96 +++++
.../tvm/meta_schedule/space_generator/__init__.py | 2 +-
...pace_generator_union.py => post_order_apply.py} | 29 +-
.../space_generator/space_generator.py | 5 +-
python/tvm/meta_schedule/tune_context.py | 27 +-
python/tvm/relay/backend/contrib/ethosu/codegen.py | 1 +
.../relay/backend/contrib/ethosu/tir/scheduler.py | 4 +-
.../tvm/relay/backend/contrib/ethosu/vela_api.py | 10 +-
python/tvm/relay/frontend/onnx.py | 6 +-
python/tvm/relay/frontend/pytorch.py | 8 +-
python/tvm/relay/op/contrib/cutlass.py | 21 +-
python/tvm/relay/op/op.py | 6 +-
python/tvm/relay/transform/mixed_precision.py | 2 +
python/tvm/script/tir/scope_handler.py | 12 +-
python/tvm/target/target.py | 15 +
python/tvm/te/operation.py | 29 +-
python/tvm/te/tensor.py | 4 +-
python/tvm/tir/schedule/schedule.py | 2 +-
src/README.md | 2 +-
src/arith/int_set.cc | 19 +-
src/arith/iter_affine_map.cc | 471 ++++++++++++++++-----
.../measure_callback/add_to_database.cc | 65 +++
.../measure_callback/echo_statistics.cc | 336 +++++++++++++++
.../measure_callback.cc} | 31 +-
.../measure_callback/remove_build_artifact.cc | 52 +++
.../measure_callback/update_cost_model.cc | 53 +++
src/meta_schedule/schedule_rule/schedule_rule.cc | 55 +++
src/meta_schedule/search_strategy/replay_trace.cc | 8 +-
.../space_generator/post_order_apply.cc | 155 +++++++
.../space_generator/space_generator_union.cc | 4 +-
src/meta_schedule/tune_context.cc | 7 +-
src/meta_schedule/utils.h | 23 +
src/relay/backend/contrib/cutlass/codegen.cc | 38 +-
src/relay/op/dyn/tensor/transform.cc | 3 +
src/relay/op/tensor/transform.cc | 5 +
src/relay/transforms/simplify_inference.cc | 2 +-
.../hexagon/android/sim/driver/CMakeLists.txt | 2 +-
src/runtime/hexagon/hexagon/hexagon_buffer.cc | 66 ++-
src/runtime/hexagon/hexagon/hexagon_buffer.h | 6 +-
.../hexagon/hexagon/hexagon_device_api_v2.cc | 2 +-
src/runtime/object.cc | 2 +-
src/target/llvm/codegen_cpu.cc | 37 +-
src/target/target_kind.cc | 12 +-
src/te/operation/create_primfunc.cc | 23 +-
src/tir/schedule/analysis/analysis.cc | 4 +-
src/tir/schedule/concrete_schedule.cc | 33 +-
src/tir/schedule/concrete_schedule.h | 14 +
src/tir/transforms/flatten_buffer.cc | 26 +-
tests/cpp/runtime/hexagon_buffer.cc | 51 ++-
tests/python/contrib/test_cutlass.py | 64 ++-
.../test_ethosu/reference_system/ethosu_mod.h | 18 +-
tests/python/contrib/test_ethosu/test_codegen.py | 35 ++
tests/python/contrib/test_ethosu/test_scheduler.py | 62 ++-
tests/python/frontend/onnx/test_forward.py | 60 ---
tests/python/frontend/pytorch/test_forward.py | 14 +-
tests/python/frontend/tflite/test_forward.py | 9 +-
tests/python/relay/test_pass_instrument.py | 2 +-
tests/python/unittest/test_arith_intset.py | 108 +++++
.../python/unittest/test_arith_iter_affine_map.py | 200 +++++++++
.../test_meta_schedule_measure_callback.py | 132 ++++++
.../test_meta_schedule_post_order_apply.py | 342 +++++++++++++++
tests/python/unittest/test_target_codegen_llvm.py | 18 +
tests/python/unittest/test_target_target.py | 17 +
tests/python/unittest/test_te_create_primfunc.py | 16 +
tests/python/unittest/test_tir_schedule_reorder.py | 5 +-
tests/python/unittest/test_tir_schedule_rfactor.py | 8 +-
.../unittest/test_tir_schedule_split_fuse.py | 12 +
.../test_tir_schedule_state_cached_flags.py | 55 +++
.../unittest/test_tir_transform_flatten_buffer.py | 22 +
136 files changed, 3430 insertions(+), 636 deletions(-)
create mode 100644 include/tvm/meta_schedule/measure_callback.h
create mode 100644 include/tvm/meta_schedule/schedule_rule.h
copy python/tvm/meta_schedule/{database => measure_callback}/__init__.py (72%)
copy python/tvm/{relay/transform/infer_layout_utils.py =>
meta_schedule/measure_callback/add_to_database.py} (61%)
mode change 100755 => 100644
copy python/tvm/{relay/transform/infer_layout_utils.py =>
meta_schedule/measure_callback/echo_statistics.py} (61%)
mode change 100755 => 100644
create mode 100644
python/tvm/meta_schedule/measure_callback/measure_callback.py
copy python/tvm/{relay/transform/infer_layout_utils.py =>
meta_schedule/measure_callback/remove_build_artifact.py} (61%)
mode change 100755 => 100644
copy apps/howto_deploy/run_example.sh =>
python/tvm/meta_schedule/measure_callback/update_cost_model.py (61%)
mode change 100755 => 100644
copy python/tvm/{_ffi/_cy2 => meta_schedule/schedule_rule}/__init__.py (73%)
create mode 100644 python/tvm/meta_schedule/schedule_rule/schedule_rule.py
copy python/tvm/meta_schedule/space_generator/{space_generator_union.py =>
post_order_apply.py} (61%)
create mode 100644 src/meta_schedule/measure_callback/add_to_database.cc
create mode 100644 src/meta_schedule/measure_callback/echo_statistics.cc
copy src/meta_schedule/{feature_extractor/feature_extractor.cc =>
measure_callback/measure_callback.cc} (51%)
create mode 100644 src/meta_schedule/measure_callback/remove_build_artifact.cc
create mode 100644 src/meta_schedule/measure_callback/update_cost_model.cc
create mode 100644 src/meta_schedule/schedule_rule/schedule_rule.cc
create mode 100644 src/meta_schedule/space_generator/post_order_apply.cc
create mode 100644 tests/python/unittest/test_meta_schedule_measure_callback.py
create mode 100644 tests/python/unittest/test_meta_schedule_post_order_apply.py