Skip to content

Files

This branch is 10365 commits behind apache/tvm:main.

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 28, 2018
Apr 25, 2019
May 2, 2019
Apr 8, 2019
May 1, 2019
Apr 8, 2019
May 2, 2019
Apr 29, 2019
Apr 8, 2019
Apr 15, 2017
Apr 8, 2019
Apr 8, 2019
Jul 12, 2018
Apr 8, 2019
Apr 8, 2019
Apr 8, 2019
Apr 8, 2019
Apr 8, 2019
Apr 8, 2019
TVM Documentations
==================
This folder contains the source of TVM documents

- A hosted version of doc is at http://docs.tvm.ai
- pip install sphinx>=1.5.5 sphinx-gallery sphinx_rtd_theme matplotlib Image recommonmark Pillow
- Build tvm first in the root folder.
- To build locally, you need to enable USE_CUDA, USE_OPENCL, LLVM_CONFIG in config.mk and then type "make html" in this folder.

Only Execute Specified Tutorials
--------------------------------
The document build process will execute all the tutorials in the sphinx gallery.
This will cause failure in some cases when certain machines do not have necessary
environment. You can set ```TVM_TUTORIAL_EXEC_PATTERN``` to only execute
the path that matches the regular expression pattern.

For example, to only build tutorials under /vta/tutorials, run

```bash
TVM_TUTORIAL_EXEC_PATTERN=/vta/tutorials make html
```

To only build one specific file, do

```bash
# The slash \ is used to get . in regular expression
TVM_TUTORIAL_EXEC_PATTERN=file_name\.py make html
```