This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a change to branch unity
in repository https://gitbox.apache.org/repos/asf/tvm.git
from 201002e78e [Unity][CUTLASS] Fix for purity tracking (#14891)
add 5566c3e2b6 [COMMUNITY] Anirudh Sundar Subramaniam -> Committer (#14853)
add b6d7ce6a8a [LLVM] Use Var annotation in LetStmt for pointer type
(#14570)
add 0274930e4a [microNPU][ETHOSU] Fix Softmax quantization parameters
(#14774)
add eb1ea972b3 [QNN] Implement 'qnn.softmax' (#14536)
add f6bbe946e1 [relay][simplify_expr]: Add pass to remove trivial
transpose ops (#14858)
add 2f863dda62 [TIR][Schedule] Improve blockize to support blockizing
multiple blocks (#14766)
add 0e24aa7c8b [FIX] fix typo in comment (#14787)
add b4796cc717 [Frontend][Paddle] [PaddlePaddle Hackathon 4] add convert
support for p_norm/roi_align/softmax_with_cross_entropy (#14826)
add ea710cc2dd Fix f-string typo (#14867)
add 14be4bfc0d [TOPI][Target] Add SVE specific convolution (#14483)
add 00b41c63ea [TIR] Avoid too complex predicate in compaction (#14866)
add 38c3ad4cad [TVMScript] Use default fallback for un-registered type
(#14874)
add 19663b26c9 [MicroTVM] Use self.close_transport() on error (#14872)
add b4475b83aa [Bugfix] Fix batch_norm (#14857)
add 28e980125b [Quantization]: Update simulated_quantize to infer correct
layout (#14875)
add ba3f0d938a [TOPI] Fix in interpretation of empty axis parameter in
reduction fun… (#14856)
add 613ad5cc51 [bugfix] fix the undeclared identifier 'f' (#14879)
add af06b30a98 [CONTRIB] Enable create_staticlib to take in tar files
(#14876)
add 61fe8a7027 [AutoTVM] Use f-strings for string formatting, NFC (#14884)
add 006b11df04 [RUNTIME] Make systemlib unique per prefix (#14887)
add bbfe481784 [microNPU][ETHOSU] Channel pad offloaded to NPU (#14765)
add 52de91e366 [Fix] Fix typo in error message (#14890)
add 8ebd598fcd [bugfix] [Relay] fix broadcast in PyTorch frontend (#14885)
add 0dae36048e [CI] Update CPU image to install PyTorch (#14847)
add b91c2f2e07 [Vulkan] Add cooperative matrix support (#14817)
add f4a7eaebd6 [TIR][TVMScript] Added format/parsing of subroutine calls
(#14889)
add 9a3bbc1d37 [MERGE] merge main into unity 2023-05-20
No new revisions were added by this update.
Summary of changes:
CONTRIBUTORS.md | 1 +
ci/jenkins/docker-images.ini | 20 +-
include/tvm/script/printer/ir_docsifier_functor.h | 33 +++
include/tvm/tir/schedule/schedule.h | 7 +
include/tvm/topi/nn.h | 6 +-
include/tvm/topi/reduction.h | 8 +-
python/tvm/auto_scheduler/cost_model/xgb_model.py | 20 +-
python/tvm/auto_scheduler/dispatcher.py | 2 +-
python/tvm/auto_scheduler/feature.py | 15 +-
python/tvm/auto_scheduler/measure.py | 18 +-
python/tvm/auto_scheduler/search_policy.py | 2 +-
python/tvm/auto_scheduler/search_task.py | 23 +-
python/tvm/auto_scheduler/task_scheduler.py | 15 +-
python/tvm/auto_scheduler/utils.py | 8 +-
python/tvm/auto_scheduler/workload_registry.py | 6 +-
python/tvm/autotvm/feature.py | 9 +-
python/tvm/autotvm/graph_tuner/base_graph_tuner.py | 10 +-
python/tvm/autotvm/graph_tuner/pbqp_tuner.py | 4 +-
.../autotvm/graph_tuner/utils/traverse_graph.py | 8 +-
python/tvm/autotvm/measure/measure_methods.py | 52 +---
python/tvm/autotvm/record.py | 4 +-
python/tvm/autotvm/task/dispatcher.py | 14 +-
python/tvm/autotvm/task/space.py | 30 +--
python/tvm/autotvm/task/task.py | 10 +-
python/tvm/autotvm/testing/tune_relay.py | 59 +----
python/tvm/autotvm/tophub.py | 10 +-
python/tvm/autotvm/tuner/sa_model_optimizer.py | 2 +-
python/tvm/autotvm/tuner/xgboost_cost_model.py | 28 +-
python/tvm/contrib/cc.py | 34 ++-
python/tvm/contrib/tar.py | 41 +++
python/tvm/ir/expr.py | 6 +
python/tvm/ir/instrument.py | 2 +-
.../tvm/relay/backend/contrib/ethosu/legalize.py | 77 ++++++
.../backend/contrib/ethosu/softmax_rewriter.py | 28 +-
python/tvm/relay/backend/contrib/ethosu/util.py | 2 +-
python/tvm/relay/frontend/paddlepaddle.py | 82 ++++++
python/tvm/relay/frontend/pytorch.py | 23 +-
python/tvm/relay/op/__init__.py | 1 +
python/tvm/relay/op/contrib/ethosu.py | 90 ++++++-
python/tvm/relay/op/op.py | 21 ++
python/tvm/relay/qnn/op/qnn.py | 4 +
.../transform/fake_quantization_to_integer.py | 18 +-
python/tvm/relay/transform/transform.py | 11 +-
python/tvm/target/target.py | 21 ++
python/tvm/tir/__init__.py | 2 +-
python/tvm/tir/op.py | 12 +
python/tvm/tir/schedule/schedule.py | 14 +-
python/tvm/topi/arm_cpu/conv2d_spatial_pack.py | 20 +-
src/relay/qnn/op/softmax.cc | 154 +++++++++++
src/relay/quantize/realize.cc | 21 +-
.../transforms/fake_quantization_to_integer.cc | 73 ++++--
src/relay/transforms/pattern_utils.h | 4 +
src/relay/transforms/simplify_expr.cc | 111 +++++---
src/runtime/crt/host/microtvm_api_server.py | 4 +-
src/runtime/system_library.cc | 53 +++-
src/runtime/vulkan/vulkan_device.cc | 5 +-
src/runtime/vulkan/vulkan_device.h | 1 +
src/runtime/vulkan/vulkan_device_api.cc | 4 +
src/script/printer/ir/relay.cc | 48 ----
src/script/printer/ir_docsifier.cc | 5 +
src/script/printer/tir/expr.cc | 5 +-
src/script/printer/tir/function.cc | 20 ++
src/target/llvm/codegen_cpu.cc | 40 ++-
src/target/llvm/codegen_llvm.cc | 23 +-
src/target/parsers/aprofile.cc | 35 +--
src/target/source/codegen_cuda.cc | 23 +-
src/target/spirv/codegen_spirv.cc | 193 ++++++++++++--
src/target/spirv/codegen_spirv.h | 14 +
src/target/spirv/ir_builder.cc | 68 ++++-
src/target/spirv/ir_builder.h | 25 +-
src/target/spirv/spirv_support.cc | 4 +
src/target/spirv/spirv_support.h | 14 +
src/target/target_kind.cc | 1 +
src/tir/ir/data_layout.cc | 2 +-
src/tir/schedule/concrete_schedule.cc | 9 +
src/tir/schedule/concrete_schedule.h | 1 +
src/tir/schedule/primitive.h | 10 +
src/tir/schedule/primitive/blockize_tensorize.cc | 287 +++++++++++++++++++--
src/tir/schedule/schedule.cc | 9 +-
src/tir/schedule/traced_schedule.cc | 11 +
src/tir/schedule/traced_schedule.h | 1 +
src/tir/transforms/inject_rolling_buffer.cc | 2 +-
src/tir/transforms/ir_utils.cc | 37 ++-
src/tir/transforms/ir_utils.h | 8 +
tests/cpp/target/parsers/aprofile_test.cc | 19 ++
tests/python/contrib/test_ethosu/infra.py | 6 +-
tests/python/contrib/test_ethosu/test_codegen.py | 25 +-
tests/python/contrib/test_ethosu/test_legalize.py | 241 ++++++++++++++++-
.../metaschedule_e2e/test_resnet50_int8.py | 2 +-
tests/python/driver/tvmc/test_frontends.py | 10 +-
tests/python/driver/tvmc/test_parse_config_file.py | 2 +-
tests/python/frontend/paddlepaddle/test_forward.py | 83 ++++++
tests/python/frontend/pytorch/test_forward.py | 17 ++
tests/python/relay/test_pass_convert_op_layout.py | 49 ++++
.../test_pass_fake_quantization_to_integer.py | 48 ++++
tests/python/relay/test_pass_simplify_expr.py | 22 ++
tests/python/topi/python/test_topi_reduce.py | 33 ++-
.../unittest/test_meta_schedule_trace_apply.py | 18 +-
tests/python/unittest/test_target_codegen_blob.py | 17 +-
.../python/unittest/test_target_codegen_vulkan.py | 128 +++++++++
.../python/unittest/test_tir_schedule_blockize.py | 49 ++++
.../test_tir_transform_compact_buffer_region.py | 62 +++++
tests/python/unittest/test_tvmscript_roundtrip.py | 17 ++
103 files changed, 2532 insertions(+), 574 deletions(-)
create mode 100644 src/relay/qnn/op/softmax.cc
delete mode 100644 src/script/printer/ir/relay.cc