Skip to content

Commit ef9c3aa

Browse files
authored
Update README.md (#8868)
1 parent 01c2f36 commit ef9c3aa

File tree

1 file changed

+3
-39
lines changed

1 file changed

+3
-39
lines changed

extension/benchmark/apple/Benchmark/README.md

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -30,47 +30,11 @@ cd executorch
3030

3131
This command performs a shallow clone to speed up the process.
3232

33-
### Set Up the Frameworks
33+
### Build the Frameworks
3434

35-
The Benchmark App relies on prebuilt ExecuTorch frameworks.
36-
You have two options:
35+
The Benchmark App is configured to use a Swift PM package that provides the prebuilt ExecuTorch frameworks.
3736

38-
<details>
39-
<summary>Option 1: Download Prebuilt Frameworks</summary>
40-
<br/>
41-
42-
Run the provided script to download the prebuilt frameworks:
43-
44-
```bash
45-
./extension/benchmark/apple/Benchmark/Frameworks/download_frameworks.sh
46-
```
47-
</details>
48-
49-
<details>
50-
<summary>Option 2: Build Frameworks Locally</summary>
51-
<br/>
52-
53-
Alternatively, you can build the frameworks yourself by following the [guide](https://pytorch.org/executorch/main/apple-runtime.html#local-build).
54-
</details>
55-
56-
Once the frameworks are downloaded or built, verify that the `Frameworks` directory contains the necessary `.xcframework` files:
57-
58-
```bash
59-
ls extension/benchmark/apple/Benchmark/Frameworks
60-
```
61-
62-
You should see:
63-
64-
```
65-
backend_coreml.xcframework
66-
backend_mps.xcframework
67-
backend_xnnpack.xcframework
68-
executorch.xcframework
69-
kernels_custom.xcframework
70-
kernels_optimized.xcframework
71-
kernels_portable.xcframework
72-
kernels_quantized.xcframework
73-
```
37+
By default, the app relies on the package referencing locally built binaries. To ensure it functions correctly, you must first build the frameworks by following the [guide](https://pytorch.org/executorch/main/using-executorch-ios.html#building-from-source).
7438

7539
## Adding Models and Resources
7640

0 commit comments

Comments
 (0)