20
20
description : Models to be benchmarked
21
21
required : false
22
22
type : string
23
- default : stories110M
23
+ default : llama
24
24
devices :
25
25
description : Target devices to run benchmark
26
26
required : false
36
36
description : Models to be benchmarked
37
37
required : false
38
38
type : string
39
- default : stories110M
39
+ default : llama
40
40
devices :
41
41
description : Target devices to run benchmark
42
42
required : false
@@ -181,7 +181,7 @@ jobs:
181
181
BUILD_TOOL=cmake
182
182
# Setup MacOS dependencies as there is no Docker support on MacOS atm
183
183
GITHUB_RUNNER=1 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
184
- .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
184
+ .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
185
185
186
186
if [[ ${{ matrix.config }} == *"coreml"* ]]; then
187
187
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
@@ -367,7 +367,7 @@ jobs:
367
367
BUILD_TOOL=cmake
368
368
# Setup MacOS dependencies as there is no Docker support on MacOS atm
369
369
GITHUB_RUNNER=1 PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
370
- .ci/scripts/setup-macos.sh "${BUILD_TOOL}"
370
+ .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
371
371
export ARTIFACTS_DIR_NAME=artifacts-to-be-uploaded
372
372
373
373
# Setup Apple certificate for iOS development
@@ -386,25 +386,8 @@ jobs:
386
386
echo "::endgroup::"
387
387
388
388
echo "::group::Build ExecuTorch iOS frameworks"
389
- FRAMEWORKS=(
390
- "executorch"
391
- "backend_coreml"
392
- "backend_mps"
393
- "backend_xnnpack"
394
- "kernels_custom"
395
- "kernels_optimized"
396
- "kernels_portable"
397
- "kernels_quantized"
398
- )
399
-
400
- # Build Release iOS Frameworks
401
389
PYTHON_EXECUTABLE=python ${CONDA_RUN} --no-capture-output \
402
- build/build_apple_frameworks.sh --coreml --custom --mps --optimized --portable --quantized --xnnpack
403
-
404
- mkdir -p extension/benchmark/apple/Benchmark/Frameworks
405
- for FRAMEWORK in "${FRAMEWORKS[@]}"; do (
406
- cp -r "cmake-out/${FRAMEWORK}.xcframework" extension/benchmark/apple/Benchmark/Frameworks/
407
- ) done
390
+ build/build_apple_frameworks.sh --Release --Debug --coreml --custom --mps --optimized --portable --quantized --xnnpack
408
391
echo "::endgroup::"
409
392
410
393
# NB: Although exported models can be copied to this directory and bundled together with the
0 commit comments