Skip to content

Commit

Permalink
Added warnings to select Pytorch mobile tutorials directing users to …
Browse files Browse the repository at this point in the history
…ExecuTorch (#3016)

* Added warnings to select ExecuTorch tutorials/recipes/prototypes

* Added warnings to select ExecuTorch tutorials/recipes/prototypes

* Added redirect for renamed prototype

* Update deeplabv3_on_android.rst

Fixed misplaced info tag.

* Apply suggestions from code review

---------

Co-authored-by: Svetlana Karslioglu <[email protected]>
  • Loading branch information
tstatler and svekars authored Aug 30, 2024
1 parent b3c49a3 commit e07d43b
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions beginner_source/deeplabv3_on_android.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Image Segmentation DeepLabV3 on Android

**Reviewed by**: `Jeremiah Chung <https://github.com/jeremiahschung>`_

.. warning::
PyTorch Mobile is no longer actively supported. Please check out `ExecuTorch <https://pytorch.org/executorch-overview>`_, PyTorch’s all-new on-device inference library. You can also review our `end-to-end workflows <https://github.com/pytorch/executorch/tree/main/examples/portable#readme>`_ and review the `source code for DeepLabV3 <https://github.com/pytorch/executorch/tree/main/examples/models/deeplab_v3>`_.


Introduction
------------

Expand Down
9 changes: 9 additions & 0 deletions prototype_source/lite_interpreter.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(Prototype) Introduce lite interpreter workflow in Android and iOS
=======================

This tutorial has been moved to https://pytorch.org/tutorials/recipes/mobile_interpreter.html


.. raw:: html

<meta http-equiv="Refresh" content="0; url='https://pytorch.org/tutorials/recipes/mobile_interpreter.html'" />
3 changes: 3 additions & 0 deletions recipes_source/mobile_interpreter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

**Author**: `Chen Lai <https://github.com/cccclai>`_, `Martin Yuan <https://github.com/iseeyuan>`_

.. warning::
PyTorch Mobile is no longer actively supported. Please check out `ExecuTorch <https://pytorch.org/executorch-overview>`_, PyTorch’s all-new on-device inference library. You can also review our new documentation to learn more about how to build `iOS <https://pytorch.org/executorch/stable/demo-apps-ios.html>`_ and `Android <https://pytorch.org/executorch/stable/demo-apps-android.html>`_ apps with ExecuTorch.

Introduction
------------

Expand Down
5 changes: 4 additions & 1 deletion recipes_source/mobile_perf.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Pytorch Mobile Performance Recipes
==================================

.. warning::
PyTorch Mobile is no longer actively supported. Please check out `ExecuTorch <https://pytorch.org/executorch-overview>`_, PyTorch’s all-new on-device inference library. You can also learn more about `quantization <https://pytorch.org/executorch/stable/quantization-overview.html>`_, `Hardware acceleration (op fusion using hw) <https://pytorch.org/executorch/stable/examples-end-to-end-to-lower-model-to-delegate.html>`_, and `benchmarking <https://pytorch.org/executorch/stable/sdk-profiling.html>`_ on ExecuTorch’s documentation pages.

Introduction
----------------
Performance (aka latency) is crucial to most, if not all,
Expand Down Expand Up @@ -245,7 +248,7 @@ For example, using ResNet-50 and running the following script:



you would get the following result:
you would get the following result:

::

Expand Down
3 changes: 3 additions & 0 deletions recipes_source/ptmobile_recipes_summary.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Summary of PyTorch Mobile Recipes
=====================================

.. warning::
Note: PyTorch Mobile is no longer actively supported. Please check out `ExecuTorch <https://pytorch.org/executorch-overview>`_, PyTorch’s all-new on-device inference library. You can also review these `ExecuTorch examples <https://github.com/pytorch/executorch/tree/main/examples#readme>`_.

This summary provides a top level overview of recipes for PyTorch Mobile to help developers choose which recipes to follow for their PyTorch-powered mobile app development.

Introduction
Expand Down

0 comments on commit e07d43b

Please sign in to comment.