:orphan: User Tutorial ------------- This tutorial provides an introduction to TVM, meant to address user who is new to the TVM project. It begins with some basic information on how TVM works, then works through installing TVM, compiling and optimizing models, then digging in deeper to the Tensor Expression language and the tuning and optimization tools that are built on top of it. After completing the tutorial, a new user should be familiar enough with TVM to optimize models, and will be prepared to dig into TVM more deeply. .. raw:: html
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_introduction_thumb.png :alt: Introduction :ref:`sphx_glr_tutorial_introduction.py` .. raw:: html
Introduction
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_install_thumb.png :alt: Installing TVM :ref:`sphx_glr_tutorial_install.py` .. raw:: html
Installing TVM
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_tvmc_command_line_driver_thumb.png :alt: Compiling and Optimizing a Model with TVMC :ref:`sphx_glr_tutorial_tvmc_command_line_driver.py` .. raw:: html
Compiling and Optimizing a Model with TVMC
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_tvmc_python_thumb.png :alt: Getting Starting using TVMC Python: a high-level API for TVM :ref:`sphx_glr_tutorial_tvmc_python.py` .. raw:: html
Getting Starting using TVMC Python: a high-level API for TVM
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_autotvm_relay_x86_thumb.png :alt: Compiling and Optimizing a Model with the Python Interface (AutoTVM) :ref:`sphx_glr_tutorial_autotvm_relay_x86.py` .. raw:: html
Compiling and Optimizing a Model with the Python Interface (AutoTVM)
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_tensor_expr_get_started_thumb.png :alt: Working with Operators Using Tensor Expression :ref:`sphx_glr_tutorial_tensor_expr_get_started.py` .. raw:: html
Working with Operators Using Tensor Expression
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_autotvm_matmul_x86_thumb.png :alt: Optimizing Operators with Schedule Templates and AutoTVM :ref:`sphx_glr_tutorial_autotvm_matmul_x86.py` .. raw:: html
Optimizing Operators with Schedule Templates and AutoTVM
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_auto_scheduler_matmul_x86_thumb.png :alt: Optimizing Operators with Auto-scheduling :ref:`sphx_glr_tutorial_auto_scheduler_matmul_x86.py` .. raw:: html
Optimizing Operators with Auto-scheduling
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_tensor_ir_blitz_course_thumb.png :alt: Blitz Course to TensorIR :ref:`sphx_glr_tutorial_tensor_ir_blitz_course.py` .. raw:: html
Blitz Course to TensorIR
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_cross_compilation_and_rpc_thumb.png :alt: Cross Compilation and RPC :ref:`sphx_glr_tutorial_cross_compilation_and_rpc.py` .. raw:: html
Cross Compilation and RPC
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_relay_quick_start_thumb.png :alt: Quick Start Tutorial for Compiling Deep Learning Models :ref:`sphx_glr_tutorial_relay_quick_start.py` .. raw:: html
Quick Start Tutorial for Compiling Deep Learning Models
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_uma_thumb.png :alt: Making your Hardware Accelerator TVM-ready with UMA :ref:`sphx_glr_tutorial_uma.py` .. raw:: html
Making your Hardware Accelerator TVM-ready with UMA
.. raw:: html
.. only:: html .. image:: /tutorial/images/thumb/sphx_glr_intro_topi_thumb.png :alt: Introduction to TOPI :ref:`sphx_glr_tutorial_intro_topi.py` .. raw:: html
Introduction to TOPI
.. raw:: html
.. toctree:: :hidden: /tutorial/introduction /tutorial/install /tutorial/tvmc_command_line_driver /tutorial/tvmc_python /tutorial/autotvm_relay_x86 /tutorial/tensor_expr_get_started /tutorial/autotvm_matmul_x86 /tutorial/auto_scheduler_matmul_x86 /tutorial/tensor_ir_blitz_course /tutorial/cross_compilation_and_rpc /tutorial/relay_quick_start /tutorial/uma /tutorial/intro_topi .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_