Skip to content

Commit

Permalink
Merge branch 'main' into ekut
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Jan 9, 2024
2 parents c30fbe8 + a1a1a7c commit ecb7f46
Show file tree
Hide file tree
Showing 580 changed files with 9,469 additions and 2,568 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ jobs:
- name: Minimal Metal Compile-Only
shell: bash -l {0}
run: |
python -m pytest -v -s 'tests/python/unittest/test_allreduce.py::test_allreduce_sum_compile'
python -m pytest -v -s 'tests/python/unittest/test_target_codegen_metal.py::test_func_with_trailing_pod_params'
python -m pytest -v -s 'tests/python/codegen/test_gpu_codegen_allreduce.py::test_allreduce_sum_compile'
python -m pytest -v -s 'tests/python/codegen/test_target_codegen_metal.py::test_func_with_trailing_pod_params'
- name: Minimal Metal Compile-and-Run
shell: bash -l {0}
run: >-
python -m pytest -v -s 'tests/python/unittest/test_allreduce.py::test_allreduce_sum[dims0-metal]'
python -m pytest -v -s 'tests/python/codegen/test_gpu_codegen_allreduce.py::test_allreduce_sum[dims0-metal]'
- name: Test iOS RPC
shell: bash -l {0}
run: >-
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
add_compile_options(/bigobj)

# Use standard-conforming two-phase name resolution for templates.
# This minimizes the differences between g++/clang builds on Linux,
# and MSVC builds on Windows.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /permissive-")

# MSVC already errors on undefined symbols, no additional flag needed.
set(TVM_NO_UNDEFINED_SYMBOLS "")

Expand Down
8 changes: 6 additions & 2 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ We do encourage everyone to work anything they are interested in.
- [Siyuan Feng](https://github.com/Hzfengsy) (PMC): @Hzfengsy - tir
- [Josh Fromm](https://github.com/jwfromm) (PMC): @jwfromm - frontends, quantization, topi
- [Mehrdad Hessar](https://github.com/mehrdadh): @mehrdadh - microTVM, hexagon
- [Bohan Hou](https://github.com/spectrometerHBH): @spectrometerHBH - tir, arith, tvm-script
- [Bohan Hou](https://github.com/spectrometerHBH) (PMC): @spectrometerHBH - tir, arith, tvm-script
- [Yuwei Hu](https://github.com/Huyuwei): @Huyuwei - topi, frontends
- [Luke Hutton](https://github.com/lhutton1): @lhutton1 - ethos-u, arm
- [Nick Hynes](https://github.com/nhynes): @nhynes: - sgx, rust
Expand All @@ -52,7 +52,7 @@ We do encourage everyone to work anything they are interested in.
- [Elen Kalda](https://github.com/ekalda): @ekalda - ethos-u, arm
- [Marisa Kirisame](https://github.com/MarisaKirisame): @MarisaKirisame - relay
- [Tristan Konolige](https://github.com/tkonolige): @tkonolige - profiling, relay, tir, runtime
- [Ruihang Lai](https://github.com/MasterJH5574): @MasterJH5574 - tir, tvm-script
- [Ruihang Lai](https://github.com/MasterJH5574) (PMC): @MasterJH5574 - tir, tvm-script
- [Wuwei Lin](https://github.com/vinx13) (PMC): @vinx13 - relay, topi, tir, meta_schedule
- [Yizhi Liu](https://github.com/yzhliu) (PMC): @yzhliu - jvm, topi, relay
- [Hao Lu](https://github.com/hlu1): @hlu1 - nnpack, frontends
Expand Down Expand Up @@ -89,6 +89,8 @@ We do encourage everyone to work anything they are interested in.
- [Eddie Yan](https://github.com/eqy) (PMC): @eqy - runtime, autotvm, rpc, topi
- [Zihao Ye](https://github.com/yzh119): @yzh119 - tir
- [Hao Yu](https://github.com/comaniac): @comaniac (PMC) - relay, byoc, auto_scheduler
- [Shuai Yuan](https://github.com/ysh329): @ysh329 - ci
- [Qiang Zhang](https://github.com/Johnson9009): @Johnson9009 - relay, tvm-script
- [Lianmin Zheng](https://github.com/merrymercy) (PMC): @merrymercy - autotvm, auto_scheduler, topi, relay
- [Xiyou Zhou](https://github.com/zxybazh): @zxybazh - relay
- [wrongtest](https://github.com/wrongtest-intellif) (PMC): @wrongtest-intellif - tir, tvm-script, arith
Expand All @@ -112,6 +114,7 @@ We do encourage everyone to work anything they are interested in.
- [Balint Cristian](https://github.com/cbalint13): @cbalint13
- [Egor Churaev](https://github.com/echuraev): @echuraev
- [Xiaoqiang Dan](https://github.com/xqdan): @xqdan
- [Yixin Dong](https://github.com/Ubospica) @Ubospica
- [Haozheng Fan](https://github.com/hzfan): @hzfan
- [Siyuan Feng](https://github.com/Hzfengsy): @Hzfengsy
- [Josh Fromm](https://github.com/jwfromm): @jwfromm
Expand Down Expand Up @@ -211,6 +214,7 @@ We do encourage everyone to work anything they are interested in.
- [Aleksei Yazev](https://github.com/Aleksei-grovety): @Aleksei-grovety
- [Zihao Ye](https://github.com/yzh119): @yzh119
- [Hao Yu](https://github.com/comaniac): @comaniac
- [Shuai Yuan](https://github.com/ysh329): @ysh329
- [Joshua Z. Zhang](https://github.com/zhreshold): @zhreshold
- [Lianmin Zheng](https://github.com/merrymercy): @merrymercy
- [Min Chen](https://github.com/multiverstack-intellif): @multiverstack-intellif
Expand Down
16 changes: 8 additions & 8 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ TVM project in a healthy state and preventing breakages. CI in TVM is broken int
- Definitions of test suites, with each suite defined as a separate `task_` script in
[`tests/scripts`](../tests/scripts).
- Scripts and automation [`ci/scripts`](../ci/scripts).
- The linux test sequence (in [`Jenkinsfile`](../Jenkinsfile)), which lints and builds TVM and runs test
- The linux test sequence (in [`Jenkinsfile`](../ci/jenkins/templates/)), which lints and builds TVM and runs test
suites using Docker on Linux.
- The Windows and Mac test sequences (in [`.github/actions`](../.github/actions)).
- GitHub Actions that support the code review process (in [`.github/actions`](../.github/actions)).
Expand Down Expand Up @@ -66,33 +66,33 @@ https://github.com/apache/tvm/actions has the logs for each of these workflows.

Each CI job runs most of its work inside a Docker container, built from files
in the [`docker/`](../docker) folder. These
files are built nightly in Jenkins via the [docker-images-ci](https://ci.tlcpack.ai/job/docker-images-ci/>) job.
The images for these containers are hosted in the [tlcpack Docker Hub](https://hub.docker.com/u/tlcpack>)
and referenced in the [`Jenkinsfile.j2`](Jenkinsfile.j2). These can be inspected and run
files are built nightly in Jenkins via the [docker-images-ci](https://ci.tlcpack.ai/job/docker-images-ci/) job.
The images for these containers are hosted in the [tlcpack Docker Hub](https://hub.docker.com/u/tlcpack)
and referenced in the [`jenkins/templates`](/ci/jenkins/templates/). These can be inspected and run
locally via standard Docker commands.

### `ci-docker-staging`

The [ci-docker-staging](https://github.com/apache/tvm/tree/ci-docker-staging>)
The [ci-docker-staging](https://github.com/apache/tvm/tree/ci-docker-staging)
branch is used to test updates to Docker images and `Jenkinsfile` changes. When
running a build for a normal PR from a forked repository, Jenkins uses the code
from the PR except for the `Jenkinsfile` itself, which comes from the base branch.
When branches are built, the `Jenkinsfile` in the branch is used, so a committer
with write access must push PRs to a branch in apache/tvm to properly test
`Jenkinsfile` changes. If your PR makes changes to the `Jenkinsfile`, make sure
to @ a [committer](../CONTRIBUTORS.md>)
to @ a [committer](/CONTRIBUTORS.md)
and ask them to push your PR as a branch to test the changes.

# Jenkins CI

TVM uses Jenkins for running Linux continuous integration (CI) tests on
[branches](https://ci.tlcpack.ai/job/tvm/) and
[pull requests](https://ci.tlcpack.ai/job/tvm/view/change-requests/) through a
build configuration specified in a [`Jenkinsfile`](../Jenkinsfile).
build configuration specified in a [`Jenkinsfile`](/ci/jenkins/templates/).
Other jobs run in GitHub Actions for Windows and MacOS jobs.

## `Jenkinsfile`

The template files in this directory are used to generate the [`Jenkinsfile`](../Jenkinsfile) used by Jenkins to run CI jobs for each commit to PRs and branches.
The template files in this directory are used to generate the [`Jenkinsfile`](/ci/jenkins/templates/) used by Jenkins to run CI jobs for each commit to PRs and branches.

To regenerate the `Jenkinsfile`, run `make` in the `ci/jenkins` dir.
4 changes: 2 additions & 2 deletions ci/jenkins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ https://github.com/apache/tvm/actions has the logs for each of these workflows.
TVM uses Jenkins for running Linux continuous integration (CI) tests on
[branches](https://ci.tlcpack.ai/job/tvm/) and
[pull requests](https://ci.tlcpack.ai/job/tvm/view/change-requests/) through a
build configuration specified in a [`Jenkinsfile`](../../Jenkinsfile).
build configuration specified in a [`Jenkinsfile`](/ci/jenkins/templates/).
Other jobs run in GitHub Actions for Windows and MacOS jobs.

## `Jenkinsfile`

The template files in this directory are used to generate the [`Jenkinsfile`](../../Jenkinsfile) used by Jenkins to run CI jobs for each commit to PRs and branches.
The template files in this directory are used to generate the [`Jenkinsfile`](/ci/jenkins/templates/) used by Jenkins to run CI jobs for each commit to PRs and branches.

To regenerate the `Jenkinsfile`, run

Expand Down
20 changes: 10 additions & 10 deletions ci/jenkins/docker-images.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

# This data file is read during when Jenkins runs job to determine docker images.
[jenkins]
ci_arm: tlcpack/ci-arm:20231013-060139-71caa19f9
ci_cortexm: tlcpack/ci-cortexm:20230710-060128-a60cd0fec
ci_cpu: tlcpack/ci-cpu:20230604-060130-0af9ff90e
ci_gpu: tlcpack/ci-gpu:20231004-111300-7a1f7d0b
ci_hexagon: tlcpack/ci-hexagon:20230504-142417-4d37a0a0
ci_i386: tlcpack/ci-i386:20230504-142417-4d37a0a0
ci_lint: tlcpack/ci-lint:20230504-142417-4d37a0a0
ci_minimal: tlcpack/ci-minimal:20230504-142417-4d37a0a0
ci_riscv: tlcpack/ci-riscv:20230504-142417-4d37a0a0
ci_wasm: tlcpack/ci-wasm:20230504-142417-4d37a0a0
ci_arm: tlcpack/ci-arm:20240105-165030-51bdaec6
ci_cortexm: tlcpack/ci-cortexm:20240105-165030-51bdaec6
ci_cpu: tlcpack/ci-cpu:20240105-165030-51bdaec6
ci_gpu: tlcpack/ci-gpu:20240105-165030-51bdaec6
ci_hexagon: tlcpack/ci-hexagon:20240105-165030-51bdaec6
ci_i386: tlcpack/ci-i386:20240105-165030-51bdaec6
ci_lint: tlcpack/ci-lint:20240105-165030-51bdaec6
ci_minimal: tlcpack/ci-minimal:20240105-165030-51bdaec6
ci_riscv: tlcpack/ci-riscv:20240105-165030-51bdaec6
ci_wasm: tlcpack/ci-wasm:20240105-165030-51bdaec6
4 changes: 2 additions & 2 deletions ci/jenkins/generated/arm_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/cortexm_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/cpu_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/docker_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/gpu_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/hexagon_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/i386_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/lint_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/minimal_cross_isa_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ci/jenkins/generated/minimal_jenkinsfile.groovy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ecb7f46

Please sign in to comment.