You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/getting-started.md
+6-13Lines changed: 6 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The following are required to install the ExecuTorch host libraries, needed to e
14
14
- Windows is supported via WSL.
15
15
16
16
## Installation
17
-
To use ExecuTorch, you will need to install both the Python package and the appropriate platform-specific runtime libraries. Pip is the recommended way to install the ExecuTorch python package.
17
+
To use ExecuTorch, you will need to install both the Python package and the appropriate platform-specific runtime libraries. Pip is the recommended way to install the ExecuTorch python package.
18
18
19
19
This package includes the dependencies needed to export a PyTorch model, as well as Python runtime bindings for model testing and evaluation. Consider installing ExecuTorch within a virtual environment, such as one provided by [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html#creating-environments) or [venv](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments).
20
20
@@ -72,7 +72,7 @@ Quantization can also be done at this stage to reduce model size and runtime. Qu
72
72
73
73
### Testing the Model
74
74
75
-
After successfully generating a .pte file, it is common to use the Python runtime APIs to validate the model on the development platform. This can be used to evaluate model accuracy before running on-device.
75
+
After successfully generating a .pte file, it is common to use the Python runtime APIs to validate the model on the development platform. This can be used to evaluate model accuracy before running on-device.
76
76
77
77
For the MobileNet V2 model from torchvision used in this example, image inputs are expected as a normalized, float32 tensor with a dimensions of (batch, channels, height, width). The output See [torchvision.models.mobilenet_v2](https://pytorch.org/vision/main/models/generated/torchvision.models.mobilenet_v2.html) for more information on the input and output tensor format for this model.
78
78
@@ -103,20 +103,13 @@ Quick Links:
103
103
### Android
104
104
105
105
#### Installation
106
-
ExecuTorch provides Java bindings for Android usage, which can be consumed from both Java and Kotlin.
107
-
To add the library to your app, download the AAR, and add it to the gradle build rule.
106
+
ExecuTorch provides Java bindings for Android usage, which can be consumed from both Java and Kotlin.
107
+
To add the library to your app, add the following dependency to gradle build rule.
For a full example of running a model on Android, see the [ExecuTorch Android Demo App](https://github.com/pytorch/executorch/blob/main/examples/demo-apps/android/ExecuTorchDemo/app/src/main/java/com/example/executorchdemo/ClassificationActivity.java). For more information on Android development, including building from source, a full description of the Java APIs, and information on using ExecuTorch from Android native code, see [Using ExecuTorch on Android](using-executorch-android.md).
133
+
For a full example of running a model on Android, see the [DeepLabV3AndroidDemo](https://github.com/pytorch-labs/executorch-examples/tree/main/dl3/android/DeepLabV3Demo). For more information on Android development, including building from source, a full description of the Java APIs, and information on using ExecuTorch from Android native code, see [Using ExecuTorch on Android](using-executorch-android.md).
Copy file name to clipboardExpand all lines: docs/source/index.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Welcome to the ExecuTorch Documentation
31
31
</div>
32
32
33
33
The ExecuTorch source is hosted on GitHub at
34
-
https://github.com/pytorch/executorch.
34
+
https://github.com/pytorch/executorch.
35
35
36
36
Join us on `Discord <https://discord.com/invite/Dh43CKSAdc>`__ if you have questions
37
37
about ExecuTorch or would like to become a contributor!
@@ -103,7 +103,7 @@ Topics in this section will help you get started with ExecuTorch.
103
103
:caption:Examples
104
104
:hidden:
105
105
106
-
demo-apps-android.md
106
+
Building an ExecuTorch Android Demo App <https://github.com/pytorch-labs/executorch-examples/tree/main/dl3/android/DeepLabV3Demo#executorch-android-demo-app>
0 commit comments