Skip to content

Commit d4e22c1

Browse files
authored
Minor doc fixes (#15336)
### Summary Fix heading level for build verification, cleanup wording on Windows reqs, update android presets since they were split by arch.
1 parent b495fa3 commit d4e22c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/source/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The following are required to install the ExecuTorch host libraries, needed to e
1212
- g++ version 7 or higher, clang++ version 5 or higher, or another C++17-compatible toolchain.
1313
- Linux (x86_64 or ARM64), macOS (ARM64), or Windows (x86_64).
1414
- Intel-based macOS systems require building PyTorch from source (see [Building From Source](using-executorch-building-from-source.md) for instructions).
15-
- On Windows, Visual Studio 2022 or later. Clang build tools are needed to build from source.
15+
- On Windows, Visual Studio 2022 or later.
1616

1717
## Installation
1818
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.

docs/source/using-executorch-building-from-source.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ portability details.
8383
CMAKE_ARGS="-DEXECUTORCH_BUILD_MPS=ON" ./install_executorch.sh
8484
```
8585

86-
## Verify the Build
86+
### Verify the Build
8787

8888
To verify that the Python components are installed correctly, run the following command. This will create a file named mv2_xnnpack_fp32.pte in the current directory for the MobileNet V2 model with the XNNPACK backend. If it completes without error, the ExecuTorch Python components are installed successfully.
8989
```bash
@@ -162,7 +162,8 @@ ExecuTorch provides fine-grained control over what is built, as described in [Bu
162162
163163
Preset values for common scenarios are listed below. Using a platform preset is recommended to avoid needing to specify many fine-grained build options.
164164
165-
* `android` - Build featuers and backends common for Android targets.
165+
* `android-arm64-v8a` - Build features and backends common for arm64-v8a Android targets.
166+
* `android-x86_64` - Build features and backends common for x86_64 Android targets.
166167
* `arm-baremetal` - Build for bare-metal ARM targets.
167168
* `ios` - Build features and backends common for iOS targets.
168169
* `macos` - Build features and backends common for Mac targets.

0 commit comments

Comments
 (0)