Skip to content

Commit 35ed99f

Browse files
authored
Merge branch 'main' into dependabot/pip/examples/arm/image_classification_example_vgf/transformers-5.5.0
2 parents 568b5ca + 552e679 commit 35ed99f

5,377 files changed

Lines changed: 606356 additions & 92191 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎.Package.swift/executorch_dump_debug/dummy.swift‎

Whitespace-only changes.

‎.ci/docker/build.sh‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ OS=ubuntu
1919
OS_VERSION=22.04
2020
CLANG_VERSION=""
2121
GCC_VERSION=""
22-
PYTHON_VERSION=3.10
22+
PYTHON_VERSION=3.11
2323
MINICONDA_VERSION=23.10.0-1
2424
BUCK2_VERSION=$(cat ci_commit_pins/buck2.txt)
2525

@@ -58,6 +58,13 @@ case "${IMAGE_NAME}" in
5858
ARM_SDK=yes
5959
CLANG_VERSION=12
6060
;;
61+
executorch-ubuntu-24.04-arm-sdk)
62+
OS_VERSION=24.04
63+
ARM_SDK=yes
64+
CLANG_VERSION=18
65+
PYTHON_VERSION=3.12
66+
MINICONDA_VERSION=24.1.2-0
67+
;;
6168
executorch-ubuntu-22.04-zephyr-sdk)
6269
ZEPHYR_SDK=yes
6370
GCC_VERSION=11
@@ -109,7 +116,16 @@ fi
109116
# Copy requirements-lintrunner.txt from root to here
110117
cp ../../requirements-lintrunner.txt ./
111118

112-
docker build \
119+
# OSDC runners have no docker daemon, so the build runs on the in-cluster
120+
# BuildKit pool via a remote buildx builder. That builder has nowhere to load
121+
# an image into, so the result has to go straight to the registry.
122+
if [[ -n "${REMOTE_BUILDKIT:-}" ]]; then
123+
BUILD_CMD=(docker buildx build --push)
124+
else
125+
BUILD_CMD=(docker build)
126+
fi
127+
128+
"${BUILD_CMD[@]}" \
113129
--no-cache \
114130
--progress=plain \
115131
--build-arg "OS_VERSION=${OS_VERSION}" \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
release/2.12
1+
e91899ca45f99811049ac7d539820f92a9acddde

‎.ci/docker/common/install_android.sh‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ install_sdk() {
7979
yes | /opt/cmdline-tools/bin/sdkmanager --sdk_root="${SDK_INSTALLATION_DIR}" --install "build-tools;35.0.0"
8080
# And some more tools for future emulator tests
8181
yes | /opt/cmdline-tools/bin/sdkmanager --sdk_root="${SDK_INSTALLATION_DIR}" --install "platform-tools"
82-
# The 'tools' package (emulator) is not available on aarch64
83-
if [ "$(uname -m)" != "aarch64" ]; then
84-
yes | /opt/cmdline-tools/bin/sdkmanager --sdk_root="${SDK_INSTALLATION_DIR}" --install "tools"
85-
fi
82+
# Google withdrew the 'tools' package, so installing it fails under set -e.
83+
# cmdline-tools and platform-tools above replace it, and this image neither
84+
# installs nor runs an emulator.
8685
}
8786

8887
install_prerequiresites

‎.ci/docker/common/install_docs_reqs.sh‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ if [ -n "$BUILD_DOCS" ]; then
2020

2121
apt-get update
2222
apt-get install -y --no-install-recommends yarn
23-
yarn global add katex --prefix /usr/local
23+
# katex 0.18.5 requires commander@15 / node >= 22.12; pin to the last
24+
# release compatible with the node 16 installed above
25+
yarn global add katex@0.18.4 --prefix /usr/local
2426

2527
sudo apt-get -y install doxygen
2628

‎.ci/docker/common/install_openssl.sh‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
# This source code is licensed under the BSD-style license found in the
66
# LICENSE file in the root directory of this source tree.
77

8-
# NB: This script is needed for sccache and is adopted from PyTorch core repo at
9-
# https://github.com/pytorch/pytorch/blob/main/.ci/docker/common/install_openssl.sh
8+
# NB: This script is needed for sccache and is adopted from PyTorch core repo.
9+
# Core deleted its copy in pytorch/pytorch#179513, so this points at the last
10+
# revision that still had it instead of at a branch.
11+
# https://github.com/pytorch/pytorch/blob/9274b93eac9f026e9f51e282449b0300b8e05482/.ci/docker/common/install_openssl.sh
1012
set -ex
1113

1214
OPENSSL=openssl-1.1.1k

0 commit comments

Comments
 (0)