Skip to content

Export to Executorch Tutorial #474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 5 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
sphinx_gallery_conf = {
"examples_dirs": ["tutorials_source"],
"gallery_dirs": ["tutorials"],
"filename_pattern": "/tutorials/",
"filename_pattern": "/tutorials_source/",
"promote_jupyter_magic": True,
"backreferences_dir": None,
"first_notebook_cell": ("%matplotlib inline"),
Expand All @@ -90,6 +90,10 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]

# autosectionlabel throws warnings if section names are duplicated.
# The following tells autosectionlabel to not throw a warning for
# duplicated section names that are in different documents.
autosectionlabel_prefix_document = True

# -- Options for HTML output -------------------------------------------------

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions docs/source/export-overview.md

This file was deleted.

10 changes: 10 additions & 0 deletions docs/source/export-overview.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Exporting to Executorch
=======================

A tutorial for exporting a PyTorch model to executorch `here <./tutorials/export-to-executorch-tutorial.html>`__

It will redirect in 3 seconds.

.. raw:: html

<meta http-equiv="Refresh" content="3; url='./tutorials/export-to-executorch-tutorial.html'" />
10 changes: 8 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Topics in this section will help you get started with ExecuTorch.
:caption: Tutorials
:hidden:

tutorials/template_tutorial
tutorials/export-to-executorch-tutorial

Tutorials and Examples
~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -180,5 +180,11 @@ ExecuTorch tutorials.
:link: tutorials/template_tutorial.html
:tags: Template

.. customcardend::
.. customcarditem::
:header: Exporting to Executorch Tutorial
:card_description: A tutorial for exporting a model and lowering a it to be runnable on the Executorch runtime.
:image: _static/img/generic-pytorch-logo.png
:link: tutorials/export-to-executorch.html
:tags: Export,Delegation,Quantization

.. customcardend::
Loading