Skip to content

Commit 0b0e2c5

Browse files
[RELEASE ONLY CHANGES] Update version references in docs for 1.2 release (#18635)
Update swiftpm branch examples and git clone branch to reflect the 1.2 release across getting-started, iOS, and Raspberry Pi docs.
1 parent af4d5f6 commit 0b0e2c5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/source/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ For a full example of running a model on Android, see the [DeepLabV3AndroidDemo]
158158
#### Installation
159159
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.
160160

161-
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.
161+
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.2.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.
162162

163163
#### Runtime APIs
164164
Models can be loaded and run from Objective-C using the C++ APIs.

docs/source/raspberry_pi_llama_tutorial.md

Lines changed: 1 addition & 1 deletion
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.2 https://github.com/pytorch/executorch.git &&
6161
cd executorch
6262
```
6363

docs/source/using-executorch-ios.md

Lines changed: 2 additions & 2 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.2.0"), or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-1.3.0-20260401") 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.2.0")
6565
],
6666
targets: [
6767
.target(

0 commit comments

Comments
 (0)