Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions extension/apple/Benchmark/Frameworks/download_frameworks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

frameworks=(
"backend_coreml"
"backend_mps"
"backend_xnnpack"
"executorch"
"kernels_custom"
"kernels_optimized"
"kernels_portable"
"kernels_quantized"
)

for framework in "${frameworks[@]}"; do
rm -f "${f}-latest.zip"
rm -rf "${f}.xcframework"
curl -sSLO "https://ossci-ios.s3.amazonaws.com/executorch/${framework}-latest.zip" && \
unzip -q "${framework}-latest.zip" && \
rm "${framework}-latest.zip"
done
Loading