File tree Expand file tree Collapse file tree 10 files changed +12
-12
lines changed
examples/demo-apps/apple_ios/LLaMA/docs/delegates Expand file tree Collapse file tree 10 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ jobs:
387387
388388 echo "::group::Build ExecuTorch iOS frameworks"
389389 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
390- build /build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
390+ scripts /build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
391391 echo "::endgroup::"
392392
393393 # NB: Although exported models can be copied to this directory and bundled together with the
Original file line number Diff line number Diff line change 1111 - .github/workflows/apple.yml
1212 - install_executorch.sh
1313 - backends/apple/**
14- - build /build_apple_frameworks.sh
14+ - scripts /build_apple_frameworks.sh
1515 - build/build_apple_llm_demo.sh
1616 - build/create_frameworks.sh
1717 - .ci/scripts/test_ios_ci.sh
@@ -172,7 +172,7 @@ jobs:
172172
173173 # Build iOS Frameworks
174174 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
175- build /build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
175+ scripts /build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
176176
177177 # Bundle iOS Frameworks
178178 for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
@@ -313,7 +313,7 @@ jobs:
313313
314314 echo "::group::Build ExecuTorch iOS frameworks"
315315 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
316- build /build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
316+ scripts /build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
317317 echo "::endgroup::"
318318
319319 echo "::group::Build ExecuTorch benchmark app"
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ xcode-select --install
5050
5151``` bash
5252cd executorch
53- ./build /build_apple_frameworks.sh --coreml
53+ ./scripts /build_apple_frameworks.sh --coreml
5454```
55555 . Open the project in Xcode, and drag ` executorch.xcframework ` and ` coreml_backend.xcframework ` frameworks generated from Step 2 to Frameworks.
5656
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ python3 -m sdk.inspector.inspector_cli --etdump_path etdump.etdp --etrecord_path
130130*** Step 1*** . Create the ExecuTorch core and MPS delegate frameworks to link on iOS
131131``` bash
132132cd executorch
133- ./build /build_apple_frameworks.sh --mps
133+ ./scripts /build_apple_frameworks.sh --mps
134134```
135135
136136` mps_delegate.xcframework ` will be in ` cmake-out ` folder, along with ` executorch.xcframework ` and ` portable_delegate.xcframework ` :
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ curl https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt \
9090
9191say " Building Frameworks"
9292
93- ./build /build_apple_frameworks.sh --coreml --custom --mps --optimized --portable --quantized --xnnpack
93+ ./scripts /build_apple_frameworks.sh --coreml --custom --mps --optimized --portable --quantized --xnnpack
9494mv cmake-out " $APP_PATH /Frameworks"
9595
9696say " Creating Simulator"
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ python3 -m sdk.inspector.inspector_cli --etdump_path etdump.etdp --etrecord_path
130130*** Step 1*** . Create the ExecuTorch core and MPS delegate frameworks to link on iOS
131131``` bash
132132cd executorch
133- ./build /build_apple_frameworks.sh --mps
133+ ./scripts /build_apple_frameworks.sh --mps
134134```
135135
136136` mps_delegate.xcframework ` will be in ` cmake-out ` folder, along with ` executorch.xcframework ` and ` portable_delegate.xcframework ` :
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ xcode-select --install
2502502 . Build the frameworks:
251251
252252``` bash
253- ./build /build_apple_frameworks.sh
253+ ./scripts /build_apple_frameworks.sh
254254```
255255
256256Run the above command with ` --help ` flag to learn more on how to build additional backends
Original file line number Diff line number Diff line change @@ -129,13 +129,13 @@ sudo /Applications/CMake.app/Contents/bin/cmake-gui --install
1291296 . Use the provided script to build .xcframeworks:
130130
131131``` bash
132- ./build /build_apple_frameworks.sh --help
132+ ./scripts /build_apple_frameworks.sh --help
133133```
134134
135135For example, the following command will build the ExecuTorch Runtime along with all available kernels and backends for the Apple platform in both Release and Debug modes:
136136
137137``` bash
138- ./build /build_apple_frameworks.sh --Release --Debug --coreml --mps --xnnpack --custom --optimized --portable --quantized
138+ ./scripts /build_apple_frameworks.sh --Release --Debug --coreml --mps --xnnpack --custom --optimized --portable --quantized
139139```
140140
141141After the build finishes successfully, the resulting frameworks can be found in the ` cmake-out ` directory.
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ curl -LO "https://github.com/facebook/buck2/releases/download/$BUCK2_RELEASE_DAT
149149zstd -cdq "$BUCK2_ARCHIVE" > "$BUCK2" && chmod +x "$BUCK2"
150150rm "$BUCK2_ARCHIVE"
151151
152- ./build /build_apple_frameworks.sh --buck2="$(realpath $BUCK2)" --coreml --custom --mps --optimized --portable --quantized --xnnpack
152+ ./scripts /build_apple_frameworks.sh --buck2="$(realpath $BUCK2)" --coreml --custom --mps --optimized --portable --quantized --xnnpack
153153```
154154
155155 After the build finishes successfully, the resulting frameworks can be found in the ` cmake-out ` directory. Copy them to your project and link them against your targets.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments