Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/apache/tvm into main
Browse files Browse the repository at this point in the history
  • Loading branch information
michalpiszczek committed Dec 6, 2022
2 parents 0d2f61f + 9374738 commit 44deee0
Show file tree
Hide file tree
Showing 1,746 changed files with 128,439 additions and 33,775 deletions.
3 changes: 2 additions & 1 deletion .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ github:
collaborators:
- hpanda-naut
- denise-k
- driazati
- janetsc
- naut-thomas
- tvm-bot # For automated feedback in PR review.

# See https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features#Git.asf.yamlfeatures-Branchprotection
Expand Down
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Jenkinsfile linguist-generated=true

ci/jenkins/generated/* linguist-generated=true
11 changes: 8 additions & 3 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
name: "\U0001F41B Bug report"
about: To help the developer act on the issues, please include a description of your environment, preferably a minimum script to reproduce the problem.
about: Please include a description of your environment, preferably a minimum script to reproduce the problem. Find the list of label tags at https://tinyurl.com/5fnd5rkn.
title: "[Bug] "
labels: "type: bug"

labels: "needs-triage, type: bug"
---

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:
Expand All @@ -25,3 +24,9 @@ Any environment details, such as: Operating System, TVM version, etc
### Steps to reproduce

Preferably a minimal script to cause the issue to occur.

### Triage

Please refer to the list of label tags [here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the relevant tags and add them below in a bullet format (example below).

* needs-triage
29 changes: 0 additions & 29 deletions .github/ISSUE_TEMPLATE/ci-image.md

This file was deleted.

13 changes: 9 additions & 4 deletions .github/ISSUE_TEMPLATE/ci-problem.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
name: "\U0000274C CI Problem"
about: To help the developers act on these problems, please give us as many details of the CI failure as possible.
about: To help the developers act on these problems, please give us as many details of the CI failure as possible. Find the list of label tags at https://tinyurl.com/5fnd5rkn.
title: "[CI Problem] "
labels: "needs-triage"

labels: "needs-triage, type:ci"
---

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:
Expand All @@ -20,4 +19,10 @@ Provide a link to the specific run that has failed.

### Flakiness

Have you seen this multiple times in this branch or in other branches?
Have you seen this multiple times in this branch or in other branches?

### Triage

Please refer to the list of label tags [here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the relevant tags and add them below in a bullet format (example below).

* needs-triage
10 changes: 7 additions & 3 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
name: "\U0001F4C4 Documentation"
about: Use this template to suggest additions and changes to the documentation.
about: Use this template to suggest additions and changes to the documentation. Find the list of label tags at https://tinyurl.com/5fnd5rkn.
title: "[Docs] "
labels: "type: doc"

labels: "needs-triage, type: doc"
---

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:
Expand All @@ -20,3 +19,8 @@ If an RFC/discuss post exists, link it here.

Otherwise, specify what actions should be taken to provide additional clarity/readability/reproducibility to the document. Include code snippets from the previous documentation if applicable.

### Triage

Please refer to the list of label tags [here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the relevant tags and add them below in a bullet format (example below).

* needs-triage
11 changes: 8 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-tracking.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
name: "\U0001F527 Feature Tracking"
about: List clear, small actionable items so we can track the progress of the change.
about: List clear, small actionable items so we can track the progress of the change. Find the list of label tags at https://tinyurl.com/5fnd5rkn.
title: "[Tracking Issue] "
labels: type:rfc-tracking

labels: "needs-triage, type:rfc-tracking"
---

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:
Expand All @@ -12,3 +11,9 @@ Issues that are inactive for a period of time may get closed. We adopt this poli

### This issue is to track progress for FEATURE NAME
- [ ] P1. Title of this piece of the feature (PR link if available)

### Triage

Please refer to the list of label tags [here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the relevant tags and add them below in a bullet format (example below).

* needs-triage
12 changes: 9 additions & 3 deletions .github/ISSUE_TEMPLATE/flaky-test.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
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)
about: Report flaky tests, make sure to include link to CI runs, a sample failure log, and the name of the test(s). Find the list of label tags at https://tinyurl.com/5fnd5rkn.
title: "[Flaky Test] "
labels: "test: flaky"
labels: "needs-triage, 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.
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)

Expand All @@ -16,3 +16,9 @@ These tests were found to be flaky (intermittently failing on `main` or failed i
### 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)

### Triage

Please refer to the list of label tags [here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the relevant tags and add them below in a bullet format (example below).

* needs-triage
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@ runs:
run: |
conda info
conda list
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ updates:
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 0
open-pull-requests-limit: 0
55 changes: 55 additions & 0 deletions .github/disabled_workflows/pr_comment_bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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.

name: comment-bot
on:
pull_request_target:
types: [opened, reopened, edited, ready_for_review, labeled]
status:

concurrency:
group: pr-comment-${{ github.event.number }}-${{ github.event.target_url }}
cancel-in-progress: true

jobs:
run-comment-bot:
if: ${{ github.repository == 'apache/tvm' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Comment bot comment (pr)
if: ${{ github.event.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
run: |
set -eux
python ci/scripts/github/github_pr_comment.py --pr "$PR_NUMBER"
- name: Comment bot comment (status)
if: ${{ github.event.state }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
URL: ${{ github.event.target_url }}
run: |
set -eux
if [[ "$URL" == *"PR-"* ]]; then
echo "PR status, sending comment"
PR_NUMBER=$(echo $URL | sed 's/.*PR-//g' | sed 's/\/.*//g')
python ci/scripts/github/github_pr_comment.py --pr "$PR_NUMBER" || /bin/true
else
echo "Not a PR status, skipping"
fi
2 changes: 1 addition & 1 deletion .github/workflows/cc_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
python tests/scripts/github_cc_reviewers.py || echo step failed
python ci/scripts/github/github_cc_reviewers.py || echo step failed
18 changes: 0 additions & 18 deletions .github/workflows/docs_bot.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
-DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \
-DCMAKE_BUILD_WITH_INSTALL_NAME_DIR=ON \
-DUSE_IOS_RPC=ON"
mkdir build-ios-simulator
cd build-ios-simulator
cmake .. ${CMAKE_FLAGS}
Expand Down Expand Up @@ -164,4 +164,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: android_camera-debug.apk
path: ./apps/android_camera/app/build/outputs/apk/debug/app-debug.apk
path: ./apps/android_camera/app/build/outputs/apk/debug/app-debug.apk
2 changes: 1 addition & 1 deletion .github/workflows/nightly_docker_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
python tests/scripts/open_docker_update_pr.py
python ci/scripts/jenkins/open_docker_update_pr.py
2 changes: 1 addition & 1 deletion .github/workflows/ping_reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
python tests/scripts/ping_reviewers.py --wait-time-minutes 10080 || echo failed
python ci/scripts/github/ping_reviewers.py --wait-time-minutes 10080 || echo failed
9 changes: 1 addition & 8 deletions .github/workflows/tag_teams.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,9 @@
# 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: Teams

on:
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
pull_request_target:
types: [opened, reopened, edited, ready_for_review, labeled]
issues:
types: [opened, edited, reopened, labeled]

Expand All @@ -45,4 +38,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
python tests/scripts/github_tag_teams.py || echo failed
python ci/scripts/github/github_tag_teams.py || echo failed
2 changes: 1 addition & 1 deletion .github/workflows/tvmbot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: |
set -eux
python tests/scripts/github_tvmbot.py --pr "$PR_NUMBER" --run-url "$RUN_URL" --trigger-comment-json "$ISSUE_COMMENT"
python ci/scripts/github/github_tvmbot.py --pr "$PR_NUMBER" --run-url "$RUN_URL" --trigger-comment-json "$ISSUE_COMMENT"
2 changes: 1 addition & 1 deletion .github/workflows/update_last_successful_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
python tests/scripts/update_branch.py || echo step failed
python ci/scripts/github/update_branch.py || echo step failed
2 changes: 2 additions & 0 deletions .github/workflows/upload_ci_resource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ jobs:
echo "$SHA256 downloaded_file" | sha256sum --check
aws s3 cp downloaded_file "s3://tvm-ci-resources/$UPLOAD_PATH"
echo "The item is available at https://tvm-ci-resources.s3.us-west-2.amazonaws.com/$UPLOAD_PATH"
echo "Add this line to tests/scripts/request_hook/request_hook.py"
echo " \"$URL\": f\"{BASE}/$UPLOAD_PATH\","
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
[submodule "3rdparty/cutlass"]
path = 3rdparty/cutlass
url = https://github.com/NVIDIA/cutlass.git
[submodule "3rdparty/OpenCL-Headers"]
path = 3rdparty/OpenCL-Headers
url = https://github.com/KhronosGroup/OpenCL-Headers.git
1 change: 1 addition & 0 deletions 3rdparty/OpenCL-Headers
Submodule OpenCL-Headers added at b590a6
1 change: 0 additions & 1 deletion 3rdparty/libcrc/tab/gentab_ccitt.inc
Original file line number Diff line number Diff line change
Expand Up @@ -267,4 +267,3 @@ const uint16_t crc_tabccitt[256] = {
0x0ED1u,
0x1EF0u
};

Loading

0 comments on commit 44deee0

Please sign in to comment.