Skip to content

Commit ed0a970

Browse files
authored
[RELEASE ONLY CHANGES] Update version references in docs for 1.3 release (#19791)
Bump iOS/SwiftPM and Raspberry Pi version examples on the release/1.3 branch to point at 1.3.0 (and 1.4.0 nightly), following the v1.2.0 release-only doc bump in #18635. Files: - `docs/source/getting-started.md`: `swiftpm-0.6.0` example -> `swiftpm-1.3.0` - `docs/source/using-executorch-ios.md`: stable example `swiftpm-1.0.0` -> `swiftpm-1.3.0`; nightly example `swiftpm-1.1.0-20251101` -> `swiftpm-1.4.0-20260601`; Package.swift example `branch: "swiftpm-1.0.0"` -> `branch: "swiftpm-1.3.0"` - `docs/source/raspberry_pi_llama_tutorial.md`: `git clone -b release/1.0` -> `git clone -b release/1.3` Release-only changes. Do not merge to main.
1 parent 3a97429 commit ed0a970

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/source/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ For a full example of running a model on Android, see the [DeepLabV3AndroidDemo]
160160
#### Installation
161161
ExecuTorch supports both iOS and macOS via C++, as well as hardware backends for CoreML, MPS, and CPU. The iOS runtime library is provided as a collection of .xcframework targets and are made available as a Swift PM package.
162162

163-
To get started with Xcode, go to File > Add Package Dependencies. Paste the URL of the ExecuTorch repo into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version in format “swiftpm-”, (e.g. “swiftpm-0.6.0”). The ExecuTorch dependency can also be added to the package file manually. See [Using ExecuTorch on iOS](using-executorch-ios.md) for more information.
163+
To get started with Xcode, go to File > Add Package Dependencies. Paste the URL of the ExecuTorch repo into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version in format “swiftpm-”, (e.g. “swiftpm-1.3.0”). The ExecuTorch dependency can also be added to the package file manually. See [Using ExecuTorch on iOS](using-executorch-ios.md) for more information.
164164

165165
#### Runtime APIs
166166
Models can be loaded and run from Objective-C using the C++ APIs.
@@ -238,4 +238,4 @@ ExecuTorch provides a high-degree of customizability to support diverse hardware
238238
- [Using ExecuTorch with C++](using-executorch-cpp.md) for embedded and mobile native development.
239239
- [Profiling and Debugging](using-executorch-troubleshooting.md) for developer tooling and debugging.
240240
- [API Reference](export-to-executorch-api-reference.rst) for a full description of available APIs.
241-
- [Examples](https://github.com/pytorch/executorch/tree/main/examples) for demo apps and example code.
241+
- [Examples](https://github.com/pytorch/executorch/tree/main/examples) for demo apps and example code.

docs/source/raspberry_pi_llama_tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ First, clone the ExecuTorch repository with the Raspberry Pi support:
5757

5858
```bash
5959
# Create project directory
60-
mkdir ~/executorch-rpi && cd ~/executorch-rpi && git clone -b release/1.0 https://github.com/pytorch/executorch.git &&
60+
mkdir ~/executorch-rpi && cd ~/executorch-rpi && git clone -b release/1.3 https://github.com/pytorch/executorch.git &&
6161
cd executorch
6262
```
6363

@@ -391,4 +391,4 @@ source setup_env.sh
391391
./llama_main --model_path ./llama3_2.pte --tokenizer_path ./tokenizer.model --seq_len 128 --prompt "What is the meaning of life?"
392392
```
393393
394-
Happy Inferencing!
394+
Happy Inferencing!

docs/source/using-executorch-ios.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The prebuilt ExecuTorch runtime, backend, and kernels are available as a [Swift
2828

2929
#### Xcode
3030

31-
In Xcode, go to `File > Add Package Dependencies`. Paste the URL of the [ExecuTorch repo](https://github.com/pytorch/executorch) into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version in format "swiftpm-<version>", (e.g. "swiftpm-1.0.0"), or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-1.1.0-20251101") for a [nightly build](https://ossci-ios.s3.amazonaws.com/list.html) on a specific date.
31+
In Xcode, go to `File > Add Package Dependencies`. Paste the URL of the [ExecuTorch repo](https://github.com/pytorch/executorch) into the search bar and select it. Make sure to change the branch name to the desired ExecuTorch version in format "swiftpm-<version>", (e.g. "swiftpm-1.3.0"), or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-1.4.0-20260601") for a [nightly build](https://ossci-ios.s3.amazonaws.com/list.html) on a specific date.
3232

3333
![](_static/img/swiftpm_xcode1.png)
3434

@@ -61,7 +61,7 @@ let package = Package(
6161
],
6262
dependencies: [
6363
// Use "swiftpm-<version>.<year_month_day>" branch name for a nightly build.
64-
.package(url: "https://github.com/pytorch/executorch.git", branch: "swiftpm-1.0.0")
64+
.package(url: "https://github.com/pytorch/executorch.git", branch: "swiftpm-1.3.0")
6565
],
6666
targets: [
6767
.target(
@@ -958,4 +958,4 @@ rm -rf <YouProjectName>.xcodeproj/project.xcworkspace/xcshareddata/swiftpm \
958958
~/Library/Caches/com.apple.dt.Xcode \
959959
~/Library/Developer/Xcode/DerivedData
960960
```
961-
**Note:** Ensure Xcode is fully quit before running the terminal command to avoid conflicts with active processes.
961+
**Note:** Ensure Xcode is fully quit before running the terminal command to avoid conflicts with active processes.

0 commit comments

Comments
 (0)