Skip to content

Commit ce8bec3

Browse files
committed
Merge branch 'main' into aluo/fix-qlinearconv-grouped
* main: (527 commits) [hexagon] 'add_hvx' test to explore HVX usage. (apache#10604) [COMMUNITY] @yzh119 -> Reviewer (apache#10993) [Metaschedule] Make custom schedule_rule registration optional (apache#10975) [ONNX] Add imports for BERT contrib operators (apache#10949) sort axes (apache#10985) [Hexagon] Remove HexagonBuffer external constructor and support (apache#10978) [CI] Update GPU image (apache#10992) [Runtime][Vulkan] Add RGP support to TVM for vulkan device (apache#10953) [FIX] resolve int64/32 for AttrStmtNode (apache#10983) [TVMC] Allow output module name to be passed as a command line argument (apache#10962) [ONNX] Add MatMulInteger importer (apache#10450) [COMMUNITY] @guberti -> Reviewer (apache#10976) Support `qnn.conv2d` in FoldExplicitPading (apache#10982) change Hexagon docker version (apache#10981) remove exception handling of autotvm xgboost extract functions (apache#10948) [CUDNN] Add partitioning support for conv2d and log_softmax (apache#10961) [Hexagon][LLVM] Enable/test tensorized Hexagon DMA on 2d transformed layout (apache#10905) [Hexagon] Move aot/graph_executor interactions into launcher (apache#10907) [HEXAGON] Split huge 1D DMA Transfers into smaller transfers with legal sizes. (apache#10971) [CI][DOCKER] Add pytest-lazy-fixture to images (apache#10970) ...
2 parents b1e7322 + ce8f83e commit ce8bec3

1,152 files changed

Lines changed: 64289 additions & 28979 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@
3030
# The sub modules should be ordered first by depth.
3131
# Making sure we append new sub-module rules after exisiting modules rules.
3232

33+
###############################################################################
34+
# IMPORTANT NOTE
35+
# This file is intentionally not named CODEOWNERS to avoid getting picked up
36+
# by GitHub's code owners -> review mechanism. For details see
37+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
38+
# and https://github.com/apache/tvm-rfcs/pull/58
39+
#
40+
# This file is kept to allow manual inspection of who is responsible for
41+
# different segments of the codebase.
42+
###############################################################################
43+
3344
##############################
3445
# Top-level Fallbacks
3546
##############################
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: "\U00002744 Flaky Test"
3+
about: Report a flaky test, make sure to include links to CI runs, a sample failure log, and the name of the test(s)
4+
title: "[Flaky Test] "
5+
labels: "test: flaky"
6+
---
7+
8+
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:
9+
10+
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.
11+
12+
### Test(s)
13+
14+
- `tests/python/some_file.py::the_test_name`
15+
16+
### Jenkins Links
17+
18+
- 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)

.github/workflows/cc_bot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ concurrency:
3232

3333
jobs:
3434
cc-reviewers:
35+
if: github.repository == 'apache/tvm'
3536
runs-on: ubuntu-latest
3637
steps:
3738
- uses: actions/checkout@v2

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
python -m pytest -v tests/python/contrib/test_rpc_server_device.py
7979
8080
Windows:
81-
runs-on: windows-2016
81+
runs-on: windows-2019
8282
steps:
8383
- uses: actions/checkout@v2
8484
with:
@@ -94,4 +94,3 @@ jobs:
9494
shell: cmd /C call {0}
9595
run: >-
9696
python -m pytest -v tests/python/all-platform-minimal-test
97-

.github/workflows/ping_reviewers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111

1212
jobs:
1313
ping:
14+
if: github.repository == 'apache/tvm'
1415
runs-on: ubuntu-20.04
1516
steps:
1617
- uses: actions/checkout@v2

.github/workflows/tag_teams.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# GH actions.
19+
# We use it to cover windows and mac builds
20+
# Jenkins is still the primary CI
21+
22+
name: Teams
23+
24+
on:
25+
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
26+
pull_request_target:
27+
types: [opened, reopened, edited, ready_for_review, labeled]
28+
issues:
29+
types: [opened, edited, reopened, labeled]
30+
31+
concurrency:
32+
group: Teams-${{ github.event.pull_request.number }}-${{ github.event.issue.number }}
33+
cancel-in-progress: true
34+
35+
jobs:
36+
tag-teams:
37+
if: github.repository == 'apache/tvm'
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v2
41+
- name: Tag people from relevant teams
42+
env:
43+
PR: ${{ toJson(github.event.pull_request) }}
44+
ISSUE: ${{ toJson(github.event.issue) }}
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
run: |
47+
set -eux
48+
python tests/scripts/github_tag_teams.py || echo failed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# GH actions.
19+
# We use it to cover windows and mac builds
20+
# Jenkins is still the primary CI
21+
22+
name: Update last-successful branch
23+
24+
on:
25+
schedule:
26+
- cron: "0/15 * * * *"
27+
workflow_dispatch:
28+
29+
concurrency:
30+
group: update-last-successful-branch
31+
cancel-in-progress: true
32+
33+
jobs:
34+
update-last-successful-branch:
35+
if: github.repository == 'apache/tvm'
36+
runs-on: ubuntu-20.04
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: Update last-successful branch
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: |
43+
set -eux
44+
python tests/scripts/update_branch.py || echo step failed

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ DerivedData/
108108
*.class
109109
jvm/*/target/
110110
jvm/*/*/target/
111+
jvm/native/*/generated
112+
jvm/native/src/main/native/org_apache_tvm_native_c_api.h
111113
*.worksheet
112114
*.idea
113115
*.iml
@@ -249,3 +251,15 @@ _docs/
249251
jvm/target
250252
.config/configstore/
251253
.ci-py-scripts/
254+
255+
# Generated Hexagon files
256+
src/runtime/hexagon/rpc/hexagon_rpc.h
257+
src/runtime/hexagon/rpc/hexagon_rpc_skel.c
258+
src/runtime/hexagon/rpc/hexagon_rpc_stub.c
259+
260+
# Local tvm-site checkout
261+
tvm-site/
262+
263+
# Generated docs files
264+
gallery/how_to/work_with_microtvm/micro_tvmc.py
265+

.gitmodules

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[submodule "dmlc-core"]
22
path = 3rdparty/dmlc-core
3-
url = https://github.com/dmlc/dmlc-core
3+
url = https://github.com/dmlc/dmlc-core.git
44
[submodule "dlpack"]
55
path = 3rdparty/dlpack
6-
url = https://github.com/dmlc/dlpack
6+
url = https://github.com/dmlc/dlpack.git
77
[submodule "3rdparty/rang"]
88
path = 3rdparty/rang
9-
url = https://github.com/agauniyal/rang
9+
url = https://github.com/agauniyal/rang.git
1010
[submodule "3rdparty/vta-hw"]
1111
path = 3rdparty/vta-hw
12-
url = https://github.com/apache/incubator-tvm-vta
12+
url = https://github.com/apache/tvm-vta.git
1313
[submodule "3rdparty/libbacktrace"]
1414
path = 3rdparty/libbacktrace
1515
url = https://github.com/tlc-pack/libbacktrace.git
1616
[submodule "3rdparty/cutlass"]
1717
path = 3rdparty/cutlass
18-
url = https://github.com/NVIDIA/cutlass
18+
url = https://github.com/NVIDIA/cutlass.git

0 commit comments

Comments
 (0)