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
@@ -42,7 +40,7 @@ In this demo app, we support text-only inference with Llama 3.1, Llama 3, and Ll
42
40
Install the required packages to export the model
43
41
44
42
```
45
-
sh examples/models/llama/install_requirements.sh
43
+
./examples/models/llama/install_requirements.sh
46
44
```
47
45
48
46
Export the model
@@ -78,16 +76,6 @@ The prebuilt ExecuTorch runtime, backend, and kernels are available as a Swift P
78
76
### Xcode
79
77
Open the project in Xcode.In 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, e.g., “swiftpm-0.6.0”, or a branch name in format "swiftpm-<version>.<year_month_date>" (e.g. "swiftpm-0.6.0-20250501") for a nightly build on a specific date.
80
78
81
-
Note: If you're running into any issues related to package dependencies, quit Xcode entirely, delete the whole executorch repo, clean the caches by running the command below in terminal and clone the repo again.
82
-
83
-
```
84
-
rm -rf \
85
-
~/Library/org.swift.swiftpm \
86
-
~/Library/Caches/org.swift.swiftpm \
87
-
~/Library/Caches/com.apple.dt.Xcode \
88
-
~/Library/Developer/Xcode/DerivedData
89
-
```
90
-
91
79
Link your binary with the ExecuTorch runtime and any backends or kernels used by the exported ML model. It is recommended to link the core runtime to the components that use ExecuTorch directly, and link kernels and backends against the main app target.
92
80
93
81
Note: To access logs, link against the Debug build of the ExecuTorch runtime, i.e., the executorch_debug framework. For optimal performance, always link against the Release version of the deliverables (those without the _debug suffix), which have all logging overhead removed.
0 commit comments