|
1 | 1 | Summary of PyTorch Mobile Recipes |
2 | 2 | ===================================== |
3 | 3 |
|
4 | | -.. warning:: |
5 | | - 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>`_. |
| 4 | +This tutorial has been deprecated. There is a new tutorial on this topic. |
6 | 5 |
|
7 | | -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. |
| 6 | +Redirecting in 3 seconds... |
8 | 7 |
|
9 | | -Introduction |
10 | | ----------------- |
| 8 | +.. raw:: html |
11 | 9 |
|
12 | | -When a PyTorch model is trained or retrained, or when a pre-trained model is available, for mobile deployment, follow the the recipes outlined in this summary so mobile apps can successfully use the model. |
13 | | - |
14 | | -Pre-requisites |
15 | | ----------------- |
16 | | - |
17 | | -PyTorch 1.6.0 or 1.7.0 |
18 | | - |
19 | | -(Optional) torchvision 0.6.0 or 0.7.0 |
20 | | - |
21 | | -For iOS development: Xcode 11 or 12 |
22 | | - |
23 | | -For Android development: Android Studio 3.5.1 or above (with NDK installed); or Android SDK, NDK, Gradle, JDK. |
24 | | - |
25 | | -New Recipes for PyTorch Mobile |
26 | | --------------------------------- |
27 | | - |
28 | | -* (Recommended) To fuse a list of PyTorch modules into a single module to reduce the model size before quantization, read the `Fuse Modules recipe <fuse.html>`_. |
29 | | - |
30 | | -* (Recommended) To reduce the model size and make it run faster without losing much on accuracy, read the `Quantization Recipe <quantization.html>`_. |
31 | | - |
32 | | -* (Must) To convert the model to TorchScipt and (optional) optimize it for mobile apps, read the `Script and Optimize for Mobile Recipe <script_optimized.html>`_. |
33 | | - |
34 | | -* (Must for iOS development) To add the model in an iOS project and use PyTorch pod for iOS, read the `Model preparation for iOS Recipe <model_preparation_ios.html>`_. |
35 | | - |
36 | | -* (Must for Android development) To add the model in an Android project and use the PyTorch library for Android, read the `Model preparation for Android Recipe <model_preparation_android.html>`_. |
37 | | - |
38 | | - |
39 | | -Learn More |
40 | | ------------------ |
41 | | - |
42 | | -1. `PyTorch Mobile site <https://pytorch.org/mobile>`_ |
43 | | -2. `PyTorch Mobile Performance Recipes <https://pytorch.org/tutorials/recipes/mobile_perf.html>`_ |
| 10 | + <meta http-equiv="Refresh" content="3; url='https://pytorch.org/executorch/stable/index.html'" /> |
0 commit comments