File tree Expand file tree Collapse file tree 10 files changed +1
-56
lines changed
examples/demo-apps/apple_ios/LLaMA/docs/delegates Expand file tree Collapse file tree 10 files changed +1
-56
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,6 @@ say "Installing CoreML Backend Requirements"
42
42
43
43
./backends/apple/coreml/scripts/install_requirements.sh
44
44
45
- say " Installing MPS Backend Requirements"
46
-
47
- ./backends/apple/mps/install_requirements.sh
48
-
49
45
say " Exporting Models"
50
46
51
47
python3 -m examples.portable.scripts.export --model_name=" $MODEL_NAME " --segment_alignment=0x4000
Original file line number Diff line number Diff line change @@ -188,11 +188,6 @@ jobs:
188
188
backends/apple/coreml/scripts/install_requirements.sh
189
189
fi
190
190
191
- if [[ ${{ matrix.config }} == *"mps"* ]]; then
192
- PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
193
- backends/apple/mps/install_requirements.sh
194
- fi
195
-
196
191
# Install requirements for export_llama
197
192
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash examples/models/llama/install_requirements.sh
198
193
@@ -379,10 +374,6 @@ jobs:
379
374
# Install CoreML Backend Requirements
380
375
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
381
376
backends/apple/coreml/scripts/install_requirements.sh
382
-
383
- # Install MPS Backend Requirements
384
- PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
385
- backends/apple/mps/install_requirements.sh
386
377
echo "::endgroup::"
387
378
388
379
echo "::group::Build ExecuTorch iOS frameworks"
Original file line number Diff line number Diff line change @@ -168,10 +168,6 @@ jobs:
168
168
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
169
169
backends/apple/coreml/scripts/install_requirements.sh
170
170
171
- # Install MPS Backend Requirements
172
- PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
173
- backends/apple/mps/install_requirements.sh
174
-
175
171
# Build iOS Frameworks
176
172
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output scripts/build_apple_frameworks.sh
177
173
@@ -306,10 +302,6 @@ jobs:
306
302
# Install CoreML Backend Requirements
307
303
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
308
304
backends/apple/coreml/scripts/install_requirements.sh
309
-
310
- # Install MPS Backend Requirements
311
- PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
312
- backends/apple/mps/install_requirements.sh
313
305
echo "::endgroup::"
314
306
315
307
echo "::group::Build ExecuTorch iOS frameworks"
Original file line number Diff line number Diff line change @@ -414,11 +414,7 @@ jobs:
414
414
# Setup executorch
415
415
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool cmake
416
416
417
- if [[ "${MODE}" == "mps" ]]; then
418
- # Install mps delegate
419
- PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/mps/install_requirements.sh
420
- echo "Finishing installing mps."
421
- elif [[ "${MODE}" == "coreml" ]]; then
417
+ if [[ "${MODE}" == "coreml" ]]; then
422
418
# Install coreml delegate
423
419
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/coreml/scripts/install_requirements.sh
424
420
echo "Finishing installing coreml."
@@ -504,8 +500,6 @@ jobs:
504
500
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
505
501
PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/coreml/scripts/install_requirements.sh
506
502
echo "Finishing installing coreml."
507
- PYTHON_EXECUTABLE=python ${CONDA_RUN} bash backends/apple/mps/install_requirements.sh
508
- echo "Finishing installing mps."
509
503
510
504
# Build and test coreml model
511
505
MODELS=(mv3 ic4 resnet50 edsr mobilebert w2l)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -42,12 +42,6 @@ In order to be able to successfully build and run a model using the MPS backend
42
42
43
43
*** Step 1.*** Please finish tutorial [ Setting up ExecuTorch] ( https://pytorch.org/executorch/main/getting-started-setup ) .
44
44
45
- *** Step 2.*** Install dependencies needed to lower MPS delegate:
46
-
47
- ``` bash
48
- ./backends/apple/mps/install_requirements.sh
49
- ```
50
-
51
45
## Build
52
46
53
47
### AOT (Ahead-of-time) Components
Original file line number Diff line number Diff line change @@ -42,12 +42,6 @@ In order to be able to successfully build and run a model using the MPS backend
42
42
43
43
*** Step 1.*** Please finish tutorial [ Getting Started] ( getting-started.md ) .
44
44
45
- *** Step 2.*** Install dependencies needed to lower MPS delegate:
46
-
47
- ``` bash
48
- ./backends/apple/mps/install_requirements.sh
49
- ```
50
-
51
45
## Build
52
46
53
47
### AOT (Ahead-of-time) Components
Original file line number Diff line number Diff line change @@ -112,9 +112,6 @@ python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
112
112
113
113
# CoreML-only requirements:
114
114
./backends/apple/coreml/scripts/install_requirements.sh
115
-
116
- # MPS-only requirements:
117
- ./backends/apple/mps/install_requirements.sh
118
115
```
119
116
120
117
5 . Install [ CMake] ( https://cmake.org ) :
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ Install dependencies
36
36
37
37
```
38
38
./install_executorch.sh
39
- ./backends/apple/mps/install_requirements.sh
40
39
```
41
40
42
41
## Prepare Models
Original file line number Diff line number Diff line change @@ -60,10 +60,6 @@ say "Installing CoreML Backend Requirements"
60
60
61
61
./backends/apple/coreml/scripts/install_requirements.sh
62
62
63
- say " Installing MPS Backend Requirements"
64
-
65
- ./backends/apple/mps/install_requirements.sh
66
-
67
63
say " Exporting Models"
68
64
69
65
python3 -m examples.portable.scripts.export --model_name=" $MODEL_NAME "
You can’t perform that action at this time.
0 commit comments