Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
ac9bf1f
[TVMC] Add configuration `tir.add_lower_pass` to option `--pass-confi…
leeexyz Feb 14, 2022
ce45f26
add a simplify rule for floordiv(x*8+7, 16) => floordiv(x, 2) (#10232)
wrongtest-intellif Feb 14, 2022
2a840a3
[Hexagon] Refactor Hexagon.cmake (#10227)
Feb 14, 2022
be17697
clean up conv2d type rels (#10236)
masahi Feb 15, 2022
de73b99
[Torch] Fix conv2d transpose with group (#10235)
masahi Feb 15, 2022
e13110f
Support sub warp reduction for CUDA target. (#10207)
yzh119 Feb 15, 2022
b9fc7a8
[Tir]Adding detail error messages when MatchCopyPattern function is f…
huajsj Feb 15, 2022
a1d8f72
Fix a lint issue. (#10245)
huajsj Feb 15, 2022
0009a30
[TOPI] VNNI support for int8 dense (#10230)
masahi Feb 15, 2022
2b00835
[Relay] Make DeviceAnalyzer a mixed mode visitor (#10248)
masahi Feb 15, 2022
6de8fea
add back supported tests (#10116)
AndrewZhaoLuo Feb 15, 2022
64e94ab
[QNN] Register a bunch of unary elementwise ops (#10086)
AndrewZhaoLuo Feb 15, 2022
646d155
Fix JUnit failure reporting (#10121)
driazati Feb 16, 2022
b16e230
[BUGFIX] Define kTargetPoolReadWriteAccess globally (#10262)
electriclilies Feb 16, 2022
b1206b6
[Hexagon] Don't use cmake glob for auto-generated source files (#10259)
Feb 16, 2022
39c3475
Add one extra space to improve diagnostic messages (#10268)
billishyahao Feb 16, 2022
a730d06
[RPC] Link in whole archive with BUILD_STATIC_RUNTIME (#10260)
Feb 16, 2022
47ca5fa
Gitignore work items in jvm and android_rpc (#10253)
pfk-beta Feb 16, 2022
75122db
fix RPC waiting for device (#10255)
pfk-beta Feb 16, 2022
1da0093
Overload get() function for `Optional` type. (#9748)
yzh119 Feb 16, 2022
c389b3b
Skip flaky tensorflow tests (#10276)
driazati Feb 17, 2022
efb7065
[Cuda] Updated bfloat16 math defs. (#10258)
Lunderberg Feb 17, 2022
f983769
[TVMC] Add an end_to_end benchmarking argument when benchmarking. (#1…
Feb 17, 2022
a713356
[VTA] Search for libvta_fsim.so in $TVM_LIBRARY_PATH (#10278)
Lunderberg Feb 17, 2022
f583a70
[BUGFIX] fix text printer when TVM_LOG_DEBUG is on (#10279)
electriclilies Feb 17, 2022
93cbadb
[microNPU] Add support for LeakyReLU (#10127)
lhutton1 Feb 17, 2022
db06b95
update dnnl version from v1.5 to v2.2 (#10266)
Feb 17, 2022
c54a3dd
Use `/usr/bin/env bash` in shebang for all scripts under tests (#10277)
yelite Feb 17, 2022
7f24954
Add a conversion of individual operations in FQ2I pass. (#10239)
Icemist Feb 17, 2022
bd152f7
[CMake] add support for find_package (#10097)
prateek9623 Feb 17, 2022
47c2351
[Docker][Hexagon] Add docker file and scripts (#10263)
mehrdadh Feb 17, 2022
4b3cb49
[ci] Mark `test_autotune_conv2d` flaky (#10298)
driazati Feb 18, 2022
316c506
[TIR] Add software pipelining (#10066)
vinx13 Feb 18, 2022
d716c2a
[FQ2I] Add support for some unary operators (#10273)
AndrewZhaoLuo Feb 18, 2022
783add2
Add -i option to fix ASF headers to lint scripts. (#10284)
areusch Feb 18, 2022
ca7596f
[Hexagon] Pass kDLHexagon device when allocating workspace pool on He…
Feb 18, 2022
0d6795b
[Hexagon] Remember to add common sources when building TVMRT for Hexa…
Feb 18, 2022
7d1042d
Allow Ctrl+C during docker/lint.sh. (#10291)
areusch Feb 18, 2022
4d84d72
[ci] Mark some ehtosu tests as flaky (#10301)
driazati Feb 18, 2022
b71e4df
[microTVM] Add timeouts for CI tests (#10295)
driazati Feb 18, 2022
81e4eaf
Add flaky test issue template (#10299)
driazati Feb 18, 2022
ffd517a
[UnitTest] Disable ptx mma tests on unsupported nvcc versions. (#10229)
Lunderberg Feb 18, 2022
f3ea291
[TIR][Schedule] simpilfy compute_at static bound (#10307)
Feb 18, 2022
da02c85
[CI] Update CPU image to v0.81 (#10305)
masahi Feb 18, 2022
9c0e9a0
[Hexagon] Fix getting/setting DMA state (#10288)
Feb 18, 2022
dace8b7
update (#10306)
Raphael-Hao Feb 18, 2022
2c0a7c2
[TOPI] Add support for groupped conv3d (#9873)
Feb 18, 2022
6591cba
Parameterize test_link_params. (#9276)
areusch Feb 18, 2022
cae2680
[Relay] [Virtual Device] Store function result virtual device in virt…
electriclilies Feb 19, 2022
6bce2c5
[ci] Disable flaky microTVM tests (#10313)
driazati Feb 19, 2022
b445d66
[ci] Disable flaky cmsisnn tests (#10315)
driazati Feb 19, 2022
73cf51b
[TE][Fix] Comparison of the output tensor (#9829)
leeexyz Feb 20, 2022
8d76075
[TIR] add support for multi-blocking layout and their transformation …
yangulei Feb 21, 2022
d65ff65
[Arith] Support integer BufferLoad in IntervalSetEvaluator (#10327)
MasterJH5574 Feb 21, 2022
3ffef3d
[docker] Update CI to Python 3.7 and Ubuntu 18 (#10247)
driazati Feb 21, 2022
81df151
Generate correct output tensor names in C Interface API (#10191)
grant-arm Feb 21, 2022
7d831e1
[ci] Add auto-updating `last-successful` branch (#10056)
driazati Feb 21, 2022
2f93780
[microNPU] enable USMP (#10022)
manupak Feb 21, 2022
5a22c56
[Docs] Fix an irrelevant sentence in relay.reverse (#10331)
chiwwang Feb 21, 2022
d8d28bf
[Relay] Fix TFlite frontend for unpack, stridedslice (#10333)
chiwwang Feb 22, 2022
d8e39fd
[TIR] Fix Ramp int32~64 mismatch in VectorizeLoop and NarrowDataType …
lazycal Feb 22, 2022
9dd62b4
[BYOC-DNNL] add support for more ops and fusion patterns
Feb 22, 2022
55cfc4a
RelayViz interface and terminal ast-dump (#10085)
chiwwang Feb 22, 2022
808c6a1
[ETHOSN] Remove the compiler library from the runtime link (#10334)
leo-blonk Feb 22, 2022
91b2e91
[Hexagon] Export `ir_lower_vtcm_pass` function in the init file (#10330)
masahi Feb 22, 2022
33082e0
[runtime] Add Metadata classes for AOTExecutor (#10282)
areusch Feb 22, 2022
5956125
[ONNX] only broadcast matmul if the shape has changed (#10321)
Feb 22, 2022
b5f1dab
[TIR] Tir constants integration into compilation pipeline (#8509)
d-smirnov Feb 22, 2022
27d9960
Simple workaround for PyTorch symbol crash problem in meta schedule t…
masahi Feb 22, 2022
97648d8
add reading of nRF5340 DK product ID to determine which COM port to u…
alanmacd Feb 23, 2022
6c6e873
[ARM_CPU] Conv2d int8 intrinsic for cortex-A72 (#10310)
Feb 23, 2022
dcebd4d
[CI][Hexagon] Add Hexagon Tests to pipeline (#10302)
mehrdadh Feb 23, 2022
270c1b3
[TIR] Misc minor updates (#10335)
MasterJH5574 Feb 23, 2022
0abb1bd
[CUBLAS] Fix cublas batch matmul strategy plevel (#10351)
masahi Feb 23, 2022
70cc2ab
[CI] Re-introduce redirect follow and update hash for Boost download …
Mousius Feb 23, 2022
faa2e6a
Add per channel quantization to QLinearConv and fix related bugs (#10…
sfvaroglu Feb 23, 2022
c338299
[CI] Fix Flaky Test `test_task_scheduler_gradient` (#10360)
zxybazh Feb 23, 2022
8947729
[TOPI] VNNI support for batch matmul (#10332)
masahi Feb 23, 2022
d3d8715
[TIR] TIR Schedule Misc Update (#10341)
jinhongyii Feb 23, 2022
d8f639a
[AOT] BugFix of workspace calculation (#10337)
manupak Feb 23, 2022
1cd42e8
[runtime] Improved log information with function signature (#10326)
cyx-6 Feb 23, 2022
cc82214
refactored GraphProto.from_onnx into smaller functions (#10267)
SebastianBoblest Feb 23, 2022
fbea569
[skip ci] Fix onnx frontend lint (#10363)
driazati Feb 23, 2022
c5baa59
[COMMUNITY] csullivan -> Committer (#10364)
ZihengJiang Feb 24, 2022
0c210fc
[BUGFIX][ARITH] Fix FloorMod Simplifier (#10336)
lazycal Feb 24, 2022
b329544
[Lint] Fix Pylint Issues (#10358)
Johnson9009 Feb 24, 2022
d295ea6
[TIR][Transform] relax LoopPartition restriction that the intersectio…
qsqqsqqsq-intellif Feb 24, 2022
d110aa1
[ETHOSN] Improved identification of driver library version (#10285)
leo-blonk Feb 24, 2022
25cc311
[ETHOSN] Stricter data type conversion checks (#10271)
leo-blonk Feb 24, 2022
f1ff61a
[microNPU][4] Add the cascader Proposal generator (#9959)
mbaret Feb 24, 2022
4102ebf
[Runtime][Pipeline Executor] multiple threads management and the data…
huajsj Feb 24, 2022
cb7f773
[Hexagon] RPC server/client for simulator (#10361)
Feb 24, 2022
7e2467a
[TIR, Relay] improve bfloat16 support (#10112)
yangulei Feb 24, 2022
35df464
[ci] Check more events before pinging reviewers (#10208)
driazati Feb 24, 2022
dcbdedd
Lower cache_read and cache_write to Hexagon DMA via tensorize (#10365)
adstraw Feb 25, 2022
d9fac4f
[microNPU] adding more tests with USMP (#10362)
manupak Feb 25, 2022
308d320
[RELAY] [VIRTUALDEVICE] Change syntax for device planning and store p…
electriclilies Feb 25, 2022
d62a364
[VirtualMachine] new method allowing to set one input tensor by its i…
vvchernov Feb 25, 2022
07ad977
[Hexagon] Replace strlen in constant initialization with sizeof (#10381)
Feb 25, 2022
221329f
check to avoid crash in opt_level=0 vm build (#10347)
wrongtest-intellif Feb 25, 2022
8745a3c
Add memory pools to Metadata classes.
areusch Feb 23, 2022
81a4352
Move ShapeToJSON to utils.
Nov 29, 2021
3ea361b
Track returned TensorType from AOTExecutorCodegen.
areusch Feb 15, 2022
2e4c277
Support calling Relay functions with Tuple.
areusch Feb 16, 2022
e5571e2
Expand supported TIR calling conventions to work with C++ runtime.
areusch Feb 16, 2022
9e81293
Rename MetadataModule to ConstLoaderModule.
Nov 29, 2021
66c8ef5
Add runtime AOT executor module.
Nov 30, 2021
b49bea6
Add AOT code-generation.
Nov 30, 2021
033885c
Add a runtime Module to mux between .text Metadata and live Metadata.
Dec 8, 2021
3717f0c
Move launch_param to namespace
Dec 9, 2021
b78b6c4
Add test of c++ AOT.
Dec 9, 2021
2384fcc
Fix incongruity between kTvmRuntimeCrt constant
Dec 13, 2021
5ec990f
Expand ExecutorCodegenMetadata to include AOT runtime metadata.
areusch Feb 16, 2022
aef76ca
commit cpp test
areusch Feb 16, 2022
84e5b92
Make Metadata compile under C.
areusch Feb 25, 2022
ccc6c9c
Ignore ephemeral metadata_module export_model_library_format.
areusch Feb 26, 2022
796fa3c
add get_name() method to Metadata to distinguish struct type name in …
masahi Feb 28, 2022
27385af
add metadata serialization support to llvm codegen
masahi Feb 28, 2022
80c3223
dump debug info in aot_executor to show that metadata is correctly co…
masahi Mar 1, 2022
f0a5cfa
fixed rebase problem
masahi Mar 2, 2022
2f1a772
attempt to extract MetadataQueuer
areusch Mar 4, 2022
0ce02a5
test pass
areusch Mar 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/flaky-test.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: "\U00002744 Flaky Test"
about: Report a flaky test, make sure to include links to CI runs, a sample failure log, and the name of the test(s)
title: "[Flaky Test] "
labels: "test: flaky"
---

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking. You are always welcomed to post on the forum first :smile_cat:

These tests were found to be flaky (intermittently failing on `main` or failed in a PR with unrelated changes). As per [the docs](https://github.com/apache/tvm/blob/main/docs/contribute/ci.rst#handling-flaky-failures, these failures will be disabled in a PR that references this issue until the test owners can fix the source of the flakiness.

### Test(s)

- `tests/python/some_file.py::the_test_name`

### Jenkins Links

- Please provide link(s) to failed CI runs. If runs are for a PR, explain why your PR did not break the test (e.g. did not touch that part of the codebase)
43 changes: 43 additions & 0 deletions .github/workflows/update_last_successful_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

# GH actions.
# We use it to cover windows and mac builds
# Jenkins is still the primary CI

name: Update last-successful branch

on:
schedule:
- cron: "0/15 * * * *"
workflow_dispatch:

concurrency:
group: update-last-successful-branch
cancel-in-progress: true

jobs:
update-last-successful-branch:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Update last-successful branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
python tests/scripts/update_branch.py || echo step failed
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ DerivedData/
*.class
jvm/*/target/
jvm/*/*/target/
jvm/native/*/generated
jvm/native/src/main/native/org_apache_tvm_native_c_api.h
*.worksheet
*.idea
*.iml
Expand Down
56 changes: 39 additions & 17 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ tvm_option(USE_LLVM "Build with LLVM, can be set to specific llvm-config path" O
tvm_option(USE_STACKVM_RUNTIME "Include stackvm into the runtime" OFF)
tvm_option(USE_GRAPH_EXECUTOR "Build with tiny graph executor" ON)
tvm_option(USE_GRAPH_EXECUTOR_CUDA_GRAPH "Build with tiny graph executor with CUDA Graph for GPUs" OFF)
tvm_option(USE_AOT_EXECUTOR "Build with AOT executor" ON)
tvm_option(USE_PROFILER "Build profiler for the VM and graph executor" ON)
tvm_option(USE_OPENMP "Build with OpenMP thread pool implementation" OFF)
tvm_option(USE_RELAY_DEBUG "Building Relay in debug mode..." OFF)
Expand Down Expand Up @@ -395,6 +396,13 @@ if(USE_PROFILER)
list(APPEND RUNTIME_SRCS ${RUNTIME_VM_PROFILER_SRCS})
endif(USE_PROFILER)

if(USE_AOT_EXECUTOR)
message(STATUS "Build with AOT Executor support...")
file(GLOB RUNTIME_AOT_EXECUTOR_SRCS src/runtime/aot_executor/*.cc)
list(APPEND RUNTIME_SRCS ${RUNTIME_AOT_EXECUTOR_SRCS})

endif(USE_AOT_EXECUTOR)

# Enable ctest if gtest is available
if(USE_GTEST)
# Check env var for backward compatibility. A better way to specify package
Expand Down Expand Up @@ -482,6 +490,7 @@ add_library(tvm_runtime_objs OBJECT ${RUNTIME_SRCS})
add_library(tvm_libinfo_objs OBJECT ${LIBINFO_FILE})

add_library(tvm SHARED $<TARGET_OBJECTS:tvm_objs> $<TARGET_OBJECTS:tvm_runtime_objs> $<TARGET_OBJECTS:tvm_libinfo_objs>)
target_include_directories(tvm PUBLIC "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
set_property(TARGET tvm APPEND PROPERTY LINK_OPTIONS "${TVM_NO_UNDEFINED_SYMBOLS}")
set_property(TARGET tvm APPEND PROPERTY LINK_OPTIONS "${TVM_VISIBILITY_FLAG}")
if(BUILD_STATIC_RUNTIME)
Expand All @@ -496,6 +505,7 @@ else()
add_library(tvm_runtime SHARED $<TARGET_OBJECTS:tvm_runtime_objs> $<TARGET_OBJECTS:tvm_libinfo_objs>)
set_property(TARGET tvm_runtime APPEND PROPERTY LINK_OPTIONS "${TVM_NO_UNDEFINED_SYMBOLS}")
endif()
target_include_directories(tvm_runtime PUBLIC "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")
set_property(TARGET tvm_runtime APPEND PROPERTY LINK_OPTIONS "${TVM_VISIBILITY_FLAG}")

target_compile_definitions(tvm_objs PUBLIC DMLC_USE_LOGGING_LIBRARY=<tvm/runtime/logging.h>)
Expand Down Expand Up @@ -566,17 +576,6 @@ target_link_libraries(tvm_runtime PRIVATE ${TVM_RUNTIME_LINKER_LIBS})

# Set flags for clang
include(cmake/modules/ClangFlags.cmake)

# Related headers
target_include_directories(
tvm
PUBLIC "topi/include")
target_include_directories(
tvm_objs
PUBLIC "topi/include")
target_include_directories(
tvm_libinfo_objs
PUBLIC "topi/include")
set(CRC16_INCLUDE_PATH "3rdparty/libcrc/include")
target_include_directorieS(
tvm_objs
Expand Down Expand Up @@ -621,33 +620,56 @@ endif()
add_custom_target(runtime DEPENDS tvm_runtime)

# Installation rules
install(TARGETS tvm DESTINATION lib${LIB_SUFFIX})
install(TARGETS tvm_runtime DESTINATION lib${LIB_SUFFIX})
install(TARGETS tvm EXPORT ${PROJECT_NAME}Targets DESTINATION lib${LIB_SUFFIX})
install(TARGETS tvm_runtime EXPORT ${PROJECT_NAME}Targets DESTINATION lib${LIB_SUFFIX})

if (INSTALL_DEV)
install(
DIRECTORY "include/." DESTINATION "include"
DIRECTORY "include/" DESTINATION "include"
FILES_MATCHING
PATTERN "*.h"
)
install(
DIRECTORY "3rdparty/dlpack/include/." DESTINATION "include"
DIRECTORY "3rdparty/dlpack/include/" DESTINATION "include"
FILES_MATCHING
PATTERN "*.h"
)
install(
DIRECTORY "3rdparty/dmlc-core/include/." DESTINATION "include"
DIRECTORY "3rdparty/dmlc-core/include/" DESTINATION "include"
FILES_MATCHING
PATTERN "*.h"
)
else(INSTALL_DEV)
install(
DIRECTORY "include/tvm/runtime/." DESTINATION "include/tvm/runtime"
DIRECTORY "include/tvm/runtime/" DESTINATION "include/tvm/runtime"
FILES_MATCHING
PATTERN "*.h"
)
endif(INSTALL_DEV)

include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
set(PROJECT_CONFIG_CONTENT "@PACKAGE_INIT@\n")
string(APPEND PROJECT_CONFIG_CONTENT "include(CMakeFindDependencyMacro)\n")
string(APPEND PROJECT_CONFIG_CONTENT "find_dependency(Threads REQUIRED)\n")
string(APPEND PROJECT_CONFIG_CONTENT
"include(\"\${CMAKE_CURRENT_LIST_DIR}/${PROJECT_NAME}Targets.cmake\")")
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/temp_config_file.cmake" ${PROJECT_CONFIG_CONTENT})

install(EXPORT ${PROJECT_NAME}Targets
NAMESPACE ${PROJECT_NAME}::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})

# Create config for find_package()
configure_package_config_file(
"${CMAKE_CURRENT_BINARY_DIR}/temp_config_file.cmake" ${PROJECT_NAME}Config.cmake
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")

install(
FILES
"${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")

# More target definitions
if(MSVC)
target_compile_definitions(tvm_objs PRIVATE -DTVM_EXPORTS)
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ We do encourage everyone to work anything they are interested in.
- [Christopher Sidebottom](https://github.com/Mousius): @Mousius - arm, ethos-u, relay
- [Junru Shao](https://github.com/junrushao1994) (PMC): @junrushao1994 - relay, compiler
- [Haichen Shen](https://github.com/icemelon) (PMC): @icemelon - relay, topi
- [Chris Sullivan](https://github.com/csullivan): @csullivan - amd backend
- [Siva Rama Krishna Reddy](https://github.com/srkreddy1238): @srkreddy1238 - frontends, golang
- [Zhixun Tan](https://github.com/phisiart): @phisiart - opengl, web
- [Andrew Tulloch](https://github.com/ajtulloch): @ajtulloch - topi, compiler, runtime
Expand Down
Loading