Open deep learning compiler stack for cpu, gpu and specialized accelerators
Перейти к файлу
Marcus Shawcroft 3e02c97140 Improve task_lint.sh robustness (#2711)
* [SCRIPT] Refactor grep for multiple patterns

Tidy up the use of grep.  Use -E rather than run multiple grep
instances.

* [SCRIPT] Refactor grep use in pipeline.

Prefer to use stdin redirection rather than create a pipeline.

* [SCRIPT] Refactor placement and cleanup of temporary files.

Place temporary files in the conventional /tmp location. Avoid
poisoning file name space by using $$. Ensure the temporary files get
cleaned up, even when the script fails / exits early.

* [SCRIPT] Improve robustness of task_lint.sh error handling.

Ensure script failures are caught and propagated.  Rather than trying
to explicitly catch and propagate failures with explicit "|| exit"
annotations, use the "set -e" idom from docker/install scripts and
have the shell catch and propagate errors in the general case and
special case the grep instances where non zero exit is permitted and
should be ignored.
2019-03-01 10:09:35 -08:00
.github Add link to the reviewers 2018-10-22 23:08:32 -07:00
3rdparty [IR] Update HalideIR (#2582) 2019-02-10 15:21:50 -08:00
apps [RUNTIME][NDArray] Allowing External Libraries to Subclass NDArrays (#2613) 2019-02-21 08:57:13 -08:00
cmake [Hybrid script] Backend support (#2477) 2019-02-13 15:46:34 -08:00
conda Conda packages with cuda support (#2577) 2019-02-09 09:55:56 -08:00
docker Pin pylint version 2.2.2 (#2698) 2019-02-28 18:35:01 -08:00
docs Few docs fixes (#2703) 2019-02-28 10:45:02 -08:00
golang [Golang] bugfix #2517 (#2558) 2019-02-06 06:01:33 -06:00
include/tvm [Lang] Layout in TVM node system (#2509) 2019-02-28 12:26:22 +08:00
jvm Vulkan TVM Android Support (#1571) 2018-08-09 18:41:49 -07:00
nnvm support MXNet _minimum and _maximum (#2709) 2019-03-01 09:26:45 -08:00
python [RELAY][PASS] Enable switching CanonicalizeOps in pass_enabled (#2696) 2019-02-28 09:22:52 -08:00
rust [RUST] Fix typo (#2681) 2019-02-27 11:48:32 -08:00
src [Relay] fix checkwellform (#2705) 2019-03-01 09:23:43 -08:00
tests Improve task_lint.sh robustness (#2711) 2019-03-01 10:09:35 -08:00
topi [TOPI][Relay] Fix default `out_dtype` for `conv2d_NCHWc` and Relay (#2707) 2019-03-01 09:44:27 -08:00
tutorials [DOC] MXNet frontend tutorial (#2688) 2019-02-28 10:26:27 -08:00
verilog Remove leading "./" from include paths (#1640) 2018-08-22 22:11:12 -07:00
vta Stop pylint complaining about useless import alias. (#2655) 2019-02-22 10:03:18 -08:00
web Fix Web Build after CMake transition. (#2407) 2019-01-09 12:19:53 -08:00
.clang-format add .clang-format (#2395) 2019-01-08 13:08:13 -08:00
.gitignore [Relay][RFC] Relay IR Text Format (#1781) 2018-12-02 10:35:01 -08:00
.gitmodules [Relay] Add generic & informative Relay error reporting (#2408) 2019-01-25 10:17:31 -08:00
.travis.yml Remove linux from travis (#156) 2017-05-22 19:47:12 -07:00
CMakeLists.txt [Hybrid script] Backend support (#2477) 2019-02-13 15:46:34 -08:00
CONTRIBUTORS.md add committer (#2661) 2019-02-22 18:59:57 -08:00
Jenkinsfile [TEST] Remove script that references previously removed content. (#2481) 2019-01-24 14:20:08 -05:00
LICENSE [DOC/LICENSE] Make doc and license consistent, opensource repo when we get approval (#134) 2017-05-09 20:36:23 -07:00
Makefile Fix Web Build after CMake transition. (#2407) 2019-01-09 12:19:53 -08:00
NEWS.md Version 0.5 (#2604) 2019-02-15 21:05:57 -08:00
NOTICE NOTICE (#2203) 2018-11-29 23:43:41 -08:00
README.md Update README.md typo (#2132) 2018-11-19 09:00:55 -08:00
version.py Version 0.5 (#2604) 2019-02-15 21:05:57 -08:00

README.md

Open Deep Learning Compiler Stack

GitHub license Build Status

Documentation | Contributors | Community | Release Notes

TVM is a compiler stack for deep learning systems. It is designed to close the gap between the productivity-focused deep learning frameworks, and the performance- and efficiency-focused hardware backends. TVM works with deep learning frameworks to provide end to end compilation to different backends. Checkout the tvm stack homepage for more information.

License

© Contributors Licensed under an Apache-2.0 license.

Contribute to TVM

TVM adopts apache committer model, we aim to create an open source project that is maintained and owned by the community. Checkout the Contributor Guide

Acknowledgement

We learnt a lot from the following projects when building TVM.

  • Halide: TVM uses HalideIR as data structure for arithmetic simplification and low level lowering. We also learnt and adapted some part of lowering pipeline from Halide.
  • Loopy: use of integer set analysis and its loop transformation primitives.
  • Theano: the design inspiration of symbolic scan operator for recurrence.