Skip to content

Commit e0b6adb

Browse files
committed
ios: drop deprecated MPS export step from both iOS scripts
The iOS demo's `testV3WithMPSBackend` was removed in meta-pytorch/executorch-examples (companion change), since the MPS backend is deprecated for removal in ExecuTorch 1.4 (#18425) and the test had been intermittently failing on the macos-14-xlarge runner pool on what looks like fp16 numerical drift rather than an executorch regression — the MPS runtime in pytorch/executorch hasn't materially changed since the deprecation. Remove the matching `mps_example.py` export step from the two iOS demo build scripts (the CI variant `.ci/scripts/test_ios_ci.sh` and the developer-facing `scripts/test_ios.sh`) so neither produces an `.pte` that nothing consumes. Out of scope here: the demo app's MPS enum case and `mv3_mps_float16.pte` artifact in the executorch-examples build workflow — those want their own follow-up cleanup once MPS is fully removed in 1.4. Authored with Claude Code.
1 parent 08b2987 commit e0b6adb

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

.ci/scripts/test_ios_ci.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ say "Exporting Models"
4747

4848
python3 -m examples.portable.scripts.export --model_name="$MODEL_NAME" --segment_alignment=0x4000
4949
python3 -m examples.apple.coreml.scripts.export --model_name="$MODEL_NAME"
50-
python3 -m examples.apple.mps.scripts.mps_example --model_name="$MODEL_NAME"
5150
python3 -m examples.xnnpack.aot_compiler --model_name="$MODEL_NAME" --delegate
5251

5352
mkdir -p "$APP_PATH/Resources/Models/MobileNet/"

scripts/test_ios.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ say "Exporting Models"
6464

6565
python3 -m examples.portable.scripts.export --model_name="$MODEL_NAME"
6666
python3 -m examples.apple.coreml.scripts.export --model_name="$MODEL_NAME"
67-
python3 -m examples.apple.mps.scripts.mps_example --model_name="$MODEL_NAME"
6867
python3 -m examples.xnnpack.aot_compiler --model_name="$MODEL_NAME" --delegate
6968

7069
mkdir -p "$APP_PATH/Resources/Models/MobileNet/"

0 commit comments

Comments
 (0)