Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions docs/install/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,19 @@ Installing TVM
.. toctree::
:maxdepth: 1

pypi
from_source
docker

Visit the :ref:`install TVM from source <install-from-source>` page to install TVM from the source code. Installing
from source gives you the maximum flexibility to configure the build effectively from the official source releases.
If you are interested in deploying to mobile or embedded devices, you do not need to
install the entire TVM stack on your device. Instead, you only need the runtime.
For most Python users, the quickest way to get started is to
:ref:`install the Apache TVM wheel from PyPI <install-from-pypi>`.

Visit the :ref:`install TVM from source <install-from-source>` page to install
TVM from the source code. Installing from source gives you the maximum
flexibility to configure the build effectively from the official source
releases. If you are interested in deploying to mobile or embedded devices,
you do not need to install the entire TVM stack on your device. Instead, you
only need the runtime.

If you would like to quickly try out TVM or run some demo and tutorials, you
can :ref:`install from Docker <docker-images>`.
36 changes: 36 additions & 0 deletions docs/install/pypi.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.. 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.

.. _install-from-pypi:

Install from PyPI
=================

For most Python users, the quickest way to get started is to install the Apache
TVM wheel from PyPI:

.. code-block:: bash

pip install apache-tvm

This installs the Python package, including modules such as ``tvm.tirx``, and
is suitable for trying tutorials that do not require a custom build.
Comment thread
tlopex marked this conversation as resolved.

For more details on installing the TIRx compiler and optional kernel library,
visit the :doc:`TIRx installation </tirx/install>` page. If you need to
customize TVM's build configuration, visit the
:ref:`install TVM from source <install-from-source>` page instead.
2 changes: 1 addition & 1 deletion docs/tirx/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Install the Apache TVM wheel (the TIRx compiler is the ``tvm.tirx`` module):

.. code-block:: bash

pip install apache-tvm==0.25.0
pip install apache-tvm
Comment thread
tlopex marked this conversation as resolved.

Verify:

Expand Down
Loading